XMC4500 Socket server

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

cross mob
Not applicable
Hi

I'm trying to develop a socket server using xmc4500. Any example to start from?

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

You can give this telnet using socket connection a try.
0 Likes
Not applicable
ok thank you. Any idea to switch eth configuration from static to dhcp?
0 Likes
Andi_H
Employee
Employee
First solution authored First like received
i have the same problem like ally, nobody knows that? Any examples?
0 Likes
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

In the above attached project, open the ETH_LWIP APP, in the IP Settings tab, click the "Use DHCP" check box. After this generate code.

Regards,
Jesus
0 Likes
Andi_H
Employee
Employee
First solution authored First like received
Hey Jesus,

thanks for the answer, but this part is clear;)

Do you have any code examples for TCPIP Socket Ersver with DHCP or something like this?

Thanks

Andi
0 Likes
User9897
Level 2
Level 2
I tried the example above on the XMC4500 Relax board, but i only can get it to run when I'm starting it from dave in a debug session.
Starting by just powering the controller using either usb port or after pressing the reset button does not work, i.e. controller is running (verified by toggeling a led) but I cannot connect over telnet.
Any ideas?
0 Likes
User9897
Level 2
Level 2
ok, as i read somewhere else, upgrading the eth_lwip app to the most recent version fixed the problem.
(i was sure i had the most recent verions, but as it turned out all updates i did so far failed without notice presumably because of missing write access to the library store .... i wonder what other problems I encounterd are solved now aswell)
0 Likes