2.3 Programming Interface

This device uses the two-wire Serial Wire Debug (SWD) for all user debug, programming and emulation features. For more information on the SWD interface, refer to the ARM Core-sight Documentation.

The SWD consists of two lines:
  • SWDIO – A bidirectional data line
  • SWCLK – A clock driven by the debugger/programmer

When designing the debug header, it is common to also include the RESET pin (MCLR pin) and one pin for sensing the target board voltage in addition to ground.