Atmel megaAVR, megaAVR STK300 Getting Started

Table of Contents
Section 1
Introduction...........................................................................................1-1
1.1 Device Support .................................. ....... ...... ....... ...... ....... ......................1-1
Section 2
Getting Started......................................................................................2-1
2.1 Unpacking the System..............................................................................2-1
2.2 System Requirements...............................................................................2-1
Section 3
Section 4
Hardware Description...........................................................................4-1
4.1 Jumpers, Links and their Functions ..........................................................4-2
4.2 External Connections................................................................................4-2
Section 5
Installing the Software ..........................................................................5-1
5.1 Windows 95 ..............................................................................................5-1
5.2 Windows 3.1 .............................................................................................5-1
Section 6
How to Use the Software......................................................................6-1
6.1 Projects.....................................................................................................6-1
6.2 Files ..........................................................................................................6-1
Section 7
Programming Using the Board ...................... .... ..... ..... .........................7-1
7.1 Device Orientation ............................. .............................................. ...... ...7-1
7.2 Voltage Selection......................................................................................7-1
7.3 Power and Lead Connections...................................................................7-2
Section 8
Brown-Out Detector..............................................................................8-1
Section 9
Board Applications................................................................................9-1
9.1 Using Switches and LEDs.........................................................................9-1
9.2 Using External Connections......................................................................9-1
i
Table of Contents
9.2.1 Misc. Header ......................................................................................9-2
9.3 Using Analog Functions ............................................................................9-2
9.3.1 Analog Port: Marked on Board ...........................................................9-2
9.3.2 Using Internal Reference....................................................................9-2
9.3.3 Using External Reference...................................................................9-3
9.4 Using External RAM..................................................................................9-3
9.4.1 RAM Recommendations.....................................................................9-3
9.4.2 RAM Socket Pin Layout......................................................................9-3
9.4.3 Address Latch................. ....... ...... .............................................. ...... ...9-3
9.5 Using LCD Connections............................................................................9-3
9.6 Using RS232.............................................................................................9-4
9.7 Programming In-System ...........................................................................9-4
9.8 ISP Header Layout....................................................................................9-5
9.9 Interface Using Resistors..........................................................................9-5
9.10 Using an Analogue Multiplexer IC.............................................................9-5
9.10.1 Using Real Time Clock.......................................................................9-6
ii
Section 1

Introduction

Welcome to the megaAVR™ Starter Kit. This system incorporates an applications board and in-system programming hardware
key for programming AVR README.TXT file included with the software for installation information.
®
devices in your application. Be sure to check the

1.1 Device Support

The system software currently has support for the following devices.
ATmega603
ATmega603L
ATmega103
ATmega103L
Software upgrades for new devices will be available in the AVR section of the Atmel website, which is located at http://www.atmel.com.
megaAVR™ Starter Kit Manual 1-1
Introduction
1-2 megaAVR™ Starter Kit Manual
Section 2

Getting Started

2.1 Unpacking the System

2.2 System Requirements

Contents of box:
Evaluation Board
Disk set consisting of AVR ISP software and STK300 Application Builder
In-System Programming (ISP) Dongle
ISP Ribbon Cable
The minimum hardware and software requirements are:
80386 Processor or Above
1MB Ram
1MB Free Hard Disk Space
Windows 3.1 or Windows 95
megaAVR™ Starter Kit Manual 2-1
Getting Started
2-2 megaAVR™ Starter Kit Manual
Section 3
PLUG HEADER ON LEAD INTO PROGRAMMING INTERFACE - KEY WAY GIVES ORIENTATION
CONNECT LEAD
SUPPLIED TO DONGLE
AND INSERT IN
PC PRINTER PORT
POWER SUPPLY
9 - 15V DC 7 - 12V AC
ON-OFF SWITCH
RS 232 CONNECTOR NOT USED FOR PROGRAMMING
POWER CONNECTOR
5.5/2.1 BARREL

Connecting the System

megaAVR™ Starter Kit Manual 3-1
A Power Supply is required with a standard 2.1mm barrel connector . It can be AC 7 ­12V or DC 9 - 15V . The conne ctor is inse rted into the power con nection socket as shown, above.
The programming lead supplied is fitted into the Dongle case and the other end is inserted into the programming interface on the board as shown.
The Dongle case i s co nnect ed to one o f the prin ter ports o n the PC. I f this is not LPT1, then you will need to change t he printer port se tting in the so ftware—see s oftware sec­tion for details.
Connecting the System
3-2 megaAVR™ Starter Kit Manual

Hardware Description

LCD CONNECTOR
ANALOG REFERENCE
VOLTAGE ADJUSTMENT
PLUG IN MEGA BOARD HERE
ANALOG I/P
PORT A DIGITAL
4 MHz CRYSTAL
PORT B HEADER
PORT C HEADER
PORT D JUMPERS DISABLE SWITCHES
PORT D HEADER
MISC. HEADER FOR NON-PORT PINS
JP2 - JUMPER FOR BROWN-OUT AT 2.9V OR 4.5V
8 LEDS ON
PORT B
8 SWITCHES
ON PORT D
JP1 JUMPER FOR
3.3 OR 5V VCC SELECT
ON-OFF SWITCH
POWER INPUT
9-15V DC
OR 7-12 AC
RS232
PORT B JUMPERS
DISABLE LEDS
POWER ON AND
PROG LIGHTS
SELECTOR
FOR RS232
ISP INTERFACE
ADDRESS LATCH
IC FOR RAM
EXTERNAL
SRAM SOCKET
EXTERNAL
MEMORY EXPANSION
LCD CONTRAST
ADJUSTMENT
LK1 - CUT FOR A/D
EXTERNAL REFERENCE
O/P PINS FOR -VE SUPPL Y T O OPAMP ETC.
PORT E HEADER
The main features of the board are shown in the diagram below.
Section 4
megaAVR™ Starter Kit Manual 4-1
Note:
There are a number of jumpers on the board which are used to select different operations and voltages. The default jumper settings are for programming oper­ations at 5V JP1 Closed, with brown-out also set to 5V JP2 Open. To carry out other operations, some jumpers may have to be removed—refer to the relevant section for details. A full list of the jumpers and links are given in the following table.
Loading...
+ 19 hidden pages