External Programming and Debugging

The SAM D20 Xplained Pro features a Cortex® Debug Connector (10-pin) for programming and debugging an external target. The connector is limited to the SWD interface and is intended for in-system programming and debugging of SAM D20 devices in the users final products.

The debug connector is connected to the on-board EDBG through level shifters and switches. When an external target voltage is detected, the EDBG will switch the SWD interface from the on-board target device to the external debug connector and the green LED next to the connector will be lit. The voltage of the external target must be between 1.6V and 5.0V.

Important: This connector can't be used for attaching an external debug unit for programming and debugging the on-board device.
Table 1. Cortex Debug Connector
Pin on connector Specification Function implemented
1 VCC VCC
2 SWDIO / TMS SWDIO
3 GND GND
4 SWDCLK / TCK SWDCLK
5 GND GND
6 SWO / TDO NC
7 KEY NC
8 NC / TDI NC
9 GNDDetect GND
10 nRESET nRESET