ICD 4: 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.
Refer to the datasheet for the device you are using as well as the application notes for the specific interface for additional information and diagrams.
For MPLAB® ICD 4 connector information, see the "Connecting an RJ-11 Type Cable to an RJ-45 Socket" page.
MPLAB ICD 4 | DEBUG | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Pin # | Pin Name | ICSP™ (MCHP) | MIPS EJTAG | Cortex® SWD | JTAG | DW(IRE) | UPDI | PDI | AW | AVR® _ISP | TPI |
8 | TTDI | TTDI | TDI | MOSI | |||||||
7 | TVPP | MCLR | MCLR | MCLR | |||||||
6 | TVDD | VDD | VIO_REF | VTG | VTG | VTG | VTG | VTG | VTG | VTG | VTG |
5 | GND | GND | GND | GND | GND | GND | GND | GND | GND | GND | GND |
4 | PGD | DAT | TDO | SWO | TDO | DAT | DAT | DATA | MISO | DAT | |
3 | PGC | CLK | TCK | SWCLK | TCK | SCK | CLK | ||||
2 | TAUX | AUX | TAUX | RESET | SW-DAT | CLK | RESET | RST | |||
1 | TTMS | TTMS | SWDIO | TMS |
Table 1: Pinouts for Debug Interfaces
MPLAB ICD 4 | DATA STREAM | |
---|---|---|
Pin # | DMCI / DGI1 U(S)ART / CDC |
DGI1 SPI |
8 | TX | MOSI |
7 | ||
6 | VTG | VTG |
5 | GND | GND |
4 | MISO | |
3 | SCK | |
2 | (SCK) | |
1 | RX | SS |
Note 1: For future use. |
Table 2: Pinouts for Data Stream Interfaces