Attachments are accessible only for community members.
Mar 06, 2018
12:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 06, 2018
12:56 AM
Hello,
I am using "XMC4700-F144x2048". I am looking for some stable web server version for our product.
Can someone advice why latest DAVE application "HTTP server 4.0.14" not working (I need Release version working).
When I load hex file into Controller (by Infineon Memtool) - web page not displayed, also ping command not working.
See my Project in attached.
Please help.
Thanks.
Best Regards,
Koumak
Update1: It seems, program stuck somewhere in the init. Any advice - what is problem in the init?
I am using "XMC4700-F144x2048". I am looking for some stable web server version for our product.
Can someone advice why latest DAVE application "HTTP server 4.0.14" not working (I need Release version working).
When I load hex file into Controller (by Infineon Memtool) - web page not displayed, also ping command not working.
See my Project in attached.
Please help.
Thanks.
Best Regards,
Koumak
Update1: It seems, program stuck somewhere in the init. Any advice - what is problem in the init?
- Tags:
- IFX
2 Replies
Mar 07, 2018
05:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 07, 2018
05:10 AM
Hi,
I just checked your project adapting the pins to a XMC4800 relax kit. I can ping the board and the web server is serving the demo page.
Regards,
Jesus
I just checked your project adapting the pins to a XMC4800 relax kit. I can ping the board and the web server is serving the demo page.
Regards,
Jesus
Mar 07, 2018
05:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 07, 2018
05:20 AM
Hi,
I found, program stuck in the init - inside ethernetif.c file - inside "XMC_ETH_PHY_Init()" function ->inside "XMC_ETH_PHY_IsDeviceIdValid()" where status = XMC_ETH_PHY_STATUS_ERROR_DEVICE_ID;
but it occures only in Release version of program - after hard reset (power reset => any communication cable disconected - only ethernet connected and supply).
My solution:
add delay before XMC_ETH_PHY_Init():
Clock Divider probably need time for stabilizing...?!
Regards,
Koumak
I found, program stuck in the init - inside ethernetif.c file - inside "XMC_ETH_PHY_Init()" function ->inside "XMC_ETH_PHY_IsDeviceIdValid()" where status = XMC_ETH_PHY_STATUS_ERROR_DEVICE_ID;
but it occures only in Release version of program - after hard reset (power reset => any communication cable disconected - only ethernet connected and supply).
My solution:
add delay before XMC_ETH_PHY_Init():
...
volatile uint32_t counter = 2000000UL;
while(counter > 0)
{
counter--;
}
int32_t status;
if((status = XMC_ETH_PHY_Init(ð_mac, ETH_LWIP_0_PHY_ADDR, ð_phy_config)) != XMC_ETH_PHY_STATUS_OK)
{
ETH_LWIP_Error((ETH_LWIP_ERROR_t)status);
}
...
Clock Divider probably need time for stabilizing...?!
Regards,
Koumak