Connecons
User Guide
© 2023 Microchip Technology Inc. and its subsidiaries
DS-50003529B - 20
Figure 3-8. JTAG Interface Basics
Vcc
TMS
TDI
TDO
TCK
Programmer/
debugger
Target
device
3.3.4.1.1 Connecng to a SAM JTAG Target
The MPLAB ICD 5 using the 3.3.4. SAM MCUs - JTAG/SWD Interfaces provides a legacy 10-pin 50-mil
JTAG connection as well as a legacy 20-pin 100-mil JTAG connection.
Direct Connection to a 10-pin 50-mil Header
Use the 10-pin 50-mil at cable to connect directly to a target board with headers complying with
the Arm
®
Cortex
®
Debug header pinout shown in 3.3.4.1.2. SAM JTAG Pinout (Cortex-M debug
connector).
Direct Connection to a 20-pin 100-mil Header
Plug the adapter board into targets with a 20-pin 100-mil header.
3.3.4.1.2 SAM JTAG Pinout (Cortex
®
-M debug connector)
When designing an application PCB which includes a Microchip SAM with the JTAG interface, it is
recommended to use the pinout as shown in the gure below.
Figure 3-9. SAM JTAG Header Pinout
TMS
TCK
TDO
TDI
nRESET
VCC
GND
GND
(KEY)
GND
1 2
SAM JTAG
Table 3-5. SAM JTAG Pin Descripon
Name Pin Description
TCK 4 Test Clock (clock signal from the MPLAB ICD 5 into the target device).
TMS 2 Test Mode Select (control signal from the MPLAB ICD 5 into the target device).
TDI 8 Test Data In (data transmitted from the MPLAB ICD 5 into the target device).
TDO 6 Test Data Out (data transmitted from the target device into the MPLAB ICD 5).
nRESET 10 Reset (optional).
VTG 1 Target voltage reference. Not used by MPLAB ICD 5.
GND 3, 5, 9 Ground. All must be connected to ensure that the MPLAB ICD 5 and the target device share the
same ground reference.
KEY 7 Connected internally to the TRST pin on the AVR connector. Recommended as not connected.