The debug subsystem (DEBUGSS)
interfaces the serial wire debug (SWD) two-wire physical
interface to multiple debug functions within the device. MSPM0 devices
support debugging of processor execution, the device state, and the power state
(through EnergyTrace technology). The DEBUGSS also provides a mailbox
system for communicating with software through SWD.
Key features provided by the debug subsystem include:
- Two-wire (SWDIO, SWCLK) debug interface, compatible with both TI and 3rd party debug probes
- On-chip pullup and pulldown resistors for SWDIO and SWCLK, respectively, enabled by default
- Support for disabling SWD functions to use SWD pins as general-purpose input/output pins
- Can wake the device from SHUTDOWN mode on valid SWD activity
- Debug of the processor
- Run, halt, and step debug support
- 4 hardware breakpoints (BPU)
- 2 hardware watchpoints (DWT)
- Instruction trace of up to 4 branches through the Arm micro trace buffer (MTB)
- Unlimited software breakpoints
- Software-configurable peripheral behavior during processor debug
- Ability to free run select peripherals through debug halt
- Ability to halt select peripherals on a debug halt
- Ability to request reset and mode changes to the PMCU
- Monitoring of CPU state through EnergyTrace technology
- Mailbox (DSSM) for passing data and control signals between the SWD interface and boot ROM (as well as application software)
- Support for various security features, including SWD lockout and password authenticated debugging