PDI Programming

All ATxmega devices have the new PDI programming and debugging interface. It can, in-system, download code into the flash application and boot memories, EEPROM memory, fuses, lockbits and signature information.

The PDI interface requires two of the device's pins, PDI_DATA and PDI_CLOCK. On STK600, they are found on the ISP/PDI connector.

Hardware setup for On-board programming

  1. Mount the routing and socket card and the target device. See the Socket System section on how to do this.

  2. Connect a 6-wire cable between the two 6-pins ISP/PDI headers on the STK600. See picture below.

  3. Ensure that the VTARGET jumper is mounted, and that the voltage is the within the operating range for the target device.

The pinout of the 6-pins ISP/PDI header when in PDI mode is shown below: