<?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>Kinetis Design Studio中的主题 Re: lwIP project that was working in KDS 2.0 with MQX and PEx no longer works in KDS 3.0</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/lwIP-project-that-was-working-in-KDS-2-0-with-MQX-and-PEx-no/m-p/408233#M2889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solution was to increase the TCP task's stack size.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Jun 2015 16:25:18 GMT</pubDate>
    <dc:creator>dave408</dc:creator>
    <dc:date>2015-06-06T16:25:18Z</dc:date>
    <item>
      <title>lwIP project that was working in KDS 2.0 with MQX and PEx no longer works in KDS 3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/lwIP-project-that-was-working-in-KDS-2-0-with-MQX-and-PEx-no/m-p/408231#M2887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*** I apologize for cross posting.&amp;nbsp; It seems that there's less eyes in the MQX forum, so perhaps my question didn't belong there in the first place.&amp;nbsp; I am hoping that someone here will be able to help me figure out where I went wrong when porting from KDS2/KSDK1.1 to KDS3/KSDK1.2.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a very difficult time getting my lwIP application to work.&amp;nbsp; It took a little bit of luck in addition to great help from &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="18137" data-objecttype="3" href="https://community.nxp.com/people/MarekNeuzil"&gt;Marek Neuzil&lt;/A&gt; in my thread&amp;nbsp; &lt;A _jive_internal="true" data-containerid="2022" data-containertype="14" data-objectid="352358" data-objecttype="1" href="https://community.nxp.com/thread/352358#505233"&gt;Assistance needed with lwIP + PEx + KSDK&lt;/A&gt; to get it actually working.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is, with the release of KDS 3.0 and KSDK 1.2, I had to create my project from scratch, and after following what I believe to be the same steps, my application does not work again.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The basic steps include:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;adding MQX and setting it to MQX Standard&lt;/LI&gt;&lt;LI&gt;disabling DbgCs1 and adding a new fsl_uart shared component to MQX&lt;/LI&gt;&lt;LI&gt;assigning fsl_uart to a random UART I don't need (as I am using semihosting)&lt;/LI&gt;&lt;LI&gt;assigning pins to the ENET component in pin_init&lt;/LI&gt;&lt;LI&gt;setting the RMII_MDIO pin to open drain, pulled up, and enabled&lt;/LI&gt;&lt;LI&gt;adding the necessary header file include directories&lt;/LI&gt;&lt;LI&gt;adding a link to fsl_phy_driver.c to my Source folder&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;(hopefully I didn't miss anything above)&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even after going through all of those steps again, my lwIP application runs and waits for an incoming connection, verified by single stepping through each line and checking for unhandled returned errors.&amp;nbsp; It all checks out fine, but I still cannot ping or connect.&amp;nbsp; However, the lwip demo application that comes with KSDK 1.2 works just fine.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone offer any assistance or advise?&amp;nbsp; I've also attached my sample project here.&amp;nbsp; Thank you!&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-338893"&gt;KDS3_lwip_mqx_pex_test-(2).zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 15:54:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/lwIP-project-that-was-working-in-KDS-2-0-with-MQX-and-PEx-no/m-p/408231#M2887</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-05-28T15:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: lwIP project that was working in KDS 2.0 with MQX and PEx no longer works in KDS 3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/lwIP-project-that-was-working-in-KDS-2-0-with-MQX-and-PEx-no/m-p/408232#M2888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By chance, I happened to notice something today as I was trying to debug the code.&amp;nbsp; As I was single stepping through my MQX task that does the TCP/IP stack initialization and other stuff, I happened to notice during a single step that ping responded!&amp;nbsp; I was shocked, so I moved a while(1) { OSA_TaskYield(); } line by line until my application stopped responding to ping.&amp;nbsp; It looks like ping responds all of the way up to the point where I call netconn_accept() to listen for my incoming connection request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll start to focus on netconn_accept(), but any insight would be much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 22:35:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/lwIP-project-that-was-working-in-KDS-2-0-with-MQX-and-PEx-no/m-p/408232#M2888</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-05-28T22:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: lwIP project that was working in KDS 2.0 with MQX and PEx no longer works in KDS 3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/lwIP-project-that-was-working-in-KDS-2-0-with-MQX-and-PEx-no/m-p/408233#M2889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solution was to increase the TCP task's stack size.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2015 16:25:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/lwIP-project-that-was-working-in-KDS-2-0-with-MQX-and-PEx-no/m-p/408233#M2889</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-06-06T16:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: lwIP project that was working in KDS 2.0 with MQX and PEx no longer works in KDS 3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/lwIP-project-that-was-working-in-KDS-2-0-with-MQX-and-PEx-no/m-p/408234#M2890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for sharing your solution Dave.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 19:39:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/lwIP-project-that-was-working-in-KDS-2-0-with-MQX-and-PEx-no/m-p/408234#M2890</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2015-06-08T19:39:47Z</dc:date>
    </item>
  </channel>
</rss>

