platform restarting - How to debug

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

cross mob
Anonymous
Not applicable

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

0 Likes
1 Reply
SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hi,

Try to increase your thread stack size. Basically the watchdog is resetting the target as it fails.

Seyhan

0 Likes