<?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: KDS debugging a bootloader</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-debugging-a-bootloader/m-p/440225#M4100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ohad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately this is a CodeWarrior feature that was not implemented in KDS. One alternative is to flash both the bootloader and application to the MCU but you will only be able to normally debug one of them, for the other you will just see the assembly information. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look to the following document, it might be helpful for you: &lt;A href="https://community.nxp.com/docs/DOC-328202"&gt;Merging applications using Kinetis Design Studio&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Oct 2015 23:29:36 GMT</pubDate>
    <dc:creator>Carlos_Mendoza</dc:creator>
    <dc:date>2015-10-30T23:29:36Z</dc:date>
    <item>
      <title>KDS debugging a bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-debugging-a-bootloader/m-p/440224#M4099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I used to work with CW where there was a way to create a task for the debug configuration to run before starting the debug session.&lt;/P&gt;&lt;P&gt;In the task I used to flash another executable (In my case it was a bootloader application) that I wanted to debug.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's the proper way to do this in KDS? I want to be able to run my application and debug it as well as the bootloader.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a picture of this option in CW:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="93179_93179.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120738iA476608C9A574C9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="93179_93179.jpg" alt="93179_93179.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="DebuggerOption.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26525iAE7E2745758643B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="DebuggerOption.jpg" alt="DebuggerOption.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 09:26:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-debugging-a-bootloader/m-p/440224#M4099</guid>
      <dc:creator>ohadbenjamin</dc:creator>
      <dc:date>2015-10-29T09:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: KDS debugging a bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-debugging-a-bootloader/m-p/440225#M4100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ohad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately this is a CodeWarrior feature that was not implemented in KDS. One alternative is to flash both the bootloader and application to the MCU but you will only be able to normally debug one of them, for the other you will just see the assembly information. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look to the following document, it might be helpful for you: &lt;A href="https://community.nxp.com/docs/DOC-328202"&gt;Merging applications using Kinetis Design Studio&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 23:29:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-debugging-a-bootloader/m-p/440225#M4100</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-10-30T23:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: KDS debugging a bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-debugging-a-bootloader/m-p/440226#M4101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;KDS is using GDB which has a lot of functions with command lines.&lt;/P&gt;&lt;P&gt;Both in the Startup and Debugger tab you have ways to execute gdb commands:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51770i2477DE879A0AFF58/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51821i64FF0C188DB4B9D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The commands for the server depend on your debug connection (see &lt;A href="http://mcuoneclipse.com/2015/03/25/command-line-programming-and-debugging-with-gdb/" title="http://mcuoneclipse.com/2015/03/25/command-line-programming-and-debugging-with-gdb/"&gt;Command Line Programming and Debugging with GDB | MCU on Eclipse&lt;/A&gt; ).&lt;/P&gt;&lt;P&gt;I have not explored the details, but I think you should be able to do what you need with these commands.&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>Sat, 31 Oct 2015 07:15:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-debugging-a-bootloader/m-p/440226#M4101</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-10-31T07:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: KDS debugging a bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-debugging-a-bootloader/m-p/440227#M4102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks I'll give it a try.&lt;/P&gt;&lt;P&gt;I'll post back, if I get it working...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 20:25:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-debugging-a-bootloader/m-p/440227#M4102</guid>
      <dc:creator>ohadbenjamin</dc:creator>
      <dc:date>2015-11-02T20:25:49Z</dc:date>
    </item>
  </channel>
</rss>

