<?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 running program in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/debugging-running-program/m-p/532536#M3121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Tue Jan 28 13:57:21 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi internav,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please explain in details about your program flow? I think it is not there in your post. I suppose you are jumping to secondary bootloader&amp;nbsp; after some time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any way for better help and support please post details.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:06:22 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:06:22Z</dc:date>
    <item>
      <title>debugging running program</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/debugging-running-program/m-p/532531#M3116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by internav on Tue Jan 28 09:20:29 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;how do you attach to a running program?&amp;nbsp; I am using lpcxpresso 6.1.4 and the target is a lpc1113/302.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In FAQ there is a topic on this and when i go to edit launch config, the debugger tab is different.&amp;nbsp; There is no target tab and no place to change the attach setting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what am I missing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:06:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/debugging-running-program/m-p/532531#M3116</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: debugging running program</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/debugging-running-program/m-p/532532#M3117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Jan 28 09:30:16 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You have chosen a "C/C++ Application" instead of the "C/C++ (NXP Semiconductors) MCU Application", which is why you see a different configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The simplest way to create this is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Delete your existing launch configuration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Create a new C/C++ (NXP Semiconductors)..." launch configuration&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And edit it as described in the FAQ. We will update the FAQ to make this more obvious,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:06:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/debugging-running-program/m-p/532532#M3117</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: debugging running program</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/debugging-running-program/m-p/532533#M3118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by internav on Tue Jan 28 11:54:18 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Great that works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the secondary bootloader to load another program.&amp;nbsp; Now that I load the debug session, I find I'm in the NMI handler.&amp;nbsp; I put a while(1) at the start of my main but i don't get that far.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So how do I trace- find out where I go wrong in the cr_startup_lpc11 startup code?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:06:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/debugging-running-program/m-p/532533#M3118</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: debugging running program</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/debugging-running-program/m-p/532534#M3119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Tue Jan 28 12:14:04 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi internav,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please put breakpoint in the function ResetISR(void) in file cr_startup_lpc11.c . The debug using step by step approach. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:06:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/debugging-running-program/m-p/532534#M3119</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: debugging running program</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/debugging-running-program/m-p/532535#M3120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by internav on Tue Jan 28 13:16:40 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't see how this will work.&amp;nbsp; The code is loaded in flash with secondary&amp;nbsp; bootloader.&amp;nbsp; so i power up and&amp;nbsp; attach with emulator, and i'm already dead.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:06:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/debugging-running-program/m-p/532535#M3120</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: debugging running program</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/debugging-running-program/m-p/532536#M3121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Tue Jan 28 13:57:21 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi internav,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please explain in details about your program flow? I think it is not there in your post. I suppose you are jumping to secondary bootloader&amp;nbsp; after some time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any way for better help and support please post details.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:06:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/debugging-running-program/m-p/532536#M3121</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: debugging running program</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/debugging-running-program/m-p/532537#M3122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by internav on Tue Jan 28 18:58:35 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My mistake, the flash was corrupt.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now with the secondary bootloader and my program in flash, I can attach and debug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But now the uart interrupt routine returns to neverland.&amp;nbsp; If my program is linked with the default script, ir runs fine in standalone mode.&amp;nbsp; With my script, it returns wrong.&amp;nbsp; here are the script files.&amp;nbsp; The code begins at 0x2000 and the bootloader has been changed from the normal 0x1000 to 0x2000 for the redirection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;added later:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the system tick and that interrupt works fine.&amp;nbsp; Neither the systick or uart isrs are used in the bootloader.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tell me what other details you want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:06:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/debugging-running-program/m-p/532537#M3122</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:06:22Z</dc:date>
    </item>
  </channel>
</rss>

