<?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: How do I make the reset button work in debug in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568901#M19472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know the answer but just my point of view to this. I never ever tried to debug application when loaded through my custom bootloader. And never thought it could be possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're using different approach. To debug application code with LPCXpresso debugger, we've made different build configuration (with default linker command file) where the application normally compiles and runs without the need of a bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For debugging the application when loaded through bootloader we use ONEinspect, a real time debugger. We use its downloader feature as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2016 19:47:51 GMT</pubDate>
    <dc:creator>tomaskrysl</dc:creator>
    <dc:date>2016-08-30T19:47:51Z</dc:date>
    <item>
      <title>How do I make the reset button work in debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568892#M19463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the LPCXpresso IDE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a program and a bootloader.&amp;nbsp; I can successfully run and debug, jumping from the bootloader into my application code.&amp;nbsp; The one thing I can no longer do, since adding the bootloader, is use the reset button during debugging.&amp;nbsp; This means if I want to restart, I have to exit the debugger and restart the debugger, including flashing the application, which is kind of a pain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am guessing that the problem is related to moving the VectorTable.&amp;nbsp; The VT starts at zero for the bootloader, then right before calling my code, I update it to 0x4000 (the base of my app).&amp;nbsp; I'm guessing that when I press the reset button, not having the VTOR register pointing to the VT at 0x0000 is causing a problem.&amp;nbsp; How can I resolve this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just for reference, here is the code from my bootloader that launches the application:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #931a68;"&gt;unsigned&lt;/SPAN&gt; &lt;SPAN style="color: #931a68;"&gt;int&lt;/SPAN&gt; stack_adr = code_base_adr;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; stack_adr = *(&lt;SPAN style="color: #931a68;"&gt;unsigned&lt;/SPAN&gt; &lt;SPAN style="color: #931a68;"&gt;int&lt;/SPAN&gt;*) stack_adr;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __set_MSP(stack_adr);&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCB-&amp;gt;&lt;SPAN style="color: #0326cc;"&gt;VTOR&lt;/SPAN&gt; = code_base_adr;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; user_entry = (&lt;SPAN style="text-decoration: underline;"&gt;USER_ENTRY_PFN&lt;/SPAN&gt;)*((uint32_t*)(code_base_adr +4));&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (user_entry)();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2016 19:51:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568892#M19463</guid>
      <dc:creator>ingenutec</dc:creator>
      <dc:date>2016-08-03T19:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make the reset button work in debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568893#M19464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;you may check if you are right adding a couple of breakpoints on the Reset address or in the Reset Handler. I may suppose that the LpcXpresso reset button could be linked to the JTAG/SWD reset management.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I remember well SWD has direct access to the AIRCR that inside has 2 bits related to reset the microcontroller. I may suppose the reset button linked to SWD and asking a local reset of the mcu so it should be simple to verify and debug.&lt;/P&gt;&lt;P&gt;N.B. There is no so much documentation about AIRCR register.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 01:40:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568893#M19464</guid>
      <dc:creator>massimomanca</dc:creator>
      <dc:date>2016-08-04T01:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make the reset button work in debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568894#M19465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; T&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;he one thing I can no longer do, since adding the bootloader, is use the reset button during debugging&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have verified that, at some level on some boards, pressing reset does not disrupt the debugger's connection to the debug port on the board.&amp;nbsp; In principle, at this level, it should be possible to continue a debug session.&lt;/P&gt;&lt;P&gt;I have also found that some operations (e.g. single step) after &amp;lt;halt the processor&amp;gt; &amp;lt;reset the processor&amp;gt; trigger a fault in some of the versions of arm GDB that we supply with LPCXpresso (e.g. in LPCXpresso 8.2 I receive the message "Target error from Set break/watch: Et:96: Pseudo-address (0xFFFFFFxx) for EXC_RETURN is invalid (GDB error?)")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be quite interested to know exactly what your situation is and what actually happens after you use reset.&lt;/P&gt;&lt;P&gt;- could you let us see the 'Debug messages' (one of the consoles you can select in the console view )?&lt;/P&gt;&lt;P&gt;- and the arm-eabi-none-gdb console too&lt;/P&gt;&lt;P&gt;- and (if you are finding that the debug connection is dropped) the RedlinkServer console&lt;/P&gt;&lt;P&gt;The debug messages will be more useful (although much larger) if you set Preferences &amp;gt; LPCXpresso/Debug Options (advanced) : Extended Debug Trace (DEBUG_TRACE) to a value with lots of bits set such as 0xFFFFFF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Presumably you are doing something like&amp;nbsp; &amp;lt;halt the processor&amp;gt; &amp;lt;reset the processor&amp;gt; &amp;lt;something else&amp;gt;.&amp;nbsp; It would be useful to know which &amp;lt;something else&amp;gt; corresponds to any traces you supply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;gt; I have to exit the debugger and restart the debugger, including flashing the application, which is kind of a pain.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget that you can continue debugging an existing run - without re-flashing - by using the 'Attach only' feature.&amp;nbsp; You turn this by right-clicking on your project with Launch Configuration &amp;gt; Edit Current... :&amp;nbsp; Debugger Tab : 'Target Configuration' then edit the line in the table named 'Attach only' to True.&amp;nbsp; (Don't forget to set it back to False when you need to reboot again.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 09:24:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568894#M19465</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2016-08-04T09:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make the reset button work in debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568895#M19466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;may be I wasn't much clear, my suggestion is try to debug with a couple of breakpoint in the 2 address related to the reset vector(s) and click the Restart button in LpcXpresso. It is the button similar to Run with a yellow back arrow on it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 13:04:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568895#M19466</guid>
      <dc:creator>massimomanca</dc:creator>
      <dc:date>2016-08-04T13:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make the reset button work in debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568896#M19467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will collect the traces you request.&amp;nbsp;&amp;nbsp; When you say "on some boards, pressing reset...", you do mean the reset button in LPCXpresso, not the reset on the board, correct?&amp;nbsp; Specifically, I am referring to the reset (or restart) button in LPCXpresso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Don't forget that you can continue debugging an existing run - without re-flashing - by using the 'Attach only' feature.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Yes, and I use this often for other purposes, but not when I'm wanting to restart the app.&amp;nbsp; This approach doesn't help if, for example, I'm stuck in an infinite loop, or have hit a hardware exception, I just get re-attached to an app that is still stuck.&amp;nbsp; Generally, if I'm wanting to press the restart button, it's because I want my app to restart, just as if I had finished loading it and done a hardware reset.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 13:45:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568896#M19467</guid>
      <dc:creator>ingenutec</dc:creator>
      <dc:date>2016-08-04T13:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make the reset button work in debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568897#M19468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the information collected and some background&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using LPCXpresso 7.9.2 - I can't upgrade at the moment because I am working to get a product into certification and cannot afford to change any tool configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bootloader is at 0x0000&lt;/P&gt;&lt;P&gt;Application is at 0x4000&lt;/P&gt;&lt;P&gt;Application ResetISR is at 0x4156&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put a breakpoint at the App ResetISR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Debug the application&lt;/LI&gt;&lt;LI&gt;it breaks at the ResetISR&lt;/LI&gt;&lt;LI&gt;press continue&lt;/LI&gt;&lt;LI&gt;press pause&lt;/LI&gt;&lt;LI&gt;press Reset button (in LPCXpresso)&lt;/LI&gt;&lt;LI&gt;application does NOT stop at the ResetISR&lt;/LI&gt;&lt;LI&gt;it appears that the debugger disconnects, but I'm not sure how to know for sure - what do I look for?&lt;OL&gt;&lt;LI&gt;The Debug task window still shows:&lt;UL&gt;&lt;LI&gt;Meter Release [... MCU Application]&lt;UL&gt;&lt;LI&gt;Meter.axf [212595665]&lt;UL&gt;&lt;LI&gt;Thread #0 [Suspended : Container]&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;arm-none-eabi-gdb (7.8.0.21050604)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the information you requested:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3&gt;Debug Messages&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;LPCXpresso RedlinkMulti Driver v7.9 (Aug 11 2015 15:51:11 - crt_emu_cm_redlink build 486)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Found chip XML file in /Volumes/Ingenutec/Active Project Code/IPS/workspace/Meter/Release/LPC1756.xml&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Probe Firmware: LPC-LINK2 CMSIS-DAP V5.112 (NXP Semiconductors)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;VID:PID:&amp;nbsp; 1FC9:0090&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;USB Path: USB_1fc9_0090_26200000_ff00&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Emu(0): Connected&amp;amp;Reset. DpID: 2BA01477. CpuID: 410FC230. Info: &amp;lt;None&amp;gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;loaded v.2 On-chip Flash Memory /Applications/lpcxpresso_7.9.2_493/lpcxpresso/bin/Flash/LPC175x_6x_256.cfx&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;image 'LPC175x_6x (256K) Aug 11 2015 16:53:23'&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Connected: was_reset=false. was_stopped=false&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;LPCXpressoPro Full License - Unlimited&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Writing 194624 bytes to address 0x00004000 in Flash&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Progress meter completed at over 100% (196608/194624 bytes)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Erased/Wrote page&amp;nbsp; 4-20 with 194624 bytes in 2661msec&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Flash Write Done&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Writing 8 bytes to address 0x0003FFF8 in Flash&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Erased/Wrote page&amp;nbsp; 21-21 with 8 bytes in 840msec&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Flash Write Done&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Flash Program Summary: 194631 bytes in 3.50 seconds (54.29 KB/sec)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Stopped (Was Reset)&amp;nbsp; [Reset from Unknown]&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Stopped: Breakpoint #1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Stopped: Step (Halt)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Stopped: Halt&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Stopped: Breakpoint #1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Stopped: Breakpoint #1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3&gt;arm-eabi-none-gdb console&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;GNU gdb (GNU Tools for ARM Embedded Processors) 7.8.0.20150604-cvs&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Copyright (C) 2014 Free Software Foundation, Inc.&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&lt;SPAN&gt;License GPLv3+: GNU GPL version 3 or later &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgnu.org%2Flicenses%2Fgpl.html" rel="nofollow" target="_blank"&gt;http://gnu.org/licenses/gpl.html&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;This is free software: you are free to change and redistribute it.&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;There is NO WARRANTY, to the extent permitted by law.&amp;nbsp; Type "show copying"&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;and "show warranty" for details.&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;This GDB was configured as "--host=x86_64-apple-darwin10 --target=arm-none-eabi".&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Type "show configuration" for configuration details.&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;For bug reporting instructions, please see:&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fgdb%2Fbugs%2F" rel="nofollow" target="_blank"&gt;http://www.gnu.org/software/gdb/bugs/&lt;/A&gt;&lt;SPAN&gt;&amp;gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Find the GDB manual and other documentation resources online at:&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fgdb%2Fdocumentation%2F" rel="nofollow" target="_blank"&gt;http://www.gnu.org/software/gdb/documentation/&lt;/A&gt;&lt;SPAN&gt;&amp;gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;For help, type "help".&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Type "apropos word" to search for commands related to "word".&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;0x00023926 in SBL_RxReady () at ../sbl_drivers/lpc17xx/source/lpc17xx_sbl_i2c.c:73&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;73&amp;nbsp;&amp;nbsp; if((I2C_DEV-&amp;gt;I2CONSET &amp;amp; I2C_I2CONSET_SI) == 0)&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Note: automatically using hardware breakpoints for read-only addresses.&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Breakpoint 1, ResetISR () at ../src/cr_startup_lpc176x.c:276&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;276 ResetISR(void) {&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Program received signal SIGINT, Interrupt.&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;0x00023aee in SBL_SlaveCmdRecv (pError=0x2007d83b &amp;lt;xHeap+6203&amp;gt;) at ../sbl/sbl_slave.c:103&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;103&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *pError = FALSE;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #ff2600;"&gt;Cannot access memory at address 0xa5a5a5a5&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #ff2600;"&gt;Quit&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Breakpoint 1, ResetISR () at ../src/cr_startup_lpc176x.c:276&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;276 ResetISR(void) {&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Breakpoint 1, ResetISR () at ../src/cr_startup_lpc176x.c:276&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;276 ResetISR(void) {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3&gt;Redlink Server Console&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;[Started server]&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;[Connected on port 3025]&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;ProbeList&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Index = 1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Manufacturer = NXP Semiconductors&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Description = LPC-LINK2 CMSIS-DAP V5.112&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;VID:PID = 1FC9:0090&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Path = USB_1fc9_0090_26200000_ff00&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;ProbeStatus&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Index = 1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Manufacturer = NXP Semiconductors&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Description = LPC-LINK2 CMSIS-DAP V5.112&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;VID = 1FC9, PID = 0090&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Path = USB_1fc9_0090_26200000_ff00&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;IsOpen = FALSE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;WireInitialized = FALSE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;WireProtocol = JTAG&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;CoresConfigured = FALSE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;PacketSize = 1024&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Reference Count = 0&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;HasSWV = FALSE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;HasETM = FALSE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;HasJTAG = TRUE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;HasSWD = TRUE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Probe Type = CMSIS-DAP&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Probe Reference Count = 0&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;ProbeIsOpen 1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;FALSE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;ProbeOpenByIndex 1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Probe Handle 1 Open&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;WireIsConnected 1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;FALSE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;WireSwdConnect 1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;DpID = 2BA01477&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;CoresConfigured 1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;FALSE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;CoreConfig 1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Number of CORES/TAPs = 1, Fully recognized: True&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;[Closed]&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;[Started server]&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;[Connected on port 3025]&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;ProbeStatus&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;exit&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;[Closed]&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;[Started server]&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;[Connected on port 3025]&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;ProbeList&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Index = 1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Manufacturer = NXP Semiconductors&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Description = LPC-LINK2 CMSIS-DAP V5.112&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;VID:PID = 1FC9:0090&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Path = USB_1fc9_0090_26200000_ff00&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;ProbeStatus&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Index = 1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Manufacturer = NXP Semiconductors&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Description = LPC-LINK2 CMSIS-DAP V5.112&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;VID = 1FC9, PID = 0090&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Path = USB_1fc9_0090_26200000_ff00&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;IsOpen = FALSE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;WireInitialized = FALSE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;WireProtocol = JTAG&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;CoresConfigured = FALSE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;PacketSize = 1024&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Reference Count = 0&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;HasSWV = FALSE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;HasETM = FALSE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;HasJTAG = TRUE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;HasSWD = TRUE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Probe Type = CMSIS-DAP&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Probe Reference Count = 0&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;ProbeIsOpen 1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;FALSE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;ProbeOpenByIndex 1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Probe Handle 1 Open&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;WireIsConnected 1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;FALSE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;WireSwdConnect 1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;DpID = 2BA01477&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;CoresConfigured 1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;FALSE&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;redlink&amp;gt;CoreConfig 1&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco;"&gt;Number of CORES/TAPs = 1, Fully recognized: True&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Aug 2016 18:55:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568897#M19468</guid>
      <dc:creator>ingenutec</dc:creator>
      <dc:date>2016-08-07T18:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make the reset button work in debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568898#M19469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any update on this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2016 15:42:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568898#M19469</guid>
      <dc:creator>ingenutec</dc:creator>
      <dc:date>2016-08-15T15:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make the reset button work in debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568899#M19470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I currently can't see any simple way of being able to use the Restart button within the IDE for debugging through a bootloader like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could maybe try setting the PC and SP register contents manually back to the&amp;nbsp; corresponding values in the vector table of your main application image?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;LPCXpresso Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 12:49:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568899#M19470</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2016-08-16T12:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make the reset button work in debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568900#M19471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain why it won't work?&amp;nbsp; What does the reset button do, does it trigger a HW reset? Does triggering a HW reset (e.g. if I put an external reset hw reset button) cause the debugger to disconnect?&amp;nbsp; Is that what's happening, is that why it's not working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pressing the LPCXpresso reset button the first time, does appear to reset the application correctly, it's just that after that, the debugger doesn't seem to work correctly and I can't use the reset button a second time.&amp;nbsp; Is that because the reset caused the debugger to disconnect?&amp;nbsp; How do you know the debugger disconnected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 13:32:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568900#M19471</guid>
      <dc:creator>ingenutec</dc:creator>
      <dc:date>2016-08-16T13:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make the reset button work in debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568901#M19472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know the answer but just my point of view to this. I never ever tried to debug application when loaded through my custom bootloader. And never thought it could be possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're using different approach. To debug application code with LPCXpresso debugger, we've made different build configuration (with default linker command file) where the application normally compiles and runs without the need of a bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For debugging the application when loaded through bootloader we use ONEinspect, a real time debugger. We use its downloader feature as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 19:47:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-do-I-make-the-reset-button-work-in-debug/m-p/568901#M19472</guid>
      <dc:creator>tomaskrysl</dc:creator>
      <dc:date>2016-08-30T19:47:51Z</dc:date>
    </item>
  </channel>
</rss>

