<?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 Re: Problem with Tcp_echo and PE in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623003#M6512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiangjun&lt;/P&gt;&lt;P&gt;Yes, I have tested the SDK2.0 and we will start using it when the Processor Expert replacement is available, for future projects.&lt;/P&gt;&lt;P&gt;But we have spent the past year developing our product with KDSK1.3 and Processor Expert.&lt;/P&gt;&lt;P&gt;The product includes 50 Sigma-Delta ADC channels, Two I2C, a Modbus TCP wifi and 3 SPI links, with multiple tasks under Freertos.&lt;/P&gt;&lt;P&gt;It will take months to rewrite everything. We cannot ship because the Ethernet link does not work.&lt;/P&gt;&lt;P&gt;So if there are obvious errors in the attached project I would really appreciate any help available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Feb 2017 00:07:00 GMT</pubDate>
    <dc:creator>petertsipouras</dc:creator>
    <dc:date>2017-02-14T00:07:00Z</dc:date>
    <item>
      <title>Problem with Tcp_echo and PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623001#M6510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have modified Erich Stygers &lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fmcuoneclipse.com%2F2015%2F10%2F28%2Ftutorial-lwip-with-the-freertos-and-the-freescale-frdm-k64f-board%2F"&gt;Tutorial: lwip with FreeRTOS and the Freescale FRDM-K64F Board | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to implement a Tcp_echo server, as a start, to eventually end up with a Modbus TCP slave.&lt;/P&gt;&lt;P&gt;I am using KDS3.2 and KSDK1.3 with FreeRtos and Processor Expert.&lt;/P&gt;&lt;P&gt;It compiles without errors but seems to hang at the blocking statement:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; err = netconn_accept(conn, &amp;amp;newconn);&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using "Advanced IP Scanner" It identifies the server address&amp;nbsp;&amp;nbsp; 192.168.2.102 as "dead" and of course does not ping.&lt;/P&gt;&lt;P&gt;Has anyone succeeded&amp;nbsp; In doing this type of project?&lt;/P&gt;&lt;P&gt;I have attached the project file with much appreciation for any advice.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-339097"&gt;LwipRtosPEecho.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 02:28:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623001#M6510</guid>
      <dc:creator>petertsipouras</dc:creator>
      <dc:date>2017-02-10T02:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Tcp_echo and PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623002#M6511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Peter,&lt;/P&gt;&lt;P&gt;In the SDK1.3, we use the RTCS architacture to implement the ethernet protocol. In SDK2.x, we use LWIP to implement the ethernet protocol, the LWIP is straightforward.&lt;/P&gt;&lt;P&gt;Pls download SDK2.x based on FREERTOS and&amp;nbsp;FRDM-K64F from the link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/ksdk"&gt;http://www.nxp.com/ksdk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after unzipping the package, you can refer to the directory for the TCP echo example:&lt;/P&gt;&lt;P&gt;C:\Freescale\SDK2.0_FRDM_K64F\boards\frdmk64f\demo_apps\lwip\lwip_tcpecho\freertos\kds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 08:05:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623002#M6511</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-02-13T08:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Tcp_echo and PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623003#M6512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiangjun&lt;/P&gt;&lt;P&gt;Yes, I have tested the SDK2.0 and we will start using it when the Processor Expert replacement is available, for future projects.&lt;/P&gt;&lt;P&gt;But we have spent the past year developing our product with KDSK1.3 and Processor Expert.&lt;/P&gt;&lt;P&gt;The product includes 50 Sigma-Delta ADC channels, Two I2C, a Modbus TCP wifi and 3 SPI links, with multiple tasks under Freertos.&lt;/P&gt;&lt;P&gt;It will take months to rewrite everything. We cannot ship because the Ethernet link does not work.&lt;/P&gt;&lt;P&gt;So if there are obvious errors in the attached project I would really appreciate any help available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 00:07:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623003#M6512</guid>
      <dc:creator>petertsipouras</dc:creator>
      <dc:date>2017-02-14T00:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Tcp_echo and PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623004#M6513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiangjun&lt;/P&gt;&lt;P&gt;So far we have been testing the attached project on our hardware without success. Then we realized a stupid mistake...&lt;/P&gt;&lt;P&gt;We are using a K64 in the 144 pin LQFP package instead of the 100pin as per the project settings.&lt;/P&gt;&lt;P&gt;We had not tested this project version on the FRDM-64F board.&lt;/P&gt;&lt;P&gt;Surprise, it works on the FRDM so it was not a software issue.&lt;/P&gt;&lt;P&gt;Now, after changing the CPU settings for the 144pin version, it is not working yet.&lt;/P&gt;&lt;P&gt;There are a few areas of uncertainty:&lt;/P&gt;&lt;P&gt;1) Is the KSZ8081 interrupt pin actually used and if so which CPU pin should it be tied to?&lt;/P&gt;&lt;P&gt;2) Is it necessary to set the MII pins in the pins settings table, in addition to the RMII pins?&lt;/P&gt;&lt;P&gt;3) The KSZ8081 documentation shows the RX &amp;amp; TX magjack center taps bypassed to ground with 0.1uF caps and not tied together. But in the FRDM, the center taps for TX and RX signals are both tied to +3.3 volts. Does it make any difference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 15:37:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623004#M6513</guid>
      <dc:creator>petertsipouras</dc:creator>
      <dc:date>2017-02-15T15:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Tcp_echo and PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623005#M6514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Hi&amp;nbsp;Peter,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Yeah,&amp;nbsp;there are two versions of FRDM-K64F out there (one with cap and one with not, confusing me), so I have the same three questions above as you. Have anyone answered it yet? I've put the 0.1uF cap and the 49.9R resistors (although KSZ8081 datasheet says it's not necessary) and tied it to 3.3V through a 0R resistor. Ping does not work. Remove 0R resistor and got the same thing. But I can say it “probably” is working because when I insert the Ethernet plug into RJ45 jack, LED link turns on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Any suggestions?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 13:25:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623005#M6514</guid>
      <dc:creator>marcoantoniodeo</dc:creator>
      <dc:date>2019-02-20T13:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Tcp_echo and PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623006#M6515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the setup that works for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1-- Do not use 49.9 ohm resistors&lt;/P&gt;&lt;P&gt;2-- Center taps&amp;nbsp;are not connected anywhere&lt;/P&gt;&lt;P&gt;3-- The 0.1uF cap is not necessary&lt;/P&gt;&lt;P&gt;4-- I use a type Si-46014-F&amp;nbsp; Magjack&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Tcp_echo finally worked with Freertos using processor expert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 19:10:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623006#M6515</guid>
      <dc:creator>petertsipouras</dc:creator>
      <dc:date>2019-02-20T19:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Tcp_echo and PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623007#M6516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use a RB1RB1-125BAG1A type (FRDM-K64F original).&amp;nbsp;Slightly&amp;nbsp;different from yours (one center tap), but I´ll give it a try.&lt;/P&gt;&lt;P&gt;In a couple of days I´ll have the time to test it and I´ll let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advanced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2019 13:53:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623007#M6516</guid>
      <dc:creator>marcoantoniodeo</dc:creator>
      <dc:date>2019-02-21T13:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Tcp_echo and PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623008#M6517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Hi Peter,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;I´m using your project&amp;nbsp;in my tests, by the way, thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;I´ve removed 49.9 resistors and 0.1uF caps, unfortunately ping does not work, but now all RJ45 jack leds turns on and yellow led blinks, even though my dos windows ping is closed. IP number is&amp;nbsp;within the range of my network and is unique.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Other than that, I noticed a drop in current consumption (~30 mA).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;I assume you schematic mimics what´s on FRDM-K64F as mine does?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Your clock source is 50 MHz, PEE, PLL and core 120 MHz, bus 60 MHz, external bus 40 MHz and flash 24 MHz.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Flash clock above 20 MHz freezes my MCU,&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;I don´t know why.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Onother clue? My PHY is &lt;SPAN style="color: #262c32; background-color: #f9f9f9;"&gt;KSZ8081MLXIA, whats is yours?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f9f9f9; color: #262c32; font-size: 12pt; "&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f9f9f9; color: #262c32; font-size: 12pt; "&gt;Marco&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2019 18:54:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623008#M6517</guid>
      <dc:creator>marcoantoniodeo</dc:creator>
      <dc:date>2019-02-22T18:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Tcp_echo and PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623009#M6518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the&amp;nbsp;KSZ8081RNAIA-TR&amp;nbsp; chip which has the RMII interface. Your chip has the MII interface, but that should not matter. One good tool to see what is on your network is this:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.advanced-ip-scanner.com" title="https://www.advanced-ip-scanner.com"&gt;Advanced IP Scanner - Download Free Network Scanner.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the K64 in the 144 pin package. The attached project uses Processor expert and FreeRTOS:&lt;/P&gt;&lt;P&gt;It is not the most elegant code but it was just a test. Perhaps you can compare the settings in PE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 01:22:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623009#M6518</guid>
      <dc:creator>petertsipouras</dc:creator>
      <dc:date>2019-02-25T01:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Tcp_echo and PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623010#M6519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Peter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested it with Advanced IP Scanner. Nothing happens. There must be a hardware problem. In this project Ethernet is not a needed feature anyway. I will do&amp;nbsp;further study and redesign it in the future weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 11:47:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Problem-with-Tcp-echo-and-PE/m-p/623010#M6519</guid>
      <dc:creator>marcoantoniodeo</dc:creator>
      <dc:date>2019-02-25T11:47:42Z</dc:date>
    </item>
  </channel>
</rss>

