<?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: TWR-K70 SDHC with SDMA in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-SDHC-with-SDMA/m-p/379295#M20115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you four your advice.&lt;/P&gt;&lt;P&gt;I have checked this errata list before and didn't find which errata id is matched with my issue. I try to transfer the data with signle block by SDMA, all the data can be written into sd card by this way, but when I try to read it from sd crad, the similiar issue like writing data occurs, the data is not the expected data and mix some other block data. I have tried to read data with single block mode and multi block mode, the issue always occurs. Do you have any ideas for this?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yuetao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2015 06:02:02 GMT</pubDate>
    <dc:creator>yuetaoma</dc:creator>
    <dc:date>2015-01-28T06:02:02Z</dc:date>
    <item>
      <title>TWR-K70 SDHC with SDMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-SDHC-with-SDMA/m-p/379293#M20113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, there is an inexplicable issues about SDHC of k70 to confuse me. I am developing SD card driver. I found when the sdhc is set multiple block transfer mode and use internal SDMA to transfer data, the data can’t be written into the sd card&amp;nbsp; completely. For example, in my test case, I want to write 4k bytes data to SD card, the driver will use 3 times DMA transfer to finish the work. The first time DMA transfer 1&lt;/P&gt;&lt;P&gt;data block, the second time DMA transfer 4 data blocks, and the third time DMA transfer 3 data blocks. But after the operation finished, I saw there is no expected data in SD card by the second and third time DMA. In general, I often see the last one or two block data of 2&lt;SUP&gt;nd&lt;/SUP&gt; and 3&lt;SUP&gt;rd&lt;/SUP&gt; DMA is not in SD card, the expected data of the these blocks is &lt;SPAN style="font-family: 'Tahoma','sans-serif'; font-size: 10pt;"&gt;replaced by&lt;/SPAN&gt; 0. When I do this test once again, maybe other block is replaced by 0 and the block filled by 0 in previous test is written into the expected data value.&lt;/P&gt;&lt;P&gt;I check the SDHC_IRQSTAT register after every DMA transfer finishes and no any error occurs. I also check the SDHC_DSADDR and SDHC_BLKATTR, the DMA address is updated correctly and the block number and size value is set correctly too. And the DMA buffer address is 0x20000830, this address is in 0x2000_0000–0x200F_FFFF and the cache mode is non-cacheable. So all these set looks OK and I don’t know why the data can’t be written into SD card. How can I debug or go forward? &lt;/P&gt;&lt;P&gt;Any advice is appreciated. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 06:45:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-SDHC-with-SDMA/m-p/379293#M20113</guid>
      <dc:creator>yuetaoma</dc:creator>
      <dc:date>2015-01-27T06:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70 SDHC with SDMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-SDHC-with-SDMA/m-p/379294#M20114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the K70 mask that you have and the errata that belongs to it. There are various issues with ADMA and the SDHC as shown below (eg. from 3N96B)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49603iA93A277AC09EC799/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may find that you need to follow workarounds to solve some difficulties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;K70: &lt;A href="http://www.utasker.com/kinetis/TWR-K70F120M.html" title="http://www.utasker.com/kinetis/TWR-K70F120M.html"&gt;µTasker Kinetis TWR-K70F120M support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 11:47:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-SDHC-with-SDMA/m-p/379294#M20114</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-01-27T11:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70 SDHC with SDMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-SDHC-with-SDMA/m-p/379295#M20115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you four your advice.&lt;/P&gt;&lt;P&gt;I have checked this errata list before and didn't find which errata id is matched with my issue. I try to transfer the data with signle block by SDMA, all the data can be written into sd card by this way, but when I try to read it from sd crad, the similiar issue like writing data occurs, the data is not the expected data and mix some other block data. I have tried to read data with single block mode and multi block mode, the issue always occurs. Do you have any ideas for this?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yuetao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 06:02:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-SDHC-with-SDMA/m-p/379295#M20115</guid>
      <dc:creator>yuetaoma</dc:creator>
      <dc:date>2015-01-28T06:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70 SDHC with SDMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-SDHC-with-SDMA/m-p/379296#M20116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yuetao,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using MQX?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 16:44:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-SDHC-with-SDMA/m-p/379296#M20116</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2015-01-30T16:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70 SDHC with SDMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-SDHC-with-SDMA/m-p/379297#M20117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sol,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, I don't use the MQX, I use the vxWorks OS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yuetao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 05:38:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-SDHC-with-SDMA/m-p/379297#M20117</guid>
      <dc:creator>yuetaoma</dc:creator>
      <dc:date>2015-02-02T05:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70 SDHC with SDMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-SDHC-with-SDMA/m-p/379298#M20118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologize for the late response. Are you still having the same issues with your project?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 17:23:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70-SDHC-with-SDMA/m-p/379298#M20118</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2015-03-10T17:23:29Z</dc:date>
    </item>
  </channel>
</rss>

