beautypg.com

High voltage programming, High voltage programming the attiny24 – Atmel STK500 User Manual

Page 7

background image

7

Figure 2-2: In-System Programming of the ATtiny26

Note: To be able to ISP program the AVR, the ISP programming enable fuse
must be set. The ISP programming enable fuse can be programmed by High-
Voltage Programming
.
Please consult the Fuses section in the STK500 documentation.

High Voltage Programming

High-Voltage Programming requires the target voltage to be set to between 4.5

and 5.5V. If you have any external hardware connected to STK505/STK500 that
does not tolerate these levels, it must be disconnected before you High-Voltage
program the AVR.

High Voltage Programming the ATtiny24

To program the ATtiny24 mounted on STK505 using High-Voltage Programming,
follow these steps:

1. Turn off the STK500 power switch

2. Disconnect from STK500 and STK505 any hardware that does not tolerate

5V.

3. Connect the PROGDATA on STK500 to HVSPROG on STK505, as

shown on figure 2-3.

4. Connect the PROGCTRL on STK500 to the PORTA header on STK500,

as shown on figure 2-3.

5. Set jumpers and switches according to table 2-1.

6. Turn on STK500 power.

7. Start the Programming Dialog in AVR Studio