ON Semiconductor
www.onsemi.com
37
Figure 44. Startup Tab: Debug Session that Connects to the Running Target
NOTE: If you are having trouble connecting to the running target, you can perform a software recovery
by setting the Reset Type to 1 in the Debug session configuration as shown in Figure 44. The
default Reset type is set to 0, which only resets the Arm Cortex-M3 core and leaves the device/
peripherals in a state where the J-Link cannot reconnect. By setting it to 1, you ensure that not
only the Arm Cortex-M3 core is reset, but also all the peripherals. If this does not work, see
Section 6.4.1, “Downloading Firmware in Sleep Mode” on page 40 for more ideas.
5. Start the first debug session (which initiates target restart). Once the target is halted at
main
, resume the