<?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>i.MX Processors中的主题 Using cache and SDMA</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-cache-and-SDMA/m-p/772807#M119997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, everybody. I have system based on iMX6, FreeRTOS. I need copy table from one point of memory to another. I use for this task SDMA.&amp;nbsp;Memory attribute is write-back cacheable. Before starting copy by SDMA, I clean data cache by MVA to point of coherency and I use DSB to stop CPU to be sure, data are in memory. Then I start copy by SDMA.&lt;/P&gt;&lt;P&gt;My problem is, that one per thousands times, SDMA copies old data.&lt;/P&gt;&lt;P&gt;I don't know, which question is the most suitable.&lt;/P&gt;&lt;P&gt;Why CPU doesn't wait for data would place in memory?&lt;/P&gt;&lt;P&gt;Should be any signal from memory to CPU to inform data are in memory?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Dec 2017 10:09:52 GMT</pubDate>
    <dc:creator>Markon</dc:creator>
    <dc:date>2017-12-07T10:09:52Z</dc:date>
    <item>
      <title>Using cache and SDMA</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-cache-and-SDMA/m-p/772807#M119997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, everybody. I have system based on iMX6, FreeRTOS. I need copy table from one point of memory to another. I use for this task SDMA.&amp;nbsp;Memory attribute is write-back cacheable. Before starting copy by SDMA, I clean data cache by MVA to point of coherency and I use DSB to stop CPU to be sure, data are in memory. Then I start copy by SDMA.&lt;/P&gt;&lt;P&gt;My problem is, that one per thousands times, SDMA copies old data.&lt;/P&gt;&lt;P&gt;I don't know, which question is the most suitable.&lt;/P&gt;&lt;P&gt;Why CPU doesn't wait for data would place in memory?&lt;/P&gt;&lt;P&gt;Should be any signal from memory to CPU to inform data are in memory?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 10:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-cache-and-SDMA/m-p/772807#M119997</guid>
      <dc:creator>Markon</dc:creator>
      <dc:date>2017-12-07T10:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using cache and SDMA</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-cache-and-SDMA/m-p/772808#M119998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp; You may look at erratum ERR004325 [ARM/MP: 764369—Data or unified cache&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt; line maintenance operation by MVA may not succeed on an Inner Shareable memory region]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;and try its workaround.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/errata/IMX6DQCE.pdf"&gt;https://www.nxp.com/docs/en/errata/IMX6DQCE.pdf&lt;/A&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note: If this post answers your question, please click the Correct Answer &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 02:51:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-cache-and-SDMA/m-p/772808#M119998</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-12-08T02:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using cache and SDMA</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-cache-and-SDMA/m-p/772809#M119999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your advice. I checked it and it isn't suitable to my problem.&lt;BR /&gt;I work on this problem and now I'm sure:&lt;BR /&gt;- that data are copied to memory and CPU doesn't stall when I use DSB or&lt;BR /&gt;- addresses data in memory are different than address for starting SDMA and in spite of DSB, CPU change the order of executing software.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 08:29:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-cache-and-SDMA/m-p/772809#M119999</guid>
      <dc:creator>Markon</dc:creator>
      <dc:date>2017-12-12T08:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using cache and SDMA</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-cache-and-SDMA/m-p/772810#M120000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; The i.MX6 does not provide hardware coherency mechanism for external regarding CPUs (say, DMA) &lt;BR /&gt;transactions. To avoid coherency issues it is recommended to use special zones, that are marked as non-&lt;BR /&gt;cacheable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 02:49:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-cache-and-SDMA/m-p/772810#M120000</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-12-15T02:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using cache and SDMA</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-cache-and-SDMA/m-p/772811#M120001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer. This answer is the most suitable for my problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 08:22:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-cache-and-SDMA/m-p/772811#M120001</guid>
      <dc:creator>Markon</dc:creator>
      <dc:date>2017-12-15T08:22:04Z</dc:date>
    </item>
  </channel>
</rss>

