beautypg.com

Programming the avr, Introduction, In-system programming – Atmel STK500 User Manual

Page 6

background image

6

Programming the AVR

Introduction

There are two different ways of programming the AVR on STK505:

1. Low Voltage Programming (also called In-System Programming)

2. High-Voltage Programming (serial mode for tiny24 or parallel mode for

tiny26)


From now on Low Voltage Programming will be described as In-System
Programming.

The following sections will describe how to connect the appropriate cables. See
the STK500 user guide for how to use the AVR Studio Programming Dialog.

In-System programming

To program the device on the STK505 using the In-System Programming (ISP)
mode, connect a 6-pin cable between the ISP6PIN connector on STK500 and the
SPROG connector on STK505 colored section corresponding to the device used.
I.e. if programming ATtiny24, connect the 6-pin cable to the SPROG header on
the green section, as shown in figure 2-1.
If programming ATtiny26 connect the 6-pin cable to the SPROG header on the
blue section, as shown in figure 2-2.
Then start the Programming Dialog in AVR Studio


Figure 2-1: In-System Programming of the ATtiny24