Atmel ATAVRBFLY Data Sheet

Page of 42
AVR Butterfly User Guide
-17
4271C–AVR–04/05
3.2.2
High-voltage Parallel 
Programming
It is possible to program the ATmega169 through the High-voltage Parallel Program-
ming interface. However this requires to move two resistors on the PCB. High-voltage
Parallel Programming is only meant to be used in the worst case scenario, where both
SPI and the JTAG interface are disabled.
To make the parallel programming work, R203 must be placed where the R204 should
be, and R404 must be placed where the R403 should be according to Figure 3-4. See
the Assembly Drawing in the 7 Complete Schematics
Figure 3-4.  Ohm Resistors
Connect RESET, BSEL2 and XTAL1 from the STK500 to respectively pin 6, pin 8 and
pin 10 on the JTAG (J402) connector on the AVR Butterfly. See Figure 3-5. The JTAG
connector must be mounted on the back side of the AVR Butterfly.
Figure 3-5.  Reset, BSEL2 and XTAL1 cables
Connect PROG DATA and PROG CTRL from the STK500 to respectively PORTB and
PORTD on the AVR Butterfly. Make sure that pin 1 on the STK500 connects to pin 1 on
the AVR Butterfly.