Anonymous
Not applicable
Jan 12, 2015
05:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 12, 2015
05:40 AM
Hi
I just modified the tcp-server app and implemented some semaphores for some resource sharing.
1. Create a thread and listens for TCP packet & process the packet accordingly
2. Transmit the processed packet to SPI interface
But sometimes after receiing a chunk of 2000-2500 packets of 800bytes size the platform is getting restarted, as shown below
Starting WICED v3.1.0
Platform SN8000x initialised
Starting WICED v3.1.0
Platform SN8000x initialised
Starting WICED v3.1.0
Platform SN8000x initialised
So I want to know where excactly the issue is happening, How can I debug such an Issue ?
Note : I'm using FreeRTOS + LwIP
1 Reply
Feb 12, 2015
03:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 12, 2015
03:51 PM
Hi,
Try to increase your thread stack size. Basically the watchdog is resetting the target as it fails.
Seyhan