background image

Quick Start Guide for AVR Trainer, STK200ICE and

STK300ICE

Introduction

This package consists of a number of different elements, each of which has its own
documentation. This guide is an overview of how to setup and use the package. For
details on each part, please consult the relevant documentation on the CD.

Package contents

  Get Going with AVR… book  

(AVR-TRAIN only)

  AVR Studio development software

  JTAGAVR In Circuit Emulator

  STK200 AVR training board   

(STK300 board with STK300ICE)

  AVRISP parallel port programmer

  AVRGCC C Compiler

  AVR Application Builder

  Documentation, schematics and datasheets

Where this guide refers to STK200, substitute STK300 if you have STK300ICE.
References to book only apply to AVR-TRAIN

How these elements fit together

The core of the package around which everything else fits is  Atmel’s AVRStudio
Integrated Development Environment or IDE. This is a platform that lets you write code
and assemble it for the  microcontroller. It includes a Simulator that allows you to step
through your code to find basic errors.

Once your code is written, the next step is to connect up the JTAGAVR  In Circuit
Emulator to the STK200 board, and run the code on the  microcontroller in Debug Mode.
Again, this is done from the AVR Studio IDE, which allows you to step through the code
but this time it is running on the AVR instead of being simulated by the PC.

The JTAGAVR will also act as a programmer to download your finished code to the AVR
on the STK200 board. As an alternative the package also contains an In System
Programmer or ISP. This uses the standard ISP header unlike the JTAGAVR emulator
and comes into its own when you build your own circuits or want to program a wider
range of AVR devices. The AVRISP software can run on its own or it can be integrated
into AVR Studio.

The other elements in the package are a standalone Application Builder and a C
Compiler. The application Builder is a wizard that helps set up peripherals such as the

Содержание STK200ICE

Страница 1: ...atform that lets you write code and assemble it for the microcontroller It includes a Simulator that allows you to step through your code to find basic errors Once your code is written the next step i...

Страница 2: ...e concepts before starting to load software The second half of the book is about worked examples so before starting on these we need to load some software The steps outlined here cover a range of acti...

Страница 3: ...ects writing code and other basics There is another folder here called App Builder Application Builder is a tool that creates initialisation code for AVR peripherals and can be a very useful aid in qu...

Страница 4: ...only to the PC adapter or dongle and plug the dongle into your printer port Connect the other end of the lead to the ISP header on the STK200 board Power the STK200 board 9 15VDC Run AVRISP from the...

Страница 5: ...the Project Programming file into AVR In AVR Studio go to Tools Menu AVRISP or run AVRISP yourself from programs or desktop icon In AVRISP change the Device to Atmega162 or ATmega128 for STK300ICE Now...

Страница 6: ...it to the JTAGAVR using 10 way lead not lead marked ISP only Plug the adapter into the 10 way header labeled Port C on STK200 and AVR TRAIN or Port F Analog Port on STK300 with the connectors facing i...

Страница 7: ...ry and in AVR Studio documentation and help Next Steps We have covered how to use the tools in this guide The next step is to return to the book and begin to work through the examples Good Luck FURTHE...

Отзывы: