SPRUJF2A March 2026 – March 2026 AM13E23019
The DEBUGSS supports maintaining a debug connection through SWD/JTAG in all operating modes except SHUTDOWN. In SHUTDOWN mode, the DEBUGSS supports wakeup of the device to regain full access only via SWD connection.
By default access to device memory and peripherals is possible in RUN mode and SLEEP mode, in which a debug probe can be actively connected to the AHB-AP access port to interface with the processor. In STOP and STANDBY modes, a debug connection can be established and/or maintained with the DEBUGSS, but not with the CPU debug access port. The PWR-AP of the DEBUGSS allows an overwrite of the default behavior to keep access to the processor interface established while being in STOP or STANDBY mode.
In SHUTDOWN mode, any active debug connection is terminated as the debug logic is powered down with the device VCORE. While a debug connection to the DEBUGSS is not possible while the device is in SHUTDOWN mode, a debug probe can cause the device to exit SHUTDOWN mode by attempting to communicate with the SWD pins. The device detects any attempted SWD debug requests even when the device is in SHUTDOWN. If activity is detected, a SHUTDOWN exit is initiated and the device transitions through a BOR state, after which a debug connection can be made to the DEBUGSS through SWD/JTAG.
The DEBUGSS functionality by operating mode is given in Table 33-4.
| Capability | RUN | SLEEP | STOP | STANDBY | SHUTDOWN | NRST HOLD |
|---|---|---|---|---|---|---|
| Processor debug | Y | Y | N | N | N | N |
| Memory map access | Y | Y | N | N | N | N |
| Debug status through SWJ-DP | Y | Y | Y | Y | N | Y |
| Debug state maintained | Y | Y | Y | Y | N | N |
| Wake from SWD | - | - | - | - | Y | - |