ATMEL STK503 User Manual

Table Of Contents

TABLE OF CONTENTS
.............................................................................1
STK503 USER GUIDE.....................................................................................................2
INTRODUCTION...............................................................................................................2
Features.......................................................................................................................................2
Known Issues.......................................................................................................................3
Getting Started ....................................................................................................................4
Programming the AVR....................................................................................................7
JTAG Programming ...................................................................................................................9
STK503 Clock Sources................................................................................................10
The External Memory Interface...............................................................................11
RS-232 Driver....................................................................................................................13
Debugging with JTAGICE mkII ...............................................................................14
Troubleshooting Guide.................................................................................................15
General problems.....................................................................................................................15
Problem.......................................................................................................................................15
Appendix............................................................................................................................... 16
Schematic and layout ..............................................................................................................17
1

STK503 User Guide

Introduction

STK503 is a top module to the STK500 development board from Atmel Corporation. It adds support for 100-pin AVR microcontrollers (ATmega2560, ATmega1280 and ATmega640).
STK503 includes connectors and hardware allowing full utilization of the features of these devices, while the Zero Insertion Force (ZIF) socket makes it easy to use TQFP packages for prototyping.
This user guide is a general getting started guide as well as a complete technical reference for advanced users.
Figure 1-1 The STK503 starter kit

Features

Supports the ATmega2560, ATmega1280 and ATmega640.
Zero Insertion Force (ZIF) socket for 100-pin TQFP packages
Supports High Voltage Parallel Programming through STK500
Supports Serial programming through STK500
Port connectors for port E, F G, H, J, K and L
On-board RS-232 converter covering the whole operation range from 1.8 to 5.5V
Footprint for user-mountable SRAM chip
On-board address latch for easy connection to memory and peripherals
JTAG Connector for on-chip debugging using JTAGICE mkII
On-board 32 kHz crystal for easy Real Time Clock implementations
Supported by AVR Studio 4
2

Known Issues

January 2005: There are no known issues.
3

Getting Started

In this chapter you will get an overview of all the features of the STK503. You will learn how to use the STK503 with STK500 and how to mount the AVR in the ZIF socket.

Hardware overview

The STK503 is a flexible tool to start developing and debugging applications for 100-pin AVRs as the ATmega2560. There are connectors for all available signals, making it easy to connect to your own hardware, if required.
Figure 3-1: STK503
ZIF socket:
Here you place the AVR. See Placing the AVR for more details.
JTAG connector:
This is the connection that lets you upload and debug your application with the JTAGICE mk II. See JTAG programming and JTAG debugging.
ISP connector:
By mounting a cable between this connector and the programming connector on STK500, you can easily upload new programs to the AVR. See In-System Programming for a description on how to use AVR Studio and how connect the cable.
Clock source switches:
The STK503 has two switches that lets you select between different on­board and external clock sources. This is described in the Clock options chapter.
SRAM footprint:
The board has a footprint for an SRAM chip. No SRAM is mounted, so you can select an SRAM with the right operating voltage. For more information on using the SRAM and it connection, see the External Memory Interface chapter.
4
RAM HIGH ADDRESS jumpers:
These jumpers are for disabling some of the address lines from the controller to the SRAM. See the External Memory Interface chapter.
RS-232 connector:
The STK503 has an on-board RS-232 converter. In order to use it, you must connect the AVR to the AVR side of the connector, and the external RS-232 equipment (such as a PC) to the RS-232 side. See RS-232 Driver for more information.
PORTx connectors:
All of the AVR ports are accessible on the port connectors. They are marked with text corresponding to the name of the AVR port. In addition to the port pins, they also have VCC and GND pins. See the Appendix for pinout.

Mounting the STK503

First of all the STK503 must be mount on top of the STK500.
1.
Turn off power on the STK500.
2.
Remove any other top cards.
3.
Remove any devices from sockets of the STK500.
4.
Place the STK503 on STK500. Make sure the EXPAND0 and EXPAND1 headers on both cards align properly.
Figure 3-2: Mounting the STK503

Placing the AVR in the ZIF socket

The ZIF socket on STK503 takes AVRs in 100-pin TQFP packages.
To use STK500 and 100-pin AVR devices with LCD controller such as the
ATmega3290 and ATmega6490, you must use the STK504 top module, not
5
STK503.
1.
Make sure the STK500 power is switched off.
2.
Make sure that the STK503 is properly mounted on STK500. (See Mounting the STK503 for details.)
3.
Place the AVR in the ZIF socket. Pay attention to the pin 1 marking on the device and on the ZIF socket and PCB.
Figure 3-3: Placing the AVR in the ZIF socket.
6
Loading...
+ 11 hidden pages