Server failure after cable disconnection

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Server failure after cable disconnection

731 次查看
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

标签 (1)
标记 (4)
0 项奖励
2 回复数

550 次查看
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 项奖励

550 次查看
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 项奖励