<?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 GPMI- Where does my recieved data end up? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GPMI-Where-does-my-recieved-data-end-up/m-p/300056#M37642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on an iMX6 GPMI interface to an asynchronous NAND flash.&amp;nbsp; Taking baby steps, I have been able to issue a reset to the chip and now I'm trying to read it's id.&amp;nbsp; The ID is 5 bytes long and when i set up the dma chain, I see that it actually respond with the right id, but the data is never moved to my buffer.&amp;nbsp; I see the last byte in the GPMI_DATA register, and if i change my dma number of bytes to recieve to 4, i see the first 4 bytes so i know that the GPMI is recieving the data from the NAND.&amp;nbsp; Also, the GPMI_STAT shows that the fifo is empty(bit2).&amp;nbsp; So, where did my data go?&lt;/P&gt;&lt;P&gt;I set the GPMI_PAYLOAD to point to a static local variable, made sure it was word aligned, but nothing shows up there.&amp;nbsp; I had some difficulties initially until i realized that the address registers all needed to be actual addresses, not the mapped address i am used to looking at, but once i changed all addresses by the offset that they are mapped to, my DMA command word chains work great.&amp;nbsp; I'm puzzled because my DMA Read commands work fine, i used a similar local variable to store all my commands and just point the DMA buffer to them, with the offset.&amp;nbsp; It appears that the DMA write isn't working.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Any suggestions, am i even looking at the right place?&amp;nbsp; What could cause my DMA write to not write, but not report any errors?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 May 2014 03:05:00 GMT</pubDate>
    <dc:creator>briannorman</dc:creator>
    <dc:date>2014-05-17T03:05:00Z</dc:date>
    <item>
      <title>GPMI- Where does my recieved data end up?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPMI-Where-does-my-recieved-data-end-up/m-p/300056#M37642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on an iMX6 GPMI interface to an asynchronous NAND flash.&amp;nbsp; Taking baby steps, I have been able to issue a reset to the chip and now I'm trying to read it's id.&amp;nbsp; The ID is 5 bytes long and when i set up the dma chain, I see that it actually respond with the right id, but the data is never moved to my buffer.&amp;nbsp; I see the last byte in the GPMI_DATA register, and if i change my dma number of bytes to recieve to 4, i see the first 4 bytes so i know that the GPMI is recieving the data from the NAND.&amp;nbsp; Also, the GPMI_STAT shows that the fifo is empty(bit2).&amp;nbsp; So, where did my data go?&lt;/P&gt;&lt;P&gt;I set the GPMI_PAYLOAD to point to a static local variable, made sure it was word aligned, but nothing shows up there.&amp;nbsp; I had some difficulties initially until i realized that the address registers all needed to be actual addresses, not the mapped address i am used to looking at, but once i changed all addresses by the offset that they are mapped to, my DMA command word chains work great.&amp;nbsp; I'm puzzled because my DMA Read commands work fine, i used a similar local variable to store all my commands and just point the DMA buffer to them, with the offset.&amp;nbsp; It appears that the DMA write isn't working.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Any suggestions, am i even looking at the right place?&amp;nbsp; What could cause my DMA write to not write, but not report any errors?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 May 2014 03:05:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPMI-Where-does-my-recieved-data-end-up/m-p/300056#M37642</guid>
      <dc:creator>briannorman</dc:creator>
      <dc:date>2014-05-17T03:05:00Z</dc:date>
    </item>
  </channel>
</rss>

