ON Semiconductor
www.onsemi.com
33
set {int} &__VTOR = ISR_Vector_Table
set $sp = *((int *) &ISR_Vector_Table)
Figure 39. Setting Up a GDB Launch Configuration, Startup Tab
6.3 Arm Cortex-M3 Core Breakpoints
A maximum of two hardware breakpoints can be set at a given time. If you need more than two breakpoints, you
can use the Unlimited Flash Breakpoints feature available through J-Link.
6.4 D
EBUGGING
WITH
L
OW
P
OWER
S
LEEP
M
ODE
Debugging applications that use sleep mode is a challenging task because the hardware debug logic and system
clocks are powered down when the device goes to sleep. Therefore, the debug session cannot be kept alive between
sleep cycles.
IMPORTANT: You can use hardware breakpoints when using the debugger with the Arm Cortex-M3 core, but
software breakpoints cannot be used with the flash overlay. Writing to flash memory does not place breakpoints
within the overlay, so any attempt to use software breakpoints would be ineffective.