<?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: Advanced debug configuration in KDS in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Advanced-debug-configuration-in-KDS/m-p/314716#M258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To answer the second question:&lt;/P&gt;&lt;P&gt;'set program counter at (hex)' does exactly what it says: after downloading it sets the program counter (PC register) at the provided hexadecimal value.&lt;/P&gt;&lt;P&gt;So if you want that after downloading your program starts from address 0x564, then enter 564 here.&lt;/P&gt;&lt;P&gt;But there are a few things to consider which depend on the debug connection (and GDB/debugger) implementation:&lt;/P&gt;&lt;P&gt;If you want to see the effect, disable the other options (see below). Mainly because for example the Pre-run and reset and halt will overwrite your pre-configured program counter. If you download your program like this, you should see that the program counter (PC) is set to that value (check the registers view).&lt;/P&gt;&lt;P&gt;However, be careful with this: you need to ensure that all the other things are configured properly (e.g. FP/Stack pointer, etc).&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/44243i5460CA057EC87EFA/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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2014 14:15:53 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2014-06-05T14:15:53Z</dc:date>
    <item>
      <title>Advanced debug configuration in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Advanced-debug-configuration-in-KDS/m-p/314715#M257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to program only part of the Flash memory for my micro K60FN1M0 on the TWR-K60F120M board via OSJTAG. Before, I was using CW10.6 and I could easily do that from this page:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="12245_12245.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119818i8CB4C7577450A7AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="12245_12245.png" alt="12245_12245.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/44014iDB3BFAF05F062A67/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But in KDS, I didn't find a similar page,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;So does it exist in KDS? If not, will it be included in KDS in the future versions?&lt;/LI&gt;&lt;LI&gt;Anyway, in order to achieve the same function, is there any other way to do this？&lt;/LI&gt;&lt;/UL&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also find this option both in CW and KDS.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="12246_12246.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119819iDC53C955B9474D37/image-size/large?v=v2&amp;amp;px=999" role="button" title="12246_12246.png" alt="12246_12246.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/44125i83EF35DE267698E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What is it used for?&lt;/LI&gt;&lt;/UL&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks &lt;SPAN aria-label="Happy" class="emoticon_happy emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kenan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 12:42:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Advanced-debug-configuration-in-KDS/m-p/314715#M257</guid>
      <dc:creator>kenansun</dc:creator>
      <dc:date>2014-06-05T12:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced debug configuration in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Advanced-debug-configuration-in-KDS/m-p/314716#M258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To answer the second question:&lt;/P&gt;&lt;P&gt;'set program counter at (hex)' does exactly what it says: after downloading it sets the program counter (PC register) at the provided hexadecimal value.&lt;/P&gt;&lt;P&gt;So if you want that after downloading your program starts from address 0x564, then enter 564 here.&lt;/P&gt;&lt;P&gt;But there are a few things to consider which depend on the debug connection (and GDB/debugger) implementation:&lt;/P&gt;&lt;P&gt;If you want to see the effect, disable the other options (see below). Mainly because for example the Pre-run and reset and halt will overwrite your pre-configured program counter. If you download your program like this, you should see that the program counter (PC) is set to that value (check the registers view).&lt;/P&gt;&lt;P&gt;However, be careful with this: you need to ensure that all the other things are configured properly (e.g. FP/Stack pointer, etc).&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/44243i5460CA057EC87EFA/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 14:15:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Advanced-debug-configuration-in-KDS/m-p/314716#M258</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-06-05T14:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced debug configuration in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Advanced-debug-configuration-in-KDS/m-p/314717#M259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kenan,&lt;/P&gt;&lt;P&gt;I did some research, and have found today a way how you can preserve memory ranges with the P&amp;amp;E GDB server:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2014/07/13/preserving-memory-ranges-with-eclipse-and-pe-gdb-server/" title="http://mcuoneclipse.com/2014/07/13/preserving-memory-ranges-with-eclipse-and-pe-gdb-server/"&gt;http://mcuoneclipse.com/2014/07/13/preserving-memory-ranges-with-eclipse-and-pe-gdb-server/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Jul 2014 18:22:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Advanced-debug-configuration-in-KDS/m-p/314717#M259</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-07-13T18:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced debug configuration in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Advanced-debug-configuration-in-KDS/m-p/314718#M260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. I've already seen your post and it's awesome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with you. The configuration of memory protection is not that easy in KDS as in CW10. I'll try later to do the same job as you, but I'm still very hopeful to see a GUI version:smileyhappy:&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;Kenan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 08:19:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Advanced-debug-configuration-in-KDS/m-p/314718#M260</guid>
      <dc:creator>kenansun</dc:creator>
      <dc:date>2014-07-15T08:19:47Z</dc:date>
    </item>
  </channel>
</rss>

