3.3.2 Target Connection Pinouts

The programming connector pin functions are different for various devices and interfaces. Refer to the following pinout tables for debug and data stream interfaces. Legacy 6-pin RJ-11 cable can also be used, however target interfaces which use pins 1 (TMS/SWDIO) and 8 (TDI/MOSI) can not be programmed or debugged.
Note: Refer to the data sheet for the device you are using as well as the application notes for the specific interface for additional information and diagrams.
Table 3-2. Pinouts for Debug Interfaces
MPLAB ICD 5DEBUGTARGET4
8-Pin Modular Connector1Pin #Pin NameICSP (MCHP)MIPS EJTAGCortex® SWDAVR® JTAGAVR debugWIREAVR UPDIAVR PDIAVR ISPAVR TPI8-Pin Modular Connector6-Pin Modular Connector
8TTDITDITDIMOSI1
7TVPPMCLR /VppMCLRRESETRESET321
6TVDDVDDVDD/VDDIOVDDVTGVTGVTGVTGVTGVTG32
5GNDGNDGNDGNDGNDGNDGNDGNDGNDGND43
4PGDDATTDOSWO2TDODAT3DATMISODAT54
3PGCCLKTCKSWCLKTCKSCKCLK65
2TAUXRESETRESET/dWCLKRESETRESET76
1TTMSTMSSWDIO2TMS8
  1. Black (8-pin) cable must be used for EJTAG, JTAG, SWD and ISP.
  2. SWO is used for trace. SWDIO is for debug.
  3. Pin may be used for High-Voltage Pulse reactivation of UPDI function depending on device. See device data sheet for details.
  4. These are example target connectors that are assumed similar to the debug unit (modular).
Figure 3-7. 8-Pin Modular Connector
Table 3-3. Pinouts for Data Stream Interfaces
MPLAB® ICD 5DATA STREAMTARGET2
8-Pin Modular ConnectorPIC and AVR DevicesSAM Devices18-Pin Modular Connector6-Pin Modular Connector
Pin #DGI UART / CDCDGI UART / CDCPin #Pin #
8TX (target)TX (target)1
721
6VTGVTG32
5GNDGND43
454
365
2RX (target)76
1RX (target)8
  1. RX pin moved because of wiring for other devices.
  2. These are example target connectors that are assumed similar to the debug unit (modular).
Note: For 6-pin RJ11 into 8-pin RJ45 socket, pins 1 and 8 are lost.