Connecting to target through the PDI interface

A minimum of four wires is needed to connect the JTAGICE mkII to the target board using the PDI interface.  These signals are Vcc, GND, DATA and CLK.  The CLK line is driven by the JTAGICE mkII and the DATA line carries half-duplex communications between the JTAGICE mkII and the target.

Note: Not all JTAGICE mkII units have PDI capabilities.  To check whether your JTAGICE mkII is PDI capable, look for the following:

If your unit does not exhibit these characteristics, then PDI programming and debugging is not possible using this hardware.  The JTAG interface does however provide the same functionality as PDI, although it requires uses IO pins on the target.

PDI recommended pinout

The recommended pinout for target boards using the PDI interface is shown in the diagram below.

This pinout is supported natively by the STK600 as well as all future XMEGA capable tools.  In order to use the JTAGICE mkII with this pinout, it is necessary to make use of the XMEGA PDI adapter for JTAGICE mkII, which is available from www.atmel.com or your local Atmel representative.  Alternatively, the PDI interface can be connected using the multicoloured "squid" cable which is shipped with the JTAGICE mkII kit.

Connecting JTAGICE mkII to STK600

Connecting to the STK600 using the XMEGA PDI adapter for JTAGICE mkII is shown below.

Connecting to the STK600 using the "squid" cable is shown below.  Pins should be connected as follows:

JTAGICE mkII probe

Target pins

Squid Cable Colours

STK600 PDI pinout

Pin 1 (TCK)

 

Black

 

Pin 2 (GND)

GND

White

6

Pin 3 (TDO)

 

Grey

 

Pin 4 (VTref)

VTref

Purple

2

Pin 5 (TMS)

 

Blue

 

Pin 6 (nSRST)

CLK

Green

5

Pin 7 (Not connected)

 

Yellow

 

Pin 8 (nTRST)

 

Orange

 

Pin 9 (TDI)

DATA

Red

1

Pin 10 (GND)

 

Brown