Server failure after cable disconnection

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Server failure after cable disconnection

887件の閲覧回数
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 返答(返信)

706件の閲覧回数
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 件の賞賛
返信

706件の閲覧回数
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 件の賞賛
返信