<?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 Kinetis debugger resume doesn't work on Cortex-M0+ processors. in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-debugger-resume-doesn-t-work-on-Cortex-M0-processors/m-p/699342#M42999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using Kinetis Design Studio (Eclipse) v3.2.0 and I'm having trouble getting the resume (F8) feature to work. My target is a&amp;nbsp;MKL17Z256xxx4 processor and I'm using a J-Link Plus from Segger v10.10. I'm running out of the flash. I am a newbie to Eclipse and to NXP processors in general so I apologize if this was already answered elsewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I start the firmware debugging it will stop at the main and I can resume from there and all is well. If I have a breakpoint preset somewhere it will stop and I can inspect things as expected, however any attempt to resume the serial ports are locked up. If I pause again it typically is in side an interrupt routine and looks like its running normally. I have 3 serial ports and and a number of timers running. If I break point early (before interrupts are running normally) I don't have this problem so it appears to be something to do with interrupts firing while I'm paused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect the peripheral interrupts are causing some problem and never recover, but its unclear what if anything can be done. I would have expected any interrupts to be serviced upon resume and eventually things would be running normally, but that doesn't appear to be the case. I have tried just a single hardware breakpoint but it makes no difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Aug 2017 19:20:48 GMT</pubDate>
    <dc:creator>nnewell</dc:creator>
    <dc:date>2017-08-16T19:20:48Z</dc:date>
    <item>
      <title>Kinetis debugger resume doesn't work on Cortex-M0+ processors.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-debugger-resume-doesn-t-work-on-Cortex-M0-processors/m-p/699342#M42999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using Kinetis Design Studio (Eclipse) v3.2.0 and I'm having trouble getting the resume (F8) feature to work. My target is a&amp;nbsp;MKL17Z256xxx4 processor and I'm using a J-Link Plus from Segger v10.10. I'm running out of the flash. I am a newbie to Eclipse and to NXP processors in general so I apologize if this was already answered elsewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I start the firmware debugging it will stop at the main and I can resume from there and all is well. If I have a breakpoint preset somewhere it will stop and I can inspect things as expected, however any attempt to resume the serial ports are locked up. If I pause again it typically is in side an interrupt routine and looks like its running normally. I have 3 serial ports and and a number of timers running. If I break point early (before interrupts are running normally) I don't have this problem so it appears to be something to do with interrupts firing while I'm paused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect the peripheral interrupts are causing some problem and never recover, but its unclear what if anything can be done. I would have expected any interrupts to be serviced upon resume and eventually things would be running normally, but that doesn't appear to be the case. I have tried just a single hardware breakpoint but it makes no difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 19:20:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-debugger-resume-doesn-t-work-on-Cortex-M0-processors/m-p/699342#M42999</guid>
      <dc:creator>nnewell</dc:creator>
      <dc:date>2017-08-16T19:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis debugger resume doesn't work on Cortex-M0+ processors.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-debugger-resume-doesn-t-work-on-Cortex-M0-processors/m-p/699343#M43000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please take screenshot or video to show how it is when pressing resume( F8)&amp;nbsp; on breakpoint of interrupt.&lt;/P&gt;&lt;P&gt;And I test on another kinetis board with KDSv3.2, it can work well when&amp;nbsp; I set breakpoint on UART interrupt function.&lt;/P&gt;&lt;P&gt;So I recommend you first can test a simple project only with UART , check whether it can work well. If yes, then anlysis&lt;/P&gt;&lt;P&gt;your project code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2017 06:42:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-debugger-resume-doesn-t-work-on-Cortex-M0-processors/m-p/699343#M43000</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-08-18T06:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis debugger resume doesn't work on Cortex-M0+ processors.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-debugger-resume-doesn-t-work-on-Cortex-M0-processors/m-p/699344#M43001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;I uploaded a video showing when the resume works and when it doesn't. &amp;nbsp;Once all the interrupts are running and there's activity the debugger's resume simply doesn't work, but during initialization it does. I'm new to Eclipse so its likely I haven't setup the debug configuration correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://youtu.be/3wkYBL7qgUs" style="color: #167ac6; background: #ffffff; border: 0px; text-decoration: none; font-size: 11px;" target="_blank"&gt;https://youtu.be/3wkYBL7qgUs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if the link doesn't work, I'm not particularly experienced with taking screen captures and so its also a bit jerky.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2017 04:04:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-debugger-resume-doesn-t-work-on-Cortex-M0-processors/m-p/699344#M43001</guid>
      <dc:creator>nnewell</dc:creator>
      <dc:date>2017-08-20T04:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis debugger resume doesn't work on Cortex-M0+ processors.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-debugger-resume-doesn-t-work-on-Cortex-M0-processors/m-p/699345#M43002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your sharing.&lt;/P&gt;&lt;P&gt;I think it has nothing with the "Resume", because I test on bareboard project without FreeRTOS, the resume can work well on interrupt function. The case&amp;nbsp; is how your code run with interrupt and tasks. &lt;/P&gt;&lt;P&gt;About the FreeRTOS project on KDS debug,&amp;nbsp; I recommend you have a look at this thread:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuoneclipse.com/2017/03/18/better-freertos-debugging-in-eclipse/" title="https://mcuoneclipse.com/2017/03/18/better-freertos-debugging-in-eclipse/"&gt;Better FreeRTOS Debugging in Eclipse | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 10:09:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-debugger-resume-doesn-t-work-on-Cortex-M0-processors/m-p/699345#M43002</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-08-21T10:09:36Z</dc:date>
    </item>
  </channel>
</rss>

