9.3.5 Pinouts for Interfaces

The programming connector pin functions are different for various devices and interfaces. Refer to the following pinout tables for debug and data stream interfaces.
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 9-3. Pinouts for Debug Interfaces
MPLAB ICD 4DEBUG
ConnectorPin #Pin NameICSP (MCHP)MIPS EJTAGCORTEX SWDAVR® JTAGDW(IRE)UPDIPDIAWAVR_ISPTPI
8TTDITTDITDIMOSI
7TVPPMCLRMCLRMCLR
6TVDDVDDVIO_REFVTGVTGVTGVTGVTGVTGVTGVTG
5GNDGNDGNDGNDGNDGNDGNDGNDGNDGNDGND
4PGDDATTDOSWOTDODATDATDATAMISODAT
3PGCCLKTCKSWCLKTCKSCKCLK
2TAUXAUXTAUXRESETSW-DATCLKRESETRST
1TTMSTTMSSWDIOTMS
Table 9-4. Pinouts for Data Stream Interfaces
MPLAB ICD 4Data Stream
Pin #DMCI / DGI1 U(S)ART / CDCDGI1 SPI
8TX (target)MOSI
7
6VTGVTG
5GNDGND
4MISO
3SCK
2(SCK)
1RX (target)SS
  1. For future use.

__________________

Figure 9-7. Debugger Adapter Board (AC102015) Pinouts

This is a connectivity board that supports JTAG, SWD and ICSP protocols, useful for debugging legacy AVR®.