+ Reply to Thread
Results 1 to 7 of 7

Thread: XMC4500 and the peripheral ETH0

  1. #1

    XMC4500 and the peripheral ETH0

    I use DAVE™ (Version 4) for XMC4500 and the peripheral ETH0.

    In the XMC Lib in the file xmc_eth_mac.c there is an assert (l. 328 and l. 408), which seem strange to me:
    XMC_ASSERT("XMC_ETH_MAC_SendFrame:", eth_mac->regs != ETH0);
    Why should the eth_mac->regs not be ETH0?
    My Application, that works well, always gets stuck in this assert.
    Does it mean something?

  2. #2
    Daryl Neo
    Guest
    HI,

    That's strange.

    Are you able to send us your simplified project to take a look at this.

    Thanks.

    Regards,
    Daryl

  3. #3
    Madde
    Guest

    Example

    Hello,

    you can take the example of the XMC-Lib:
    XMC_Peripheral_Library_v2.1.2\XMCLib\examples\XMC4 500_series\ETH\HTTPSERVER_NETCONN
    - Add UART.c and UART.h (Attachment UART.txt)
    - Add in main.c: #include "UART.h" and in the main function initUART();
    - Define XMC_ASSERT_ENABLE and XMC_USER_ASSERT_FUNCTION in Properties
    Than you can see it.
    ?????

  4. #4
    vytieubao
    Guest
    My Application, that works well, always gets stuck in this assert

  5. #5
    Daryl Neo
    Guest
    HI,


    This is an error in the assert condition. The actual condition should have been XMC_ASSERT("XMC_ETH_MAC_SendFrame:", eth_mac->regs == ETH0);
    The same issue is in the read API.

    I have filed a TP (#83388) for this issue, to be fixed in the next release in May.
    https://www.infineonforums.com/suppor...et_view&id=318

    Regards,
    Daryl

  6. #6
    Daryl, thank you.

  7. #7
    Daryl Neo
    Guest
    HI Werner,

    You're welcome!

    Regards,
    Daryl

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.