Server failure after cable disconnection

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Server failure after cable disconnection

886 Views
amleng
Contributor IV

Hello community,

I am working on the Kinetis K60 with the RTCS and TCP/IP stack to create a TCP server (Telnet and FTP)

The servers runs well and he client connects successfully and sends the data just fine.

As a fault recovery test I try to disconnect the Ethernet cable from the K60 while the server talking to the client and I noticed that after a timeout (a few seconds) the  server stops working even after I reconnect the cable.

I need to recycle the power to get the server working. So my question is how can I recover the server without power cycling? Is there any way to reset it by code?

Cheers,

Sina

Labels (1)
0 Kudos
Reply
2 Replies

705 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Sina:

I tried to reproduce your issue in my side. I use K60F120M board,  run the Freescale released web_hvac demo.  I disconnected the Ethernet cable while the server talking to the client. My result is the server can work after I reconnect the cable.

Did you use MQX 4.1? if not, I suggest you upgrade to MQX 4.1 and test again.


Have a great day,
Daniel

0 Kudos
Reply

705 Views
amleng
Contributor IV

Hello Daniel,

I use MQX 4.0.2. Unfortunaltely I cannot upgrade to 4.1 right now because I use a wifi patch that only works with this version. Is there any bug in this version?

how can I fix it?

Cheer!

0 Kudos
Reply