STK500 User Guide.pdf

(2348 KB) Pobierz
AVR STK500 User Guide
STK500
..............................................................................................
User Guide
432147644.001.png
Table of Contents
Section 1
Introduction ........................................................................................... 1-1
1.1 Starter Kit Features ...................................................................................1-1
1.2 Device Support .........................................................................................1-2
Section 2
Getting Started...................................................................................... 2-1
2.1 Unpacking the System ..............................................................................2-1
2.2 System Requirements...............................................................................2-1
2.3 Quick Start ................................................................................................2-2
2.3.1 Connecting the Hardware ...................................................................2-3
2.3.2 Programming the Target AVR Device ................................................2-3
Section 3
Hardware Description ........................................................................... 3-1
3.1 Description of User LEDs..........................................................................3-1
3.2 Description of User Switches ....................................................................3-2
3.3 Connection of LEDs and Switches............................................................3-3
3.4 Port Connectors ........................................................................................3-3
3.5 Description of User RS-232 Interface .......................................................3-5
3.6 Description of DataFlash Pins...................................................................3-6
3.7 Target Socket Section...............................................................................3-8
3.7.1 ISP Programming ...............................................................................3-9
3.7.2 High-voltage Programming ...............................................................3-11
3.8 Jumper Settings ......................................................................................3-15
3.8.1 Target V CC Settings, VTARGET .......................................................3-16
3.8.2 Analog Reference Voltage, AREF ....................................................3-17
3.8.3 Reset Settings, RESET ....................................................................3-18
3.8.4 Clock Settings, XTAL1 and OSCSEL ...............................................3-20
3.8.5 BSEL2 Jumper .................................................................................3-22
3.8.6 PJUMP Jumpers...............................................................................3-22
3.9 Expansion Connectors ............................................................................3-23
3.9.1 Signal Descriptions...........................................................................3-25
3.10 Prog Ctrl and Prog Data Headers ...........................................................3-25
3.11 Miscellaneous .........................................................................................3-26
3.11.1 RESET Push Button .........................................................................3-26
3.11.2 PROGRAM Push Button ..................................................................3-27
AVR STK500 User Guide
i
1925C–AVR–3/03
432147644.002.png
Table of Contents
3.11.3 Main Power LED...............................................................................3-27
3.11.4 Target Power LED ............................................................................3-27
3.11.5 Status LED .......................................................................................3-27
Section 4
Installing AVR Studio ............................................................................ 4-1
Section 5
Using AVR Studio ................................................................................. 5-1
5.1 Windows Software ....................................................................................5-1
5.2 Starting the Windows Software .................................................................5-1
5.2.1 Starting STK500 .................................................................................5-1
5.3 STK500 User Interface .............................................................................5-2
5.3.1 “Program” Settings .............................................................................5-2
5.3.2 “Fuses” Settings .................................................................................5-3
5.3.3 “LockBits” Settings..............................................................................5-4
5.3.4 “Advanced” Settings ...........................................................................5-4
5.3.5 “Board” Settings..................................................................................5-5
5.3.6 “Auto” Settings....................................................................................5-7
5.3.7 History Window...................................................................................5-8
5.4 Command Line Software ..........................................................................5-9
5.5 Parameters ...............................................................................................5-9
Section 6
In-System Programming of an External Target System ....................... 6-1
Section 7
Troubleshooting Guide ......................................................................... 7-1
Section 8
Technical Support................................................................................. 8-1
Section 9
Example Applications ........................................................................... 9-1
9.1 Using LEDs and Switches.........................................................................9-1
Section 10
Appendix A ......................................................................................... 10-1
ii
AVR STK500 User Guide
1925C–AVR–3/03
432147644.003.png
Section 1
Introduction
Congratulations on your purchase of the AVR ® STK500 Flash Microcontroller Starter
Kit. The STK500 is a complete starter kit and development system for the AVR Flash
Microcontroller from Atmel Corporation. It is designed to give designers a quick start to
develop code on the AVR and for prototyping and testing of new designs.
1.1
Starter Kit
Features
AVR Studio ® Compatible
RS-232 Interface to PC for Programming and Control
Regulated Power Supply for 10 - 15V DC Power
Sockets for 8-pin, 20-pin, 28-pin, and 40-pin AVR Devices
Parallel and Serial High-voltage Programming of AVR Devices
Serial In-System Programming (ISP) of AVR Devices
In-System Programmer for Programming AVR Devices in External Target System
Reprogramming of AVR Devices
8 Push Buttons for General Use
8 LEDs for General Use
All AVR I/O Ports Easily Accessible through Pin Header Connectors
Additional RS-232 Port for General Use
Expansion Connectors for Plug-in Modules and Prototyping Area
(NB! No longer valid: "On-board 2-Mbit DataFlash ® for Nonvolatile Data Storage")
The STK500 is supported by AVR Studio, version 3.2 or higher. For up-to-date informa-
tion on this and other AVR tool products, please read the document “avrtools.pdf”. The
newest version of AVR Studio, “avrtools.pdf” and this user guide can be found in the
AVR section of the Atmel web site, www.atmel.com .
AVR STK500 User Guide
1-1
Rev. 1925C–AVR–3/03
432147644.004.png
Zgłoś jeśli naruszono regulamin