<?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: Debug doesnt work if program is located at 0x1000 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Debug-doesnt-work-if-program-is-located-at-0x1000/m-p/1798590#M55291</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202847"&gt;@_Ferrari_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A id="link_13" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160756" target="_self" aria-label="View Profile of luimarma"&gt;&lt;SPAN class=""&gt;luimarma&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;is right.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just add based on comments from&amp;nbsp;&lt;A id="link_13" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160756" target="_self" aria-label="View Profile of luimarma"&gt;&lt;SPAN class=""&gt;luimarma&lt;/SPAN&gt;&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;If you just want to debug, there is a method as below.&lt;/P&gt;
&lt;P&gt;make sure that "soft reset" is used once the app is programmed in flash at the given address, forcing the debug stub/server to use the entry point found in the app.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1706696175995.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/261029i9B9D92EE5AE6B296/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1706696175995.png" alt="Alice_Yang_0-1706696175995.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2024 10:17:04 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2024-01-31T10:17:04Z</dc:date>
    <item>
      <title>Debug doesnt work if program is located at 0x1000</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Debug-doesnt-work-if-program-is-located-at-0x1000/m-p/1796400#M55240</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I developed a simple program on LPC55S28-EVK board that turns ON and OFF the on board RGB LEDs.&lt;/P&gt;&lt;P&gt;It works perfectly and I can debug it.&lt;/P&gt;&lt;P&gt;But if I move the software from default location (0x00000) to 0x10000 the program works but it is not possible to debug it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_Ferrari__1-1706457934319.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260396i25CAEA7435DC4FF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_Ferrari__1-1706457934319.png" alt="_Ferrari__1-1706457934319.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you have similar problem ? How did you fix it ?&lt;/P&gt;&lt;P&gt;Thank you very much for your help and cooperation&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2024 16:05:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Debug-doesnt-work-if-program-is-located-at-0x1000/m-p/1796400#M55240</guid>
      <dc:creator>_Ferrari_</dc:creator>
      <dc:date>2024-01-28T16:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Debug doesnt work if program is located at 0x1000</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Debug-doesnt-work-if-program-is-located-at-0x1000/m-p/1796838#M55249</link>
      <description>&lt;P&gt;I believe that you need a second boot loader that points to 0x10000 so you jump to the correct location within the debugger.&lt;/P&gt;&lt;P&gt;At least this happens for me, if I have not installed the second boot loader then the debugger cannot find the code. When the SBL is installed it jumps to 0x10000 and then I get the break point at my main function to resume the debugging&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 12:09:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Debug-doesnt-work-if-program-is-located-at-0x1000/m-p/1796838#M55249</guid>
      <dc:creator>luimarma</dc:creator>
      <dc:date>2024-01-29T12:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Debug doesnt work if program is located at 0x1000</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Debug-doesnt-work-if-program-is-located-at-0x1000/m-p/1798590#M55291</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202847"&gt;@_Ferrari_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A id="link_13" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160756" target="_self" aria-label="View Profile of luimarma"&gt;&lt;SPAN class=""&gt;luimarma&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;is right.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just add based on comments from&amp;nbsp;&lt;A id="link_13" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160756" target="_self" aria-label="View Profile of luimarma"&gt;&lt;SPAN class=""&gt;luimarma&lt;/SPAN&gt;&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;If you just want to debug, there is a method as below.&lt;/P&gt;
&lt;P&gt;make sure that "soft reset" is used once the app is programmed in flash at the given address, forcing the debug stub/server to use the entry point found in the app.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1706696175995.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/261029i9B9D92EE5AE6B296/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1706696175995.png" alt="Alice_Yang_0-1706696175995.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 10:17:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Debug-doesnt-work-if-program-is-located-at-0x1000/m-p/1798590#M55291</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-01-31T10:17:04Z</dc:date>
    </item>
  </channel>
</rss>

