AVR JTAG Pinout
AVR JTAG pin names and descriptions are shown in the table below. Pin numbers are shown for MPLAB PICkit 5 direct connection and Debugger Adapter Board 10-pin connection.
MPLAB PICkit 5 Pin | Adapter Board AVR JTAG Pin | Name | Description |
---|---|---|---|
1 | 7, 8 | NC/AUX | Not Connected. |
2 | 4 | VDD\VTG* | VDD: MPLAB PICkit 5 providing power
to target (optional) or target providing power to MPLAB PICkit 5 (PTG) VTG: Target voltage reference. The MPLAB PICkit 5 samples the target voltage on this pin in order to power the level converters correctly. The MPLAB PICkit 5 draws less than 3mA from this pin in this mode. |
3 | 2, 10 | GND | Ground. All must be connected to ensure that the MPLAB PICkit 5 and the target device share the same ground reference. |
4 | 3 | TDO | Test Data Out (data transmitted from the target device into the MPLAB PICkit 5). |
5 | 1 | TCK | Test Clock (clock signal from the MPLAB PICkit 5 into the target device). |
6 | 6 | MCLR | Reset (optional). Used to reset the target device. Connecting this pin is recommended since it allows the MPLAB PICkit 5 to hold the target device in a reset state, which can be essential to debugging in certain scenarios. |
7 | 9 | TDI | Test Data In (data transmitted from the MPLAB PICkit 5 into the target device). |
8 | 5 | TMS | Test Mode Select (control signal from the MPLAB PICkit 5 into the target device). |
* Remember to include a decoupling capacitor between this pin and GND. See AVR042: AVR Hardware Design Considerations. |