Table of Contents
TABLE OF CONTENTS
STK505 USER GUIDE .........................................................................................2
Introduction
Features
.........................................................................................................................2
..............................................................................................2
Getting Started
Hardware Overview
ZIF socket
DIP socket
Low voltage programming connectors
High voltage programming connectors
Port configuration switches
Crystal sockets
Mounting the STK505
...................................................................................................................................3
..................................................................................................................................3
.......................................................................................................................3
....................................................................1
..................................................................................3
.........................................................................................3
................................................................3
...............................................................3
..........................................................................................3
....................................................................................4
Clock Sources and Reset
The Clock Switch
The Reset/PORTB Switch .............................................................................................5
Programming the AVR
Introduction
In-System programming
High Voltage Programming
High Voltage Programming the ATtiny24
High Voltage Programming the ATtiny26..................................................................................8
.................................................................................................................6
................................................................................................5
........................................................6
.............................................................................6
....................................................................7
Troubleshooting Guide
Programming problems
General problems........................................................................................................11
.............................................................................10
..............................................5
.........................................................7
.....................................................10
1
STK505 User Guide
Introduction
The STK505 board is a top module to the STK500 development board from
Atmel Corporation. It adds support for the 14-pin and 20-pin AVR
microcontrollers listed in the feature list below.
STK505 includes connectors and hardware allowing full utilization of the features
of these devices.
This user guide is a general getting started guide as well as a complete technical
reference for advanced users.
Included in the kit is samples of ATtiny24 and ATtiny26.
Figure 1-1: The STK505 starter kit
Features
• Supports the ATtiny24 and ATtiny26
• Supported by AVR Studio 4
• Zero Insertion Force (ZIF) socket for 14-pin SOIC packages
• DIP socket for 20-pin PDIP packages
• Supports High Voltage Programming through STK500
• Supports Low Voltage programming through STK500
• Switch to select between different clock sources
• Switch to select between reset and I/O functionality for the reset pin
• On board crystal sockets
2
Getting Started
This section describes how to connect the STK505 onto the STK500, and
connect cables to different peripherals.
Hardware Overview
The STK505 is divided into two colored sections: the green section that supports
the ATtiny24 and the blue section that supports the ATtiny26.
Note: Only one AVR device should be inserted in the sockets at a time.
ZIF socket
The ZIF socket is for the ATtiny24, in soic package.
Pin1 on the socket is indicated with the white triangle beside the lower right
corner.
DIP socket
The DIP socket is for the ATtiny26.
Pin1 on the socket is indicated with the white triangle beside the lower right
corner.
Low voltage programming connectors
The AVR can be programmed in serial mode by using a 6-pin cable between the
ISP6PIN on the STK500 and the SPROG headers on the stk505.
High voltage programming connectors
The ATtiny26 can be programmed in parallel high voltage mode by using 10-pin
cables between STK500 and STK505.
The ATtiny24 can be programmed in serial high voltage mode be using 10-pin
cables between STK500 and STK505.
Port configuration switches
The XTAL1, XTAL2 and the reset pin on both ATtiny24 and ATtiny26 can also be
used as regular I/O port pins when not used as clock inputs or reset.
The pin configuration switches connects the pins to different components/signals
dependant on their usage.
This is described in more detail in the chapter Clock Sources and Reset
Crystal sockets
The clock crystal sockets are placed close to each target socket to make it
possible to use high frequency crystals.
When crystals are used to generate the target clock signal the clock selection
switch must be in position "XTAL".
3
Mounting the STK505
The first thing you should do is to mount the STK505 onto the STK500.
1. Turn off the power on STK500.
2. Remove any other top card from the STK500.
3. Remove any AVR mounted in any of the sockets on the STK500.
4. Place the STK505 on top of the STK500. Make sure the EXPAND0 and
EXPAND1 connectors on both cards align properly.
4