<?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 LWIP on a LPC17778 board. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LWIP-on-a-LPC17778-board/m-p/524929#M7565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Vijay Vaidya on Thu Jun 26 04:55:06 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Kevin Wells,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am taking freedom to directly address to you on this forum, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as i noted that you are the 'committer' for this port on &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;git repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We intend to implement LWIP Stack on our LPC1778 home grown board&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that has KS8721 as PHY. We don't have any DRAM on board and want to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use Peripheral RAM for PBUFs allocation with ZERO_COPY mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using CodeRed5 Suite Tools.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To begin with, i downloaded both, lwip_lpc_v1_10 and lwip_lpc_v1_01 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to decide which one i should use as starting point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously, for such a minimal system, to increase the throughput we&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;intend to implement LWIP with LPC_PBUF_RX_ZEROCOPY and LPC_PBUF_TX_ZEROCOPY&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;defined = 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem is, in v1_10 (which is the latest) in none of the files of &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'nxpcommon' folder the above symbols appear, whereas in v1_01 files&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;these appear at many places. This has made me believe that for zero-copy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mode i should start with v1_01 pack.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My confusion is,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. does the v1_10 takes care of ZEROCOPY mode in implementation in a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; transparent manner and we only have to ensure in linker script&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; that .bss and .data sections of lwip stack files are located properly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; in peripheral ram.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. i am clear that i will need to write a PHY driver for KS8721 and also&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; a correct linker script so that all the sections generated by stack&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; files are located properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please guide us on where to start,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vijay Vaidya&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:09:04 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:09:04Z</dc:date>
    <item>
      <title>LWIP on a LPC17778 board.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LWIP-on-a-LPC17778-board/m-p/524929#M7565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Vijay Vaidya on Thu Jun 26 04:55:06 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Kevin Wells,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am taking freedom to directly address to you on this forum, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as i noted that you are the 'committer' for this port on &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;git repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We intend to implement LWIP Stack on our LPC1778 home grown board&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that has KS8721 as PHY. We don't have any DRAM on board and want to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use Peripheral RAM for PBUFs allocation with ZERO_COPY mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using CodeRed5 Suite Tools.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To begin with, i downloaded both, lwip_lpc_v1_10 and lwip_lpc_v1_01 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to decide which one i should use as starting point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously, for such a minimal system, to increase the throughput we&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;intend to implement LWIP with LPC_PBUF_RX_ZEROCOPY and LPC_PBUF_TX_ZEROCOPY&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;defined = 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem is, in v1_10 (which is the latest) in none of the files of &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'nxpcommon' folder the above symbols appear, whereas in v1_01 files&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;these appear at many places. This has made me believe that for zero-copy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mode i should start with v1_01 pack.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My confusion is,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. does the v1_10 takes care of ZEROCOPY mode in implementation in a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; transparent manner and we only have to ensure in linker script&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; that .bss and .data sections of lwip stack files are located properly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; in peripheral ram.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. i am clear that i will need to write a PHY driver for KS8721 and also&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; a correct linker script so that all the sections generated by stack&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; files are located properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please guide us on where to start,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vijay Vaidya&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:09:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LWIP-on-a-LPC17778-board/m-p/524929#M7565</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:09:04Z</dc:date>
    </item>
  </channel>
</rss>

