Atmel ATAVRDRAGON on-chip debugger and programming device ATAVRDRAGON ATAVRDRAGON Data Sheet

Product codes
ATAVRDRAGON
Page of 45
AVR32 Menu
 | 
AVR Menu
 ]
In System Programming
In System Programming is well suited for programming devices soldered onto external target boards. This section explains how to
connect the AVR Dragon to ISP program an external target. The ISP lines are equipped with level converters that automatically will level
shift the AVR Dragon 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 ISP programming interface. The following pinout should be used.
 
Figure: 6pin Header Connector with 2.54mm (100 MIL) spacing
 
 
Note: When connecting the AVR Dragon to the target, connect  MISO to MISO pin on the target device, MOSI to MOSI and so on.
 
Note: AVR Dragon must sense the target voltage at pin 2 on the ISP header in order to set up the level-converter. For on-board targets,
the voltage must be supplied from pin 2,4,6 on the VCC header (5V) into pin 2 (VTG) on the ISP header. When using off-board targets
there should be no connection between VCC header and pin 2 of the ISP header.
 
Connect the 6pin cable from the AVR Dragon to the external target as shown in these pictures:
 
             
 
debugWIRE OCD interface is also accessed through this ISP header.
 
See the AVR Studio user guide for information about using the Programming Dialog to program the target device.