<?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: Write watch on the memory location modified by DMA in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Write-watch-on-the-memory-location-modified-by-DMA/m-p/486877#M29997</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;Could you let us know which IDE software you are using? I checked with IAR IDE software with KSDK V1.2 eDMA demo &amp;amp; TWR-K60D100M board. I could debug and check the memory value modification.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 May 2016 02:13:33 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2016-05-04T02:13:33Z</dc:date>
    <item>
      <title>Write watch on the memory location modified by DMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Write-watch-on-the-memory-location-modified-by-DMA/m-p/486876#M29996</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;/P&gt;&lt;P&gt;Why the debugger can't monitor a change/break-at the memory location which is read/written using DMA? I observed this behavior on KSDK 1.2 while debugging with OpenSDA. Just curious to know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Rini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 05:20:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Write-watch-on-the-memory-location-modified-by-DMA/m-p/486876#M29996</guid>
      <dc:creator>rinipatel</dc:creator>
      <dc:date>2016-04-29T05:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Write watch on the memory location modified by DMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Write-watch-on-the-memory-location-modified-by-DMA/m-p/486877#M29997</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;Could you let us know which IDE software you are using? I checked with IAR IDE software with KSDK V1.2 eDMA demo &amp;amp; TWR-K60D100M board. I could debug and check the memory value modification.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 02:13:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Write-watch-on-the-memory-location-modified-by-DMA/m-p/486877#M29997</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-05-04T02:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Write watch on the memory location modified by DMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Write-watch-on-the-memory-location-modified-by-DMA/m-p/486878#M29998</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;/P&gt;&lt;P&gt;I'm using KDS v3.0 with KSDK 1.2.&lt;/P&gt;&lt;P&gt;When I put write Watchpoint on memory location directly accessed by core, it works fine. But when the same address is modified using DMA, debugger doesn't break on the write access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Board is TWR-KL43.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 04:17:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Write-watch-on-the-memory-location-modified-by-DMA/m-p/486878#M29998</guid>
      <dc:creator>rinipatel</dc:creator>
      <dc:date>2016-05-04T04:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Write watch on the memory location modified by DMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Write-watch-on-the-memory-location-modified-by-DMA/m-p/486879#M29999</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;Please check my test result at below picture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="KDS.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56627i6546717E5BF225D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="KDS.jpg" alt="KDS.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I could find the SRAM address 0x1fffe09c as destAddr[] array value modification using DMA module.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 08:49:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Write-watch-on-the-memory-location-modified-by-DMA/m-p/486879#M29999</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-05-06T08:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Write watch on the memory location modified by DMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Write-watch-on-the-memory-location-modified-by-DMA/m-p/486880#M30000</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;/P&gt;&lt;P&gt;I apologize for the confusion. Let me rephrase the question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57057i8EF6EB5F5C436ADE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled1.png" alt="Untitled1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As seen from the snap, I've put write Watchpoint on address 0x1fffe0a, which is destAddr[] array value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when the core writes to this address, for e.g. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i&amp;lt;BUFFER_SIZE; i++)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; destAddr[i] = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the breakpoint is hit on each write access and debugging is halted. But later on when the same address is modified using DMA, even though I'm able to see the modification in memory watch, write breakpoint is not getting hit.&amp;nbsp; Is it because debugger cannot monitor DMA transfer or anything like that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Rini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 09:27:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Write-watch-on-the-memory-location-modified-by-DMA/m-p/486880#M30000</guid>
      <dc:creator>rinipatel</dc:creator>
      <dc:date>2016-05-06T09:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Write watch on the memory location modified by DMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Write-watch-on-the-memory-location-modified-by-DMA/m-p/486881#M30001</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;DMA module works as a coprocessor, which doesn't be&amp;nbsp; monitored by ARM Cortex-M0+ debug module during DMA transfer.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 08:45:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Write-watch-on-the-memory-location-modified-by-DMA/m-p/486881#M30001</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-05-09T08:45:51Z</dc:date>
    </item>
  </channel>
</rss>

