Programming and debugging header

The Atmel ATxmega128B1 can be programmed and debugged by connecting an external programming and debugging tool to the PDI header. The header has a standard PDI programmer pinout (refer to online help in Atmel Studio), and tools such as JTAGICE3, AVR ONE! or JTAGICE mkII can thus be connected to the PDI header. If it is desired to use PDI for programming and debugging an adapter must be used:

Note: A scoring in the board is made to fit the orientation tab on the header.
Table 1. XMEGA-B1 Xplained programming and debugging PDI interface

Pin

PDI1
JTAGICE3 AVRONE! JTAGICE mkII

1

PDI_DATA

debugWIRE, SPI, PDI, aWire adaptor ref. A08-0735. Color: dark blue

Standoff adaptor nr.3 JTAG/ISP ref. A08-0254. Color: green

Xmega PDI adaptor ref. A09-0412. Color: white

2

VTG (default 3.3V)

3

 

4

 

5

PDI_CLOCK

6

GND



Note: The device also features a JTAG port for programming and debugging. To optimize the onboard I/O management, the JTAG pin allocation (PB[7:4]) is used to drive user LEDs. The JTAG can be connected through the header J3 but malfunctions may happen because of the LEDs. If “clean” JTAG port is needed, the LED series resistors (or the LEDs themselves) can be removed. By default, the JTAG port is disabled by fuse in the ATxmega128B1 that is mounted on the board.
1

Standard pinout for Atmel programming and debugging tools