<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Why Ethernet cable unplugging cause connection error to TCP client? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Why-Ethernet-cable-unplugging-cause-connection-error-to-TCP/m-p/1060292#M155886</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using imxrt1060 evk board. I run simple modbus TCP server program using lwip socket on the board. I'm trying to test if the connection (or socket) is kept after I unplug and re-connect an Ethernet cable. If the connection is kept then modbus TCP client on PC can still communicate with the server. I expected the connection would be kept, but it wasn't. The unplugging Ethernet cable caused an error to the modbus client somehow so the connection seems lost. The modbus kept sending a packet but the server didn't receive any packet from the client. However, if I opened other modbus client program and connected it to the server then it could connect and send/receive a packet. It seems it caused by raw level software such as phy device driver or&amp;nbsp; hardware or something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on this matter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 May 2020 14:10:52 GMT</pubDate>
    <dc:creator>creatorwonny</dc:creator>
    <dc:date>2020-05-08T14:10:52Z</dc:date>
    <item>
      <title>Why Ethernet cable unplugging cause connection error to TCP client?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-Ethernet-cable-unplugging-cause-connection-error-to-TCP/m-p/1060292#M155886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using imxrt1060 evk board. I run simple modbus TCP server program using lwip socket on the board. I'm trying to test if the connection (or socket) is kept after I unplug and re-connect an Ethernet cable. If the connection is kept then modbus TCP client on PC can still communicate with the server. I expected the connection would be kept, but it wasn't. The unplugging Ethernet cable caused an error to the modbus client somehow so the connection seems lost. The modbus kept sending a packet but the server didn't receive any packet from the client. However, if I opened other modbus client program and connected it to the server then it could connect and send/receive a packet. It seems it caused by raw level software such as phy device driver or&amp;nbsp; hardware or something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on this matter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2020 14:10:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-Ethernet-cable-unplugging-cause-connection-error-to-TCP/m-p/1060292#M155886</guid>
      <dc:creator>creatorwonny</dc:creator>
      <dc:date>2020-05-08T14:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why Ethernet cable unplugging cause connection error to TCP client?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-Ethernet-cable-unplugging-cause-connection-error-to-TCP/m-p/1060293#M155887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="358263" data-username="creatorwonny@gmail.com" href="https://community.nxp.com/people/creatorwonny@gmail.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: underline; font-size: 11.9994px;"&gt;JIWON KIM&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;Which detail lwip sample code you are using, from SDK side for MIMXRT1060?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/106670iD1253E4228E0C877/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;Which project you are using?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;Could you tell me the detail steps to reproduce your issues?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;Waiting for your reply.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Kerry&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 06:51:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-Ethernet-cable-unplugging-cause-connection-error-to-TCP/m-p/1060293#M155887</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-05-11T06:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why Ethernet cable unplugging cause connection error to TCP client?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-Ethernet-cable-unplugging-cause-connection-error-to-TCP/m-p/1060294#M155888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry Zhou,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply. I used lwip_tcpecho example without changes except IP address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scenario are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Run tcpecho example&lt;/LI&gt;&lt;LI&gt;Connect to the tcp server using Putty (ip: 192.168.3.102, port: 7)&lt;/LI&gt;&lt;LI&gt;Press any keys on Putty to check it works.&lt;/LI&gt;&lt;LI&gt;Unplug an Ethernet cable.&lt;/LI&gt;&lt;LI&gt;A following network error occurred and the connection was closed once I unplug the cable.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/106671i92324D814F5E3F41/image-size/large?v=v2&amp;amp;px=999" title="connection abort.PNG" alt="connection abort.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 07:18:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-Ethernet-cable-unplugging-cause-connection-error-to-TCP/m-p/1060294#M155888</guid>
      <dc:creator>creatorwonny</dc:creator>
      <dc:date>2020-05-11T07:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why Ethernet cable unplugging cause connection error to TCP client?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-Ethernet-cable-unplugging-cause-connection-error-to-TCP/m-p/1060295#M155889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class="" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 500; font-size: 10.9998px;"&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="358263" data-username="creatorwonny@gmail.com" href="https://community.nxp.com/people/creatorwonny@gmail.com" style="color: #3d9ce7; border: 0px; font-weight: 200; text-decoration: underline; font-size: 1.286rem;"&gt;JIWON KIM&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Thanks for your updated information.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Do you try the echotool.exe, which is mentioned in the SDK readme?&lt;/P&gt;&lt;P&gt;echotool 192.168.0.102 /p tcp /r 7 /d hello&lt;BR /&gt; NOTE: The echotool.exe application can be found here &lt;A href="https://github.com/PavelBansky/EchoTool"&gt;https://github.com/PavelBansky/EchoTool&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether this code also have these connection issues?&lt;/P&gt;&lt;P&gt;&amp;nbsp;To be honest, I think, when the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Ethernet cable is disconnected, the windows report the connection issue, it should be normal, do you want when the cable is disconnected, then the windows tool have nothing notification?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;Kerry&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 10:08:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-Ethernet-cable-unplugging-cause-connection-error-to-TCP/m-p/1060295#M155889</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-05-12T10:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why Ethernet cable unplugging cause connection error to TCP client?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-Ethernet-cable-unplugging-cause-connection-error-to-TCP/m-p/1060296#M155890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strangely, when I used iMX SoloX, this problem didn't happen. That's why I think it is wrong and I might miss something to configure or whatever. I will check with the Sabre board again and let you know the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 10:37:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-Ethernet-cable-unplugging-cause-connection-error-to-TCP/m-p/1060296#M155890</guid>
      <dc:creator>creatorwonny</dc:creator>
      <dc:date>2020-05-12T10:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why Ethernet cable unplugging cause connection error to TCP client?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-Ethernet-cable-unplugging-cause-connection-error-to-TCP/m-p/1060297#M155891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="358263" data-username="creatorwonny@gmail.com" href="https://community.nxp.com/people/creatorwonny@gmail.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;JIWON KIM&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Ok, you can check it again.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Please also check the SDK recommended software, whether the same situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Any updated information, kindly let me know.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Kerry&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2020 03:38:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-Ethernet-cable-unplugging-cause-connection-error-to-TCP/m-p/1060297#M155891</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-05-13T03:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why Ethernet cable unplugging cause connection error to TCP client?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-Ethernet-cable-unplugging-cause-connection-error-to-TCP/m-p/1060298#M155892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JIWON,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As my experience, using freeModbus on RT1050 platform, the LwIP module need to update, the prior LwIP version seems has problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2020 08:12:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-Ethernet-cable-unplugging-cause-connection-error-to-TCP/m-p/1060298#M155892</guid>
      <dc:creator>felix1</dc:creator>
      <dc:date>2020-05-14T08:12:33Z</dc:date>
    </item>
  </channel>
</rss>

