ON Semiconductor
www.onsemi.com
39
Figure 46. Debug Session Perspective when Debug Connection is Lost
7. Stop the debug session and click on the
Terminate
icon to remove all terminated targets (see Figure 47).
Figure 47. Terminate Targets Icon
8. After the target exits Deep Sleep Mode, it is running in the infinite loop (step 1), and we can connect to the
running target by starting the second debug session (see Figure 48). Note that the debugger is able to reattach
to the running target and halt the processor after waking up from sleep.