Here is the information collected and some background
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.
Bootloader is at 0x0000
Application is at 0x4000
Application ResetISR is at 0x4156
I put a breakpoint at the App ResetISR
- Debug the application
- it breaks at the ResetISR
- press continue
- press pause
- press Reset button (in LPCXpresso)
- application does NOT stop at the ResetISR
- it appears that the debugger disconnects, but I'm not sure how to know for sure - what do I look for?
- The Debug task window still shows:
- Meter Release [... MCU Application]
- Meter.axf [212595665]
- Thread #0 [Suspended : Container]
- arm-none-eabi-gdb (7.8.0.21050604)
Here is the information you requested:
Debug Messages
LPCXpresso RedlinkMulti Driver v7.9 (Aug 11 2015 15:51:11 - crt_emu_cm_redlink build 486)
Found chip XML file in /Volumes/Ingenutec/Active Project Code/IPS/workspace/Meter/Release/LPC1756.xml
Probe Firmware: LPC-LINK2 CMSIS-DAP V5.112 (NXP Semiconductors)
VID:PID: 1FC9:0090
USB Path: USB_1fc9_0090_26200000_ff00
Emu(0): Connected&Reset. DpID: 2BA01477. CpuID: 410FC230. Info: <None>
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
loaded v.2 On-chip Flash Memory /Applications/lpcxpresso_7.9.2_493/lpcxpresso/bin/Flash/LPC175x_6x_256.cfx
image 'LPC175x_6x (256K) Aug 11 2015 16:53:23'
Connected: was_reset=false. was_stopped=false
LPCXpressoPro Full License - Unlimited
Writing 194624 bytes to address 0x00004000 in Flash
Progress meter completed at over 100% (196608/194624 bytes)
Erased/Wrote page 4-20 with 194624 bytes in 2661msec
Flash Write Done
Writing 8 bytes to address 0x0003FFF8 in Flash
Erased/Wrote page 21-21 with 8 bytes in 840msec
Flash Write Done
Flash Program Summary: 194631 bytes in 3.50 seconds (54.29 KB/sec)
Stopped (Was Reset) [Reset from Unknown]
Stopped: Breakpoint #1
Stopped: Step (Halt)
Stopped: Halt
Stopped: Breakpoint #1
Stopped: Breakpoint #1
arm-eabi-none-gdb console
GNU gdb (GNU Tools for ARM Embedded Processors) 7.8.0.20150604-cvs
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-apple-darwin10 --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
0x00023926 in SBL_RxReady () at ../sbl_drivers/lpc17xx/source/lpc17xx_sbl_i2c.c:73
73 if((I2C_DEV->I2CONSET & I2C_I2CONSET_SI) == 0)
Note: automatically using hardware breakpoints for read-only addresses.
Breakpoint 1, ResetISR () at ../src/cr_startup_lpc176x.c:276
276 ResetISR(void) {
Program received signal SIGINT, Interrupt.
0x00023aee in SBL_SlaveCmdRecv (pError=0x2007d83b <xHeap+6203>) at ../sbl/sbl_slave.c:103
103 *pError = FALSE;
Cannot access memory at address 0xa5a5a5a5
Quit
Breakpoint 1, ResetISR () at ../src/cr_startup_lpc176x.c:276
276 ResetISR(void) {
Breakpoint 1, ResetISR () at ../src/cr_startup_lpc176x.c:276
276 ResetISR(void) {
Redlink Server Console
[Started server]
[Connected on port 3025]
redlink>ProbeList
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.112
VID:PID = 1FC9:0090
Path = USB_1fc9_0090_26200000_ff00
redlink>ProbeStatus
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.112
VID = 1FC9, PID = 0090
Path = USB_1fc9_0090_26200000_ff00
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 1024
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = CMSIS-DAP
Probe Reference Count = 0
redlink>ProbeIsOpen 1
FALSE
redlink>ProbeOpenByIndex 1
Probe Handle 1 Open
redlink>WireIsConnected 1
FALSE
redlink>WireSwdConnect 1
DpID = 2BA01477
redlink>CoresConfigured 1
FALSE
redlink>CoreConfig 1
Number of CORES/TAPs = 1, Fully recognized: True
[Closed]
[Started server]
[Connected on port 3025]
redlink>ProbeStatus
redlink>exit
[Closed]
[Started server]
[Connected on port 3025]
redlink>ProbeList
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.112
VID:PID = 1FC9:0090
Path = USB_1fc9_0090_26200000_ff00
redlink>ProbeStatus
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.112
VID = 1FC9, PID = 0090
Path = USB_1fc9_0090_26200000_ff00
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 1024
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = CMSIS-DAP
Probe Reference Count = 0
redlink>ProbeIsOpen 1
FALSE
redlink>ProbeOpenByIndex 1
Probe Handle 1 Open
redlink>WireIsConnected 1
FALSE
redlink>WireSwdConnect 1
DpID = 2BA01477
redlink>CoresConfigured 1
FALSE
redlink>CoreConfig 1
Number of CORES/TAPs = 1, Fully recognized: True