Serial Wire Debug

The Serial Wire Debug (SWD) interface use two pins to communicate with the target. For further information on how to use the programming and debugging capabilities of the EDBG, see the EDBG user guide.

Table 1. SWD Connections
Pin on SAM4N Function
PB7 SWD clock
PB6 SWD data
PB5 SWD trace output
PB12 Erase