<?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>LPC MicrocontrollersのトピックRe: LPC1788 Ethernet corupted or missing tx packets</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-Ethernet-corupted-or-missing-tx-packets/m-p/517416#M2178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by artshadow on Sun Jan 05 17:54:34 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I managed to solve my problem. I was getting TX underrun errors for most of the packets because the LCD controller was using up all my bandwith to the external memory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I increased the bandwith by increasing the EMC clock rate from 60MHz to 105MHz and tweaked SDRAM timings, while checking SDRAM performance and read/write errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I limited the LCD controller bandwith by reducing the refresh rate (pixel clock).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:29:16 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:29:16Z</dc:date>
    <item>
      <title>LPC1788 Ethernet corupted or missing tx packets</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-Ethernet-corupted-or-missing-tx-packets/m-p/517414#M2176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by X-log on Fri Nov 29 10:54:25 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;HW: Embedded Artist LPC1788 dev board @ 120 MHz (LAN8720 over RMII)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SW: freeRTOS + lwip + zero-copy driver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Emac DMA descriptors are in peripheral RAM (0x20000000). Lwip memory pools and freertos heap are in external RAM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Task: transmitting data over TCP at ~4mbps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem is that some packets have a corrupt single lower nibble. Sometimes this also happens then packet is retransmitted, but usually fast retransmit succeeds (data is not modified/copied between retransmits,&amp;nbsp; checksum is for correct data. Maybe emac DMA reads incorrectly from external ram?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, some tx packets are missing entirely.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I’m also attaching test software project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&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-338017"&gt;lpc1788EthTest.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:29:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-Ethernet-corupted-or-missing-tx-packets/m-p/517414#M2176</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788 Ethernet corupted or missing tx packets</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-Ethernet-corupted-or-missing-tx-packets/m-p/517415#M2177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by artshadow on Mon Dec 30 23:54:15 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I encountered a similar problem on my project. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to run both lwIP and emWin under FreeRTOS, and both of them are working fine on their own, however if I enable power to the LCD controller, some tx packets sent out by lwip are missing entirely. Both lwIP memory pools and emWin buffers are located in external RAM. It seems like some sort of conflict accessing the external RAM by the ethernet and LCD controller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tried changing the AHB Matrix priorities, but did not help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any other ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:29:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-Ethernet-corupted-or-missing-tx-packets/m-p/517415#M2177</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788 Ethernet corupted or missing tx packets</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-Ethernet-corupted-or-missing-tx-packets/m-p/517416#M2178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by artshadow on Sun Jan 05 17:54:34 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I managed to solve my problem. I was getting TX underrun errors for most of the packets because the LCD controller was using up all my bandwith to the external memory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I increased the bandwith by increasing the EMC clock rate from 60MHz to 105MHz and tweaked SDRAM timings, while checking SDRAM performance and read/write errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I limited the LCD controller bandwith by reducing the refresh rate (pixel clock).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:29:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-Ethernet-corupted-or-missing-tx-packets/m-p/517416#M2178</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:29:16Z</dc:date>
    </item>
  </channel>
</rss>

