4.3 PDI Programming

In System Programming using PDI is well suited for programming devices soldered onto external target boards. This section explains how to connect the Atmel AVR Dragon to PDI program an external target. The PDI lines are equipped with level converters that automatically will level shift the AVR Dragon signals to the target board voltage.

It is recommended that a 6-pin header connector with 2.54mm (100 MIL) spacing is placed on the target board to allow easy access to the PDI programming interface. The following pinout should be used.

Figure 4-5. 6pin Header Connector with 2.54mm (100 MIL) Spacing
Note:

When connecting the AVR Dragon to the target, connect DATA to DATA pin on the target device, CLK to CLK, and so on.

Note:

AVR Dragon must sense the target voltage on pin 2 on the PDI header in order to set up the level-converters. When using off-board targets there should be no connection between the VCC header and pin 2 of the PDI header.

Connect the 6pin cable from the AVR Dragon to the external target as shown in these pictures: