High-Voltage Programming

Figure 1. 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 1. Make sure that the TOSC-switch is placed in the XTAL position. See 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 frontend 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. Otherwise the lifetime of the LCD display may be severely reduced. See Figure 1.