<?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: SDMA access from M4 core in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-access-from-M4-core/m-p/1514479#M194515</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;I can try the "C0_SETCTX" command and see with the JTAG whether the SDMA RAM is affected.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, that's no problem. You can also debug the C0_SETCTX routine itself, but therefore the routine must be linked into RAM (no breakpoints can be set in ROM).&lt;/P&gt;&lt;P&gt;Do you own a JTAG Debugger from Lauterbach?&lt;/P&gt;&lt;P&gt;regards&lt;BR /&gt;Christian&lt;/P&gt;</description>
    <pubDate>Wed, 31 Aug 2022 08:20:34 GMT</pubDate>
    <dc:creator>ceggers</dc:creator>
    <dc:date>2022-08-31T08:20:34Z</dc:date>
    <item>
      <title>SDMA access from M4 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-access-from-M4-core/m-p/1514401#M194499</link>
      <description>&lt;P&gt;I'm trying to initialize the SDMA from the M4 core of the i.MX8M. I followed the steps f&lt;SPAN&gt;rom the&amp;nbsp; "i.MX 8M Dual/8M QuadLite/8M Quad Applications Processors Reference Manual", Rev. 3.1, 06/2021, pages 1101 - 1102. I configure channel 0 to copy the context data to ARM memory (i.e. channel 0 command "C0_GETCTXT"). Channel 0 seems to start and finishes as well (as indicated by&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;STOP_STAT, contradictory with the reference manual, the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SDMA_SDMA_INTR does not reflect this). However, no data seems to be written by the SDMA.&amp;nbsp;&lt;/SPAN&gt;I am using the TCM and even tried disabling the cache, but this doesn't influence the result.&lt;/P&gt;&lt;P&gt;Why is the context data not visible in ARM RAM?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 07:01:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMA-access-from-M4-core/m-p/1514401#M194499</guid>
      <dc:creator>LennartB</dc:creator>
      <dc:date>2022-08-31T07:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: SDMA access from M4 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-access-from-M4-core/m-p/1514411#M194501</link>
      <description>&lt;P&gt;Hi Lennart,&lt;/P&gt;&lt;P&gt;at least the Linux driver doesn't use the interrupt for channel0, it uses busy-wait instead.&lt;/P&gt;&lt;P&gt;But there's nothing special about IRQs on channel0, if the &lt;EM&gt;IRQ&lt;/EM&gt; bit in the &lt;EM&gt;mode&lt;/EM&gt; field of the &lt;EM&gt;buffer descriptor&lt;/EM&gt; is set, you should get an interrupt.&lt;/P&gt;&lt;P&gt;I have a JTAG debugger for the SDMA, it can help to debug such problems.&lt;/P&gt;&lt;P&gt;regards&lt;BR /&gt;Christian&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 07:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMA-access-from-M4-core/m-p/1514411#M194501</guid>
      <dc:creator>ceggers</dc:creator>
      <dc:date>2022-08-31T07:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: SDMA access from M4 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-access-from-M4-core/m-p/1514436#M194507</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;Why is the context data not visible in ARM RAM?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The SDMA has its own SRAM, this is distinct from the SRAMs of the ARM and the external DDR RAM. The RAM (and also the ROM, the SDMA core registers and parts of the status registers) is not visible from the ARM processor (e.g. these resources are directly tied to the SDMA CPU and not connected to any busses of the ARM).&lt;/P&gt;&lt;P&gt;&amp;lt;Advertising&amp;gt;With a SDMA debugger, you have full access to all resources of the SDMA&amp;lt;/Advertising&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 07:27:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMA-access-from-M4-core/m-p/1514436#M194507</guid>
      <dc:creator>ceggers</dc:creator>
      <dc:date>2022-08-31T07:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: SDMA access from M4 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-access-from-M4-core/m-p/1514471#M194514</link>
      <description>&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;Thanks for your prompt response.&lt;/P&gt;&lt;P&gt;I assumed that it is possible to use the "C0_GETCTXT" command to transfer the context from SDMA RAM to ARM RAM (just to see if it works). Otherwise it should be possible to use "C0_SETCTX" to do it the other way around, right?&lt;/P&gt;&lt;P&gt;I can try the "C0_SETCTX" command and see with the JTAG whether the SDMA RAM is affected.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lennart&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 08:14:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMA-access-from-M4-core/m-p/1514471#M194514</guid>
      <dc:creator>LennartB</dc:creator>
      <dc:date>2022-08-31T08:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: SDMA access from M4 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-access-from-M4-core/m-p/1514479#M194515</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;I can try the "C0_SETCTX" command and see with the JTAG whether the SDMA RAM is affected.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, that's no problem. You can also debug the C0_SETCTX routine itself, but therefore the routine must be linked into RAM (no breakpoints can be set in ROM).&lt;/P&gt;&lt;P&gt;Do you own a JTAG Debugger from Lauterbach?&lt;/P&gt;&lt;P&gt;regards&lt;BR /&gt;Christian&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 08:20:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMA-access-from-M4-core/m-p/1514479#M194515</guid>
      <dc:creator>ceggers</dc:creator>
      <dc:date>2022-08-31T08:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: SDMA access from M4 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-access-from-M4-core/m-p/1514510#M194523</link>
      <description>&lt;P&gt;I am unfamiliar with debuggers from Lauterbach. Currently, I am using the Segger JLink for debugging the M4 core.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Lennart&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 08:58:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMA-access-from-M4-core/m-p/1514510#M194523</guid>
      <dc:creator>LennartB</dc:creator>
      <dc:date>2022-08-31T08:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: SDMA access from M4 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-access-from-M4-core/m-p/1514606#M194534</link>
      <description>&lt;P&gt;The Lauterbach debugger is the only I know where you can Debug the SDMA. Currently there are even two possibilities:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Lauterbach offers SDMA support as a license option&lt;/LI&gt;&lt;LI&gt;I have written an extension for SDMA myself (see Screenshot &lt;A href="https://community.nxp.com/t5/i-MX-Processors/SDMA-port-for-GNU-binutils-assembler-linker-debugger/m-p/1172930" target="_self"&gt;here&lt;/A&gt;).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;regards,&lt;BR /&gt;Christian&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 11:31:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMA-access-from-M4-core/m-p/1514606#M194534</guid>
      <dc:creator>ceggers</dc:creator>
      <dc:date>2022-08-31T11:31:08Z</dc:date>
    </item>
  </channel>
</rss>

