60.7 Programming and Debug Ports

For programming and debugging the SAM D5x/E5x, the device must be connected using the Serial Wire Debug (SWD) and interface. Currently the SWD interface is supported by several Microchip and third party programmers and debuggers, like the Atmel-ICE, SAM-ICE or SAM D5x/E5x Xplained Pro (SAM D5x/E5x evaluation kit) embedded debugger.

Refer to the Atmel-ICE, SAM-ICE or SAM D5x/E5x Xplained Pro user guides for details on debugging and programming connections and options. For connecting to any other programming or debugging tool, refer to that specific programmer or debugger’s user guide.

The SAM D5x/E5x Xplained Pro evaluation board supports programming and debugging through the onboard embedded debugger, hence no external programmer or debugger is needed.

Important: A pull-up resistor on the SWCLK pin is critical for reliable operation.
Figure 60-13. SWCLK Circuit Connections
Note: JTAG and Serial Wire Interface recommendations can be found in the “Basic 32-Bit MCU Design and Troubleshooting Checklist” guide, available on the Microchip web site, www.microchip.com/ .
Table 60-6. SWCLK Circuit Connections
Pin NameDescriptionRecommended Pin Connection
SWCLKSerial wire clock pinPull-up resistor 1 kΩ