<?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: LWIP updating in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LWIP-updating/m-p/885312#M52418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pietro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have experience in porting of lwIP applications between different generations of SDK and I don't know your project. My guess is if you want to use the newer version of lwIP and the older version of SDK, you can try taking lwIP from the newer SDK but without the porting layer files like &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;ethernetif.c&lt;/SPAN&gt; (which depends on new SDK and its ethernet drivers). Instead take porting layer from the old SDK and adapt it to the newer version of lwIP when needed. The other porting layer files like &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;cc.h&lt;/SPAN&gt;, &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;perf.h&lt;/SPAN&gt;, &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;sys_arch.h&lt;/SPAN&gt; and &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;sys_arch.c&lt;/SPAN&gt; could be perhaps taken from the new SDK without much modification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Stanislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Feb 2019 05:38:04 GMT</pubDate>
    <dc:creator>nxa33119</dc:creator>
    <dc:date>2019-02-14T05:38:04Z</dc:date>
    <item>
      <title>LWIP updating</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LWIP-updating/m-p/885306#M52412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning&lt;/P&gt;&lt;P&gt;I will update the LWIP version on an application built on the 1.4 version of the stack.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This version is not calling the&amp;nbsp;ethernetif_input(&amp;amp;fsl_netif0) in the loop. Also this version has the option to configure the&lt;/P&gt;&lt;P&gt;macro&amp;nbsp;ENET_RECEIVE_ALL_INTERRUPT and call from the ISR the&amp;nbsp;&lt;SPAN&gt;ethernetif_input().&amp;nbsp;&lt;BR /&gt;In my understanding the porting is based on this function called from the main loop and no option to have it in the ISR context is available.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Fix me if I am not correct&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Pietro&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 11:04:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LWIP-updating/m-p/885306#M52412</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2019-02-06T11:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: LWIP updating</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LWIP-updating/m-p/885307#M52413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning al of You&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No body has&amp;nbsp; a suggestion???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 07:18:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LWIP-updating/m-p/885307#M52413</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2019-02-11T07:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: LWIP updating</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LWIP-updating/m-p/885308#M52414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning Pietro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ethernetif port in our SDK uses two modes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Bare metal without RTOS (&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;NO_SYS=1&lt;/SPAN&gt;) - in this mode, the application is supposed to call &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;ethernetif_input()&lt;/SPAN&gt; and &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;sys_check_timeouts()&lt;/SPAN&gt; from main loop. It is not supposed to call &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;netif-&amp;gt;input()&lt;/SPAN&gt; (which is called from&amp;nbsp; &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;ethernetif_input()&lt;/SPAN&gt;) from the interrupt context, as described here: &lt;A class="link-titled" href="https://www.nongnu.org/lwip/2_0_x/group__lwip__nosys.html" title="https://www.nongnu.org/lwip/2_0_x/group__lwip__nosys.html"&gt;lwIP: Mainloop mode ("NO_SYS")&lt;/A&gt; &lt;/LI&gt;&lt;LI&gt;RTOS mode, where &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;ethernetif_input()&lt;/SPAN&gt; is called from the interrupt context.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use the bare metal mode and want to do some preprocessing of the incoming packets in the interrupt context, this requires modifications of at least the ethernetif port (ethernetif.c).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Stanislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 14:13:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LWIP-updating/m-p/885308#M52414</guid>
      <dc:creator>nxa33119</dc:creator>
      <dc:date>2019-02-12T14:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: LWIP updating</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LWIP-updating/m-p/885309#M52415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You&amp;nbsp;&lt;STRONG class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;Stanislav&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;for the hint. At least it is clear that I am compelled I need to use the mainloop.&amp;nbsp;&lt;BR /&gt;I am using an old 1.2 SDK for the running project, the dimension are too big for planning an update of the SDK, but I need to run the V6 and V4 in parallel so I need an update of the LWIP. If You know a guideline manual for the updating let me know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pietro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 14:22:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LWIP-updating/m-p/885309#M52415</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2019-02-12T14:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: LWIP updating</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LWIP-updating/m-p/885310#M52416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome Pietro. You can look at &lt;A href="http://git.savannah.nongnu.org/cgit/lwip.git/tree/UPGRADING"&gt;this file&lt;/A&gt; for the list of application changes required between different lwIP versions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Stanislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 14:34:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LWIP-updating/m-p/885310#M52416</guid>
      <dc:creator>nxa33119</dc:creator>
      <dc:date>2019-02-12T14:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: LWIP updating</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LWIP-updating/m-p/885311#M52417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stanislav&lt;/P&gt;&lt;P&gt;I am grateful for the assistance. Effectively reading the reference file I don't find what I need. My plan for upgrading the stack is now to import a project with the new KSDK and the new LWIP and try to spot how to adapt it in my project using the older KSDK. If You can suggest yours or other's experience on the subject it could help..&lt;BR /&gt;Thank You&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Pietro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2019 09:10:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LWIP-updating/m-p/885311#M52417</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2019-02-13T09:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: LWIP updating</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LWIP-updating/m-p/885312#M52418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pietro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have experience in porting of lwIP applications between different generations of SDK and I don't know your project. My guess is if you want to use the newer version of lwIP and the older version of SDK, you can try taking lwIP from the newer SDK but without the porting layer files like &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;ethernetif.c&lt;/SPAN&gt; (which depends on new SDK and its ethernet drivers). Instead take porting layer from the old SDK and adapt it to the newer version of lwIP when needed. The other porting layer files like &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;cc.h&lt;/SPAN&gt;, &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;perf.h&lt;/SPAN&gt;, &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;sys_arch.h&lt;/SPAN&gt; and &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;sys_arch.c&lt;/SPAN&gt; could be perhaps taken from the new SDK without much modification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Stanislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2019 05:38:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LWIP-updating/m-p/885312#M52418</guid>
      <dc:creator>nxa33119</dc:creator>
      <dc:date>2019-02-14T05:38:04Z</dc:date>
    </item>
  </channel>
</rss>

