<?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>Kinetis MicrocontrollersのトピックRe: DMA behavior while debugging</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-behavior-while-debugging/m-p/753134#M45883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;moreover i am reading variable size data so every time in callback i am&amp;nbsp;using&amp;nbsp;UART_ReceiveEDMA call to read x bytes, so in that case how would one configure circular buffer ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2018 09:33:37 GMT</pubDate>
    <dc:creator>amitmehta</dc:creator>
    <dc:date>2018-06-06T09:33:37Z</dc:date>
    <item>
      <title>DMA behavior while debugging</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-behavior-while-debugging/m-p/753131#M45880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UART is configured with DMA enabled, so secondary controller always keep on sending data, while debugging on primary controller DMA keep on running and write on illegal location causing corruption, is there any way to halt DMA only while step run else keep running&amp;nbsp; while in debug mode.&amp;nbsp;enableDebugMode completely disables DMA in debug mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 12:11:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-behavior-while-debugging/m-p/753131#M45880</guid>
      <dc:creator>amitmehta</dc:creator>
      <dc:date>2018-06-05T12:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: DMA behavior while debugging</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-behavior-while-debugging/m-p/753132#M45881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahmet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know of a way to stop DMA operation in debug mode but I also don't think that it should be a problem if the DMA is set up to automatically stop (or free-run in a circular buffer mode). If it is overwriting memory or accessing invalid memory I would say that there is a basic problem with the DMA configuration that should be addressed first.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 14:08:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-behavior-while-debugging/m-p/753132#M45881</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-06-05T14:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: DMA behavior while debugging</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-behavior-while-debugging/m-p/753133#M45882</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;So basically illegal memory location might be a wrong word but what i was trying to say was that it writes on next memory location once 32 bytes which is buffer size get exhausted. and also i'll check for auto stop mode.&lt;/P&gt;&lt;P&gt;Thank You for replying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 04:23:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-behavior-while-debugging/m-p/753133#M45882</guid>
      <dc:creator>amitmehta</dc:creator>
      <dc:date>2018-06-06T04:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: DMA behavior while debugging</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-behavior-while-debugging/m-p/753134#M45883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;moreover i am reading variable size data so every time in callback i am&amp;nbsp;using&amp;nbsp;UART_ReceiveEDMA call to read x bytes, so in that case how would one configure circular buffer ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 09:33:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-behavior-while-debugging/m-p/753134#M45883</guid>
      <dc:creator>amitmehta</dc:creator>
      <dc:date>2018-06-06T09:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: DMA behavior while debugging</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-behavior-while-debugging/m-p/753135#M45884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you configure for a fixed length and you know that your buffer is adequate to receive it you won't have any advantage of using a circular buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understand it the libraries you reference don't have support for free-running UART DMA so you would need to develop it or use the uTasker solution (which also adds free running DMA UART reception to FreeRTOS based developments).&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 14:12:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-behavior-while-debugging/m-p/753135#M45884</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-06-06T14:12:11Z</dc:date>
    </item>
  </channel>
</rss>

