<?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: Debugging interrupt callback with MQX Lite crashes in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-interrupt-callback-with-MQX-Lite-crashes/m-p/316841#M271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems the problem has been logged in Service request too under the 1-1596204421 number.&lt;/P&gt;&lt;P&gt;I will check with the owner of this SR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pascal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Tue, 17 Jun 2014 14:41:16 GMT</pubDate>
    <dc:creator>trytohelp</dc:creator>
    <dc:date>2014-06-17T14:41:16Z</dc:date>
    <item>
      <title>Debugging interrupt callback with MQX Lite crashes</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-interrupt-callback-with-MQX-Lite-crashes/m-p/316840#M270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this is specific to KDS, MQX-Lite, or OpenSDA, but if I stick a breakpoint inside an interrupt callback while debugging an MQX-Lite application in KDS using OpenSDA, it hits the breakpoint and crashes.&amp;nbsp; No continuing at that point, I can't examine variables or do much of anything.&amp;nbsp; If I remove the breakpoint, the callback works fine and does what it should.&amp;nbsp; This is on a FRDM-KE06 with KDS 1.0.1 beta.&amp;nbsp; KDS stays alive, but I have to stop the debugger and cycle power on the FRDM-KE06 to restart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 19:17:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-interrupt-callback-with-MQX-Lite-crashes/m-p/316840#M270</guid>
      <dc:creator>davidsherman</dc:creator>
      <dc:date>2014-06-10T19:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging interrupt callback with MQX Lite crashes</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-interrupt-callback-with-MQX-Lite-crashes/m-p/316841#M271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems the problem has been logged in Service request too under the 1-1596204421 number.&lt;/P&gt;&lt;P&gt;I will check with the owner of this SR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pascal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Tue, 17 Jun 2014 14:41:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-interrupt-callback-with-MQX-Lite-crashes/m-p/316841#M271</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2014-06-17T14:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging interrupt callback with MQX Lite crashes</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-interrupt-callback-with-MQX-Lite-crashes/m-p/316842#M272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;not sure if your problem is the same thing what I was facing recently?&lt;/P&gt;&lt;P&gt;In my case the debugger was blocked in some cases while debugging an interrupt service routine.&lt;/P&gt;&lt;P&gt;The solution was to add&lt;/P&gt;&lt;P&gt;set backtrace limit 20&lt;/P&gt;&lt;P&gt;to the GDB options. this is described too in the KDS V1.1.0 release notes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;ENGR00316447, SO66: &lt;STRONG&gt;Breakpoints inside ISR&lt;/STRONG&gt;&lt;SPAN&gt;: The debugger is sometimes confused when hitting a breakpoint inside an interrupt service routine / exception handler and produces a lot of memory reads and output, effectively blocking debug operation. The issue seems to be related to some assembly instructions (&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="11213" data-containertype="14" data-objectid="327560" data-objecttype="1" href="https://community.freescale.com/thread/327560"&gt;https://community.freescale.com/thread/327560&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt; Workaround: Add &lt;BR /&gt; &lt;SPAN style="font-family: 'Courier New';"&gt;set backtrace limit 20&lt;BR /&gt; &lt;/SPAN&gt;to the gdb list of 'Command' in the debug/launch configuration (the value of 20 is an arbitrary number, but should be a small number), see &lt;A _jive_internal="true" href="https://community.nxp.com/thread/327560"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Helvetica','sans-serif';"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://community.freescale.com/thread/327560" target="test_blank"&gt;https://community.freescale.com/thread/327560&lt;/A&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 12:50:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-interrupt-callback-with-MQX-Lite-crashes/m-p/316842#M272</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-08-15T12:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging interrupt callback with MQX Lite crashes</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-interrupt-callback-with-MQX-Lite-crashes/m-p/316843#M273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes!&amp;nbsp; This seems to be the same problem.&amp;nbsp; I added that line to the debugger options, and this seems to fix it completely.&amp;nbsp; Much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 13:38:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-interrupt-callback-with-MQX-Lite-crashes/m-p/316843#M273</guid>
      <dc:creator>davidsherman</dc:creator>
      <dc:date>2014-08-15T13:38:43Z</dc:date>
    </item>
  </channel>
</rss>

