using LWIP with CMSIS RTOS and custom threads

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

cross mob
User19207
Level 1
Level 1
Dear all,
I have a XMC4800 Relax Development Kit and try to setup a simple Ethernet communication.
Following the documentation of "ETH_LWIP - Usage" I'm able to configure and setup the Ethernet communication with a RTOS.
After calling osKernelStart() I'm able to ping the device.
Now, I would add two additional thread to my application. One should handle the TCP communication and the other control additional IO's.

Unfortunately, as soon as I define an thread and use osThreadCreate(osThread(thread1), NULL) the device doesn't respond to a ping.
My thread is working.
Does any one know, how to add additional threads to the CMSIS RTOS when using LWIP?
Or does some were exist an example using lwIP wit cmsis rtos and custom threads?

Thanks for any hint!
0 Likes
2 Replies
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

Be sure to have configured correctly the "Number of concurrent running user threads" and "Number of threads with user-provided stack size"
4138.attach

Regards,
Jesus
0 Likes
lock attach
Attachments are accessible only for community members.
User22175
Level 1
Level 1
Hi,
I think this is what you are looking for but for the XMC4500 Relax Kit. The solution will be the same.

Best regards
Christoph
0 Likes