<?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 Design Studio中的主题 Re: BUG: KDS debug fails with Segger JLink</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Not-a-bug-KDS-breakpoints-don-t-work-with-Segger-JLink/m-p/654069#M8563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bingo, that's it, Thanks Erich!&lt;BR /&gt;I've no idea how that got set, and didn't even know the icon existed (neither did Segger; I'll pass it along).&lt;BR /&gt;Thanks again,&lt;BR /&gt;Best Regards, Dave&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I'm still not seeing the call stack - any ideas??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2016 16:28:42 GMT</pubDate>
    <dc:creator>davenadler</dc:creator>
    <dc:date>2016-12-06T16:28:42Z</dc:date>
    <item>
      <title>Not a bug: KDS breakpoints don't work with Segger JLink</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Not-a-bug-KDS-breakpoints-don-t-work-with-Segger-JLink/m-p/654067#M8561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note: This post was split into the solved portion below, and a separate bug report (missing call stack, debugger crash).&lt;BR /&gt;Thanks to Erich for explaining the problem below.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;K64F Freedom board, KDS 3.2.0 with all available updates installed, Windows 8 64-bit host.&lt;/P&gt;&lt;P&gt;Latest J-link updates are installed: JLink_V612a dated 2-December (KDS and J-link firmware both updated).&lt;BR /&gt;While KDS mostly works for an LED blinky application we're having serious problems with anything non-trivial (like our application).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We gave up on the NXP-provided OpenSDA SWD interface as it was too slow and buggy. &lt;BR /&gt;Purchased a couple of Segger J-Link Base units, cut the required traces on the Freedom board, and gave it a try...&lt;/P&gt;&lt;P&gt;Many things work for my C/C++ application; with J-Link I can:&lt;/P&gt;&lt;P&gt;- download into flash (15x faster than NXP-provided programming),&lt;BR /&gt; - start a debug session,&lt;BR /&gt; - catch a breakpoint coded as "__asm("bkpt #0");"&lt;BR /&gt; - examine variables (both stack and static)&lt;BR /&gt; - pause and continue execution&lt;BR /&gt; - single step&lt;/P&gt;&lt;P&gt;Unfortunately I cannot:&lt;BR /&gt; - set a breakpoint in KDS IDE (it tries, but shows a funny line through Eclipse breakpoint symbol)&lt;BR /&gt; - see a stack call trace when the program is paused (though it shows the current routine)&lt;BR /&gt; &lt;BR /&gt; Below are snapshots of:&lt;BR /&gt; - the funny not-set breakpoints,&lt;/P&gt;&lt;P&gt;Segger has confirmed these are problems with KDS.&lt;/P&gt;&lt;P&gt;Is there any hope of getting these problems fixed?&lt;/P&gt;&lt;P&gt;Would you recommend using a different development environment for non-trivial applications on K64F?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; Thanks,&lt;BR /&gt; Best Regards, Dave&lt;BR /&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="171037_171037.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122609i8942205B31E333B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="171037_171037.PNG" alt="171037_171037.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="JLink_cant_set_breakpoints.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13274i7BDF54D460A4ADB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="JLink_cant_set_breakpoints.PNG" alt="JLink_cant_set_breakpoints.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 15:05:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Not-a-bug-KDS-breakpoints-don-t-work-with-Segger-JLink/m-p/654067#M8561</guid>
      <dc:creator>davenadler</dc:creator>
      <dc:date>2016-12-06T15:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: BUG: KDS debug fails with Segger JLink</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Not-a-bug-KDS-breakpoints-don-t-work-with-Segger-JLink/m-p/654068#M8562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;from your screenshots and breakpoint icons I see that you have turned on 'skipping all breakpoints' in Eclipse for your project?&lt;/P&gt;&lt;P&gt;See &lt;A class="link-titled" href="https://mcuoneclipse.com/2013/02/19/skipping-breakpoints/" title="https://mcuoneclipse.com/2013/02/19/skipping-breakpoints/"&gt;Skipping Breakpoints | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With this, the breakpoints will not be set. I assume you have turned on that feature accidentially?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 15:16:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Not-a-bug-KDS-breakpoints-don-t-work-with-Segger-JLink/m-p/654068#M8562</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-12-06T15:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: BUG: KDS debug fails with Segger JLink</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Not-a-bug-KDS-breakpoints-don-t-work-with-Segger-JLink/m-p/654069#M8563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bingo, that's it, Thanks Erich!&lt;BR /&gt;I've no idea how that got set, and didn't even know the icon existed (neither did Segger; I'll pass it along).&lt;BR /&gt;Thanks again,&lt;BR /&gt;Best Regards, Dave&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I'm still not seeing the call stack - any ideas??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 16:28:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Not-a-bug-KDS-breakpoints-don-t-work-with-Segger-JLink/m-p/654069#M8563</guid>
      <dc:creator>davenadler</dc:creator>
      <dc:date>2016-12-06T16:28:42Z</dc:date>
    </item>
  </channel>
</rss>

