3.3.1 Target Connection Pinout
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.
MPLAB® PICkit™ Basic Connector | DEBUG INTERFACE | Target4 Connector | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
8-Pin SIL1 | ICSP™ (MCHP) | MIPS EJTAG | Cortex® SWD | AVR® JTAG | AVR debugWIRE | AVR UPDI | AVR PDI | AVR ISP | AVR TPI | 8-Pin SIL | 6-Pin SIL | |
Pin # | Pin Name | Pin # | Pin # | |||||||||
1 | TVPP | MCLR/VPP | MCLR | RESET | RESET3 | 1 | 1 | |||||
2 | TVDD | VDD | VDD/VDDIO | VDD | VTG | VTG | VTG | VTG | VTG | VTG | 2 | 2 |
3 | GND | GND | GND | GND | GND | GND | GND | GND | GND | GND | 3 | 3 |
4 | PGD | DAT | TDO | SWO2 | TDO | DAT3 | DAT | MISO | DAT | 4 | 4 | |
5 | PGC | CLK | TCK | SWCLK | TCK | SCK | CLK | 5 | 5 | |||
6 | TAUX | RESET | RESET/dW | CLK | RESET | RESET | 6 | 6 | ||||
7 | TTDI | TDI | TDI | MOSI | 7 | |||||||
8 | TTMS | TMS | SWDIO2 | TMS | 8 |
- Use of a 6-pin header will result in the loss of functions on Pins 7 and 8 affecting EJTAG, JTAG, SWD and ISP.
- SWO is used for trace (see release notes for trace support) SWDIO is used for debug.
- Pin may be used for High-Voltage Pulse reactivation of UPDI function depending on device. Usually a low pin count AVR device (see device data sheet for details). However, MPLAB PICkit Basic cannot generate the high voltage pulse to reactivate the UPDI interface if the UPDI pin is configured as GPIO or RESET by configuring the RSTPINCFG configuration bits. A different tool will need to be used to do this, such as the MPLAB PICkit™ 5.
- These are example target connectors that are assumed similar to the debugger unit (SIL).
MPLAB® PICkit™ Basic 8-Pin SIL Connector | DATA STREAM | Target 8-Pin SIL Connector |
---|---|---|
Pin # | UART / CDC1 | Pin # |
1 | 1 | |
2 | VTG | 2 |
3 | GND | 3 |
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | TX (target) | 7 |
8 | RX (target) | 8 |
|