<?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: LPC1857 Ethernet FBI (fatal bus error) reading tx descriptor in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-Ethernet-FBI-fatal-bus-error-reading-tx-descriptor/m-p/521688#M4326</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Grant.Edwards on Fri May 10 08:48:15 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;The M3MEMMAP feature that is used to map SDRAM to address 0x00000000 doesn't affect the DMA controller, so the descripter and buffer pointers are invalid.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Translating them to unmapped addresses (in this case 0x2800xxxx) when setting up the descriptors and configuring the DMA controller fixes the FBI problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:38:08 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:38:08Z</dc:date>
    <item>
      <title>LPC1857 Ethernet FBI (fatal bus error) reading tx descriptor</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-Ethernet-FBI-fatal-bus-error-reading-tx-descriptor/m-p/521687#M4325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Grant.Edwards on Thu May 09 16:48:05 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;I'm trying to use the Ethernet controller on a Keil LPC1857 eval&lt;BR /&gt;board.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;After setting up descriptor arrays, buffers, configuring MAC and DMA,&lt;BR /&gt;I get a fatal bus error indicated in the DMA status register&lt;BR /&gt;immediately on setting the DMA_OP_MODE ST bit.&amp;nbsp; I've verified that&lt;BR /&gt;DMA_TRANS_DES_ADDR is pointing to a descriptor, and after the error&lt;BR /&gt;occurs DMA_CURHOST_TRANS_DES looks valid.&amp;nbsp; Here's waht I end up with&lt;BR /&gt;in DMA status&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;code&amp;gt;&lt;BR /&gt;DMA_CURHOST_TRANS_DES = 0x0000e308&lt;BR /&gt;DMA_OP_MODE = 0x00002008&lt;BR /&gt;DMA_STAT = 0x03802002&lt;BR /&gt;&amp;nbsp;&amp;nbsp; TI 0&lt;BR /&gt;&amp;nbsp; TPS 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp; TU 0&lt;BR /&gt;&amp;nbsp; TJT 0&lt;BR /&gt;&amp;nbsp; OVF 0&lt;BR /&gt;&amp;nbsp; UNF 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; RI 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; RU 0&lt;BR /&gt;&amp;nbsp; RPS 0&lt;BR /&gt;&amp;nbsp; RWT 0&lt;BR /&gt;&amp;nbsp; ETI 0&lt;BR /&gt;&amp;nbsp; FBI 1&lt;BR /&gt;&amp;nbsp; ERI 0&lt;BR /&gt;&amp;nbsp; AEI 0&lt;BR /&gt;&amp;nbsp; NIS 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; RS 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; TS 0&lt;BR /&gt;&amp;nbsp; EB1 1&lt;BR /&gt;&amp;nbsp; EB2 1&lt;BR /&gt;&amp;nbsp; EB3 1&lt;BR /&gt;&amp;lt;/code&amp;gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've got 16MB of SDRAM starting at address 0, and&lt;BR /&gt;the address for the current tx descriptor (0xe308) is correct.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What are possible causes of the fatal bus error when the DMA &lt;BR /&gt;controller is reading a tx descriptor?&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:38:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-Ethernet-FBI-fatal-bus-error-reading-tx-descriptor/m-p/521687#M4325</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1857 Ethernet FBI (fatal bus error) reading tx descriptor</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-Ethernet-FBI-fatal-bus-error-reading-tx-descriptor/m-p/521688#M4326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Grant.Edwards on Fri May 10 08:48:15 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;The M3MEMMAP feature that is used to map SDRAM to address 0x00000000 doesn't affect the DMA controller, so the descripter and buffer pointers are invalid.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Translating them to unmapped addresses (in this case 0x2800xxxx) when setting up the descriptors and configuring the DMA controller fixes the FBI problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:38:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-Ethernet-FBI-fatal-bus-error-reading-tx-descriptor/m-p/521688#M4326</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:38:08Z</dc:date>
    </item>
  </channel>
</rss>

