Mar 20, 2020
05:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 20, 2020
05:37 AM
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!
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!
2 Replies
Mar 24, 2020
12:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 24, 2020
12:12 AM
Hi,
Be sure to have configured correctly the "Number of concurrent running user threads" and "Number of threads with user-provided stack size"
Regards,
Jesus
Be sure to have configured correctly the "Number of concurrent running user threads" and "Number of threads with user-provided stack size"
Regards,
Jesus
Attachments are accessible only for community members.
Sep 27, 2021
11:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 27, 2021
11:49 PM