TCP Server hangs after sometime

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

cross mob
Anonymous
Not applicable

Hi,

I am using Murata's SN8200 module and SDK-2.4.0. The board is configured as WICED_STA_DEVICE.

I am testing a modified version of tcp_async_server snippet. The server receives and sends packets to a client once in every 3 seconds. The data is not much (only 10 bytes per poll). The application was working fine for 2.5 continuous Days. Then after that the application gets hanged. I am not even able to ping it anymore. It completely stops working till a hard reset.

I faced this problem many times before. The application gets hanged after arbitrary time. 

My problem is more or less similar to the following two posts . Only difference is my packet frequency is little less.

TCP server crashes if large amount of packets are being receaved

Hangup if quickly sending multiple requests to ping_webserver

I am using ThreadX + NetX_Duo build.  Any help would be appreciated.

Thanks in Advance.

0 Likes
3 Replies
GregG_16
Employee
Employee
50 sign-ins 25 sign-ins 25 comments on KBA

Can you confirm if this happens with SDK 3.1.0?

0 Likes
Anonymous
Not applicable

hi,

Thanks for reply. I am using Murata's SN8200. Murata has given patches which are only compatible with SDK-2.4.0.

So I am not sure the patches are compatible with SDK-3.1.0.

Are there some major changes in SDK-3.1.0 ? SN8200 has ARM-Cortex M3 and uses STM32F10x.

Thanks.

0 Likes