Using the STK502 Top Module
STK502 User Guide
2-5
2528A–AVR–11/02
2.3.2
High-voltage
Programming
Figure 2-7. High-voltage (Parallel) Programming
To program the ATmega169 using High-voltage (Parallel) Programming, connect the
PROGCTRL to PORTD and PROGDATA to PORTB on the STK500 as shown in Figure
2-7. Make sure that the TOSC-switch is placed in the XTAL position. See Section 2.6,
“TOSC Switch”.
As described in the STK500 User Guide (jumper settings), mount the BSEL2 jumper in
order to High-voltage Program the ATmega devices. This setting also applies to High-
voltage Programming of the ATmega169.
The device can now be programmed using the High-voltage Programming mode in AVR
Studio STK500 software.
Note:
See the STK500 User Guide for information on how to use the STK500 front-
end software in High-voltage Programming mode.
Note:
For the High-voltage Programming mode to function correctly, the target voltage
must be higher than 4.5V.
Caution: Make sure to disconnect LCD-display from the segment pins header. Other-
wise the lifetime of the LCD display may be severely reduced. See Figure 2-10.