XMC 4500 Relax kit web server demo freeze

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi.

I am new by Dave and XMC faminly.
I have XMC4500 relax kit - V1.
I have download the Dave3, installed upgrade all etc, and finaly download example project for xmc4500 relax kit, webserver 1.1.0.

I 've imported it to new workspace and build it all, no setup changed, just built it.
Then I have run it.
Led 2 is blinking, buttons and LEDs works.
I try ping to IP of device (obtained by DHCP) 10.0.3.232 and it works.

When I try enter in my web browser "http://10.0.3.232/index.htm" then the SW freezes, no more led blinking, no ping answer.

When this happend, I have pressed "suspend" and the result can you see here:

353.attach

Only to reset the target system helps from this state.

Do you have any advice what I have done wrong ?

Thank you 🙂
0 Likes
4 Replies
lock attach
Attachments are accessible only for community members.
Travis
Employee
Employee
First solution authored Welcome! 500 replies posted
Hi mouse,

Can you try to import this project example instead?

The IP address is programmed as 192.168.0.10. Then open your web browser and entered the mentioned IP address.

Best Regards
Travis
0 Likes
Not applicable
Hi Travis.

Thank you for ansver.

I have imported your project. Then build, debug.
I have changed my IP on PC to 192.168.0.5.

Frst round.
Ping to 192.168.0.10 works.
No SD card in kit board.
Web page 192.168.0.10 or 192.168.0.10\index.htm does not work, shoud show 404 page from Flash ROM, or not ?


Then second round.
SD card inside, with some index.htm, 404.htm, index2.html and infineon image from yesterday playing with example.
Restart SW.
Ping to 192.168.0.10 works.
I've put to browser http://192.168.0.10/, page is displayed in browser, but toggle of LED do not work (maybe not supported in this demo).
http://192.168.0.10/index.htm works.
http://192.168.0.10/index.html is on SD card, but 404.htm is displayed.
Somewhere on forum I've read about 8+3, I think that is the reason why html does not wok.
Ping works.

It seems to run much better. I had some freezes with this sample app, but am not able to reproduce it and describe now.
Maybe it was because of SD card manipulation or requesting page from browser to soon after reset.

Thank you 🙂
0 Likes
lock attach
Attachments are accessible only for community members.
Travis
Employee
Employee
First solution authored Welcome! 500 replies posted
Hi the demo which I had provided is able to read the SD card. Please try to copy these webpage into your SD card for testing.
0 Likes
Not applicable
Hello Travis.
Can you tell me what you've changed within your project "XMC4500_RK_HTTPserver.zip‎" in contrast to the standard WEBSERVER001 [1.0.10]-App? Your one does work, but I would like to build a webserver based on the standard app. And your project is based on a hexagon chipset (F144K1024) but I use a Relax Kit (F100K1024). So I would have to reassign all pins manually with every app I add - thats not really how DAVE should be...
Why is is not possible to include a working Webserver001-App to an existing Relax-Kit project (F100K1024)? The workaround with a wrong processor (F144K1024) and a manually reassign of the pins couldn't be the right way!
I've included the lwip-files in the main.c and changed the ETH004 (IP etc.) and ETH002 (PHY Vendor to Micrel chip) UI as you did, but I cannot ping the relax kit.
Thanks in advance, waiting for response.

See e-ticket: http://www.infineonforums.com/support/dave3/index.php?option=com_maqmahelpdesk&Itemid=0&id_workgroup...

Update: As it is possible to migrate to an other device since DAVE 3.1.8 it is also possible to migrate the webserver-example from e.g. F144K1024 to F100K1024. Just did it, works.
0 Likes