ATmega8 and ATmega48, 88 and 168 Targets
The AVR Dragon and Dragon Rider support ISP and Parallel High Voltage programming of ATmega8 and ATmega168(P/PA) family targets.  debugWIRE on-chip debugging is also supported for ATmega168(P/PA) family targets.  Insert the microcontroller into the 28-pin socket U4 with pin 1 at the upper left.  These devices share pins for XTAL1, XTAL2 and RESET with general-purpose IO pins.  Headers on the Dragon Rider allow you to use these pins for GPIO when you are not programming or debugging, but you may have to re-route these pins temporarily as instructed below.
Devices known to be compatible with the Dragon Rider 28-pin socket (U4) are as follows:
- ATmega8
- ATmega48, ATmega88 and ATmega168 (ATmega168 family)
- ATmega48P, ATmega88P and ATmega168P (ATmega168P family)
- ATmega48PA, ATmega88PA, ATmega168PA and ATmega328P (ATmega168PA family)
Configuring for ISP
To use the ISP interface for programming, place shunts on the following jumpers:
- J13 (U4 pin 1), pin 1 to pin 2 ... U4 pin 1 to RESET
- J16 (RESET), pin 2 to pin 3 ... RESET from Dragon ISP
- J22 (MOSI), center pin to pin 2 (right) ... MOSI to PB3
- J23 (SCK), center pin to pin 2 (right) ... SCK to PB5
- J24 (MISO), center pin to pin 2 (right) ... MISO to PB4
Jumpers J11 and J12 can carry shunts to connect pins 9 and 10 of the target to either GPIO pins PB6 and PB7 or the crystal X1.  Remove all other shunts.  Either direct (5V nominal) or sub-regulated (e.g. 3.3V) power can be used during ISP programming.
Configuring for debugWIRE (Excluding ATmega8)
To use the debugWIRE interface for on-chip debugging, place shunts on the following jumpers:
- J13 (U4 pin 1), pin 1 to pin 2 ... U4 pin 1 to RESET
- J16 (RESET), pin 2 to pin 3 ... RESET from Dragon ISP
You can also have jumpers on J22, J23 and J24, which would be useful if you need to switch between ISP and debugWIRE.  Jumpers J11 and J12 can carry shunts to connect pins 9 and 10 of the target to either GPIO pins PB6 and PB7 or the crystal X1.  Remove all other shunts.  Either direct (5V nominal) or sub-regulated (e.g. 3.3V) power can be used during debugWIRE debugging.
Configuring for High Voltage
To use High Voltage Parallel programming, use 10-way ribbon cables with headers to connect:
- J21 (PROG DATA) to J2 (PORTB)
- J17 (PROG CTRL) to J4 (PORTD)
Turn on SW2 (5V power direct to VTG from Dragon) and place shunts on the following jumpers:
- J12 (U4 pin 9), pin 1 to pin 2 ... U4 pin 9 to XT1
- J13 (U4 pin 1), pin 1 to pin 2 ... U4 pin 1 to RESET
- J15 (XTAL1), pin 1 to pin 2 ... Clock from Dragon
- J16 (RESET), pin 1 to pin 2 ... RST from Dragon HV
- J18 (BSEL2), pin 1 to pin 2 ... PCM0 to PC2
- J19 (PJUMP), pin 1 to pin 2 ... PBM7 to PC1
- J20 (PJUMP), pin 1 to pin 2 ... PBM6 to PC0
Remove all other shunts.  Note that direct (5V nominal) power must be used during high voltage programming.  If you have a crystal socket in the X1 location, remove any crystal.  However, it may be possible to proceed with high voltage programming with a crystal and load capacitors in place.