Feb 09, 2016
08:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 09, 2016
08:13 AM
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?
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?
6 Replies
Not applicable
Feb 14, 2016
10:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 14, 2016
10:37 PM
HI,
That's strange. 😞
Are you able to send us your simplified project to take a look at this.
Thanks.
Regards,
Daryl
That's strange. 😞
Are you able to send us your simplified project to take a look at this.
Thanks.
Regards,
Daryl
Not applicable
Feb 15, 2016
05:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 15, 2016
05:14 AM
Hello,
you can take the example of the XMC-Lib:
XMC_Peripheral_Library_v2.1.2\XMCLib\examples\XMC4500_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. 🙂
you can take the example of the XMC-Lib:
XMC_Peripheral_Library_v2.1.2\XMCLib\examples\XMC4500_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. 🙂
Not applicable
Feb 15, 2016
06:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 15, 2016
06:37 AM
My Application, that works well, always gets stuck in this assert
Not applicable
Feb 15, 2016
11:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 15, 2016
11:34 PM
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.
http://www.infineonforums.com/support/dave3/index.php?option=com_maqmahelpdesk&Itemid=0&id_workgroup...
Regards,
Daryl
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.
http://www.infineonforums.com/support/dave3/index.php?option=com_maqmahelpdesk&Itemid=0&id_workgroup...
Regards,
Daryl
Mar 21, 2016
10:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 21, 2016
10:02 AM
Daryl, thank you.
Not applicable
Mar 21, 2016
08:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 21, 2016
08:05 PM
HI Werner,
You're welcome! 🙂
Regards,
Daryl
You're welcome! 🙂
Regards,
Daryl