Combined Serial and Parallel Programming System for Atmel AVR Microcontrollers AVR2-ST GETTING STARTED

Similar documents
Combined Serial and Parallel Programming Systems for Atmel 8051 Microcontrollers EQ-8051-ST1 GETTING STARTED. (Preliminary Manual)

State-of-the Art Evaluation Module for 8, 20 & 40-pin Microcontrollers PRODUCT GUIDE. (Version 2.00)

Programmable Hardware. Field. State-of-the-art Device Programmer USER GUIDE. (Revision 1.04)

FIRMWARE UPGRADABLE. Serial Programming Systems for the Atmel 89S, AT90S (AVR) & ATmega microcontroller families USER GUIDE. (Version 2.

Portable ISP Programmer for Atmel, Atmel Wireless (Temic) and Philips FLASH Microcontrollers. User Guide

Atmel AVR datasheet. Matrix Multimedia Atmel AVR Board EB Contents

AVR-P development board Users Manual

CEIBO FE-5111 Development System

M32 Development Board

Figure 1-1 ISPAVRU1 application

To install the software please insert the supplied disk or CDROM in your computer and perform the following steps:

F2MC MB90385 series Evaluation Board Documentation. Revision Date Comment V New document

F²MC-8L FAMILY MB89201 SERIES FLASH PROGRAMMING 8-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

ARM programmer and daughter board EB Technical datasheet

AVRminiV3.1 Manual. 1. AVRminiV3.1 Overview. 2. AVRminiV3.1 Features and Specifications Standard Features: 2.2. Optional Features:

AVR-P20 development board Users Manual

AC/DC Adapter. Figure 1. Hardware Setup

Programmer. User Guide

ISPnano Series IV - ATE Production ISP Programmer

TMC428 Evaluation Kit V2.0 Manual English

3.3V regulator. JA H-bridge. Doc: page 1 of 7

Pin-Master 48. Everything you need from a development programmer

Summit-ICE Emulator Hardware User s Guide

AC/DC. Adapter. Serial. Adapter. Figure 1. Hardware Setup

AVR Hand Held Programmer

Emulator Setup Instructions for MB91360

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

STK521. User Guide B AVR 01/12

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

ADSP-218x Family EZ-ICE Hardware Installation Guide

BB-303 Manual Baseboard for TMCM-303

ARM programmer and daughter board

USB-to-I2C. Professional Hardware User s Manual.

DPT - EN1 R1 Users Manual

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

Gateway Module Programmable in C

Win-I2CUSB Hardware User s Manual

PB-MC-AVR28 28 Pin AVR Full Size Development Board

CEIBO FE-51RD2 Development System

SBC45EC. Single board computer for 44 pin PLCC PICs

Doc: page 1 of 8

AVR- M16 development board Users Manual

This revision of the manual is dated June, All modifications from previous versions are listed in the appendix.

Freeduino USB 1.0. Arduino Compatible Development Board Starter Guide. 1. Overview

STK User Guide

MusicTel-Net/Net+ Installation and Operation Manual

STK User Guide

Apex-ICE Universal JTAG Emulator Hardware and Software Installation Guide

Series I / II / III / III ATE & MUX 2 / 4 / 8 Programmer User Manual

HAND HELD PROGRAMMER QUICK START GUIDE

Doc: page 1 of 6

HAND HELD PROGRAMMER QUICK START GUIDE

Figure 1. JTAGAVRU1 application The JTAGAVRU1 is supported by AVR Studio. Updated versions of AVR Studio is found on

Section 1 Introduction

Quick Start Guide. Quick Start Guide I

AVR Development Board

SBC65EC. Ethernet enabled Single Board Computer

IDB-HC08GZ Evaluation Board For Motorola MC68HC908GZ/GR

LPT-to-I2C SE. Hardware Reference Guide.

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing

OPERATION MANUAL. Decision Group Inc. SMARTLAB USB 16 CHANNELS RELAY OUTPUT 16 CHANNELS PHOTO ISOLATOR INPUT BOARD

DIY KIT 123. ATMEL 89xxxx PROGRAMMER

CPU369-Module Documentation. Fujitsu Microelectronics Europe GmbH Am Siebenstein Dreieich-Buchschlag, Germany

QUASAR PROJECT KIT # ATMEL AVR PROGRAMMER

XCD EDGE Evaluation Kit

Application Note: AN0106. On-Board SPI Programming with Dediprog tools: End User Version

BrewTroller Phoenix. Owners Manual. Updated - March 14, 2016 BREWTROLLER PHOENIX 1

Apex-ICE Universal Emulator Hardware and Software Installation Guide

Z8 Encore! XP/Z8 Encore! Development Kits

Various power connectors. 3.3V regulator. 64K Flash (Internal) 2K EEPROM (Internal) 4K SRAM (Internal) JA Mem Adr/ Data. Doc: page 1 of 9

Modtronix Engineering Modular Electronic Solutions SBC28DC. Single board computer for 28 pin DIP PICs

Ant6. 6 Channel H Bridge 3-Axis Bipolar Stepper Motor Controller. Technical Reference Manual PCB Rev 1.0.

PB-MC-AVR28 28 Pin AVR Full Size Development Board

Hardware Installation & Reference Manual Megaport SS Serial I/O Board Series

The Atmel ATmega328P Microcontroller

ACLD Channel Opto-isolated Digital Input Board

Bolt 18F2550 System Hardware Manual

HandsOn Technology -- HT-MC-02 MODEL: HT-MC-02

Doc: page 1 of 6

ATmega48/88/168 Development Board

Z232. Technical Manual. Low cost wireless interface for TERN controllers th Street, Davis, CA 95616, USA Tel: Fax:

EMULATOR SYSTEM MB

AC-PG-USBASP USBASP AVR Programmer

Z8 Encore! XP Family of Microcontrollers Development Kits

Touch Screen. Bergquist. User s Guide. Set-Up and Use of Bergquist 5-Wire Controller USB, RS-232, & PS/2 TOUCH SCREEN CONTROLLER FEATURES

EVB-USB2250 User Manual Revision B

STATUS Shiloh Road Alpharetta, Georgia (770) FAX (770) Toll Free

Zippy AVR Programmer. Zippy Programmer Features. Lomae Pty Ltd PO BOX 1297 Baulkham Hills, NSW,1755 ACN

HAND HELD PROGRAMMER QUICK START GUIDE

8051 Basic Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

ADAM-5511 Quick Start

Evaluation & Development Kit for Freescale PowerPC MPC5517 Microcontroller

USB-to-I2C. Ultra Hardware User s Manual.

MULTIPLEXER MX4. Operation and Installation Manual. Pacific Micro Systems

OPERATION MANUAL. Decision Group Inc. SMARTLAB USB 16 CHANNELS PHOTO ISOLATOR INPUT/SSR OUTPUT BOARD

AVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

A Programmer for the 68HC705C8 MicroController Figure 1 PROG05 As Built PROG05 User Guide Version C1 Page 1 of 14

Cerebot Nano Reference Manual. Overview. Revised April 15, 2016 This manual applies to the Cerebot Nano rev. A

The Atmel ATmega168A Microcontroller

MLC MICRO SATA III FLASH MODULE

Transcription:

Combined Serial and Parallel Programming System for Atmel AVR Microcontrollers AVR2-ST GETTING STARTED (Revision 1.03)

Copyright Information Equinox guarantees that its products will be free from defects of material and workmanship under normal use and service, and these products will perform to current specifications in accordance with, and subject to, the Company s standard warranty which is detailed in Equinox s Purchase Order Acknowledgment. Equinox reserves the right to change specifications detailed in this document without notice and does not represent a commitment on the part of the manufacturer. The software described in this document is furnished under license agreement or non-disclosure agreement and may be used or copied only in accordance with the terms of the agreement. It is against the law to copy the software on any medium except as specifically allowed in the license or non-disclosure agreement. The purchaser may make one copy of the software for backup purposes. No part of this manual may be reproduced or transmitted in any form or by any means, electronic, mechanical, including photocopying, recording, or information retrieval systems, for any purpose other than for the purchaser s personal use, without written permission. 1998 Copyright Equinox Technologies UK Limited. All rights reserved. Atmel TM and AVR TM are trademarks of the Atmel Corporation Microsoft, MS-DOS, Windows TM and Windows 95 TM Windows NT are registered trademarks of the Microsoft Corporation All other trademarks are acknowledged. i

Contacts Equinox Technologies UK Limited 3 Atlas House, St Georges Square, Bolton, England BL1 2HB Telephone Sales... : +44 (0) 1204 529000 Fax... : +44 (0) 1204 535555 E-mail... : sales@equinox-tech.com Web site... : www.equinox-tech.com For technical support on this product please e-mail us at: avr2-st@equinox-tech.com Software Updates In line with our policy of continuous improvement, the software contained within this package is updated on a regular basis. If you would like to receive an automatic e-mail every time a new version is released, please make sure you have registered your system with Equinox and you have quoted your e-mail address. You may cancel this service at any time. Software updates can currently be downloaded from the following places: Internet ftp site : www.equinox-tech.com : ftp.equinox-tech.com Atmel BBS : +1 408 436-4309 ii

About AVR Microcontrollers Atmel now manufacture a complete family of AVR microcontrollers each with differing FLASH, EEEPROM, SRAM and number of I/O pins. Data sheets for these devices can be viewed and printed using the Actobat pdf reader software supplied on the Atmel CD-ROM. As data sheets are often updated on a regular basis, it is recommended that you consult the Atmel web site for the latest information. A few sources of further information about Atmel AVR microcontrollers are listed below: Atmel web site : www.atmel.com Equinox web site : www.equinox-tech.com/avr.htm If you have any silicon related technical support question about AVR microcontrollers which can not be answered by looking at the Atmel/Equinox web sites, please e-mail: avr@atmel.com with a detailed description of the problem. Important - Please note Equinox Technologies are unable to answer direct technical support questions concerning AVR microcontrollers. Please contact your local Atmel distributor or sales office if you require any further information. iii

Contents INTRODUCTION...1 SYSTEM SPECIFICATIONS...2 SYSTEM INSTALLATION OVERVIEW...3 DEVICE SUPPORT...5 ACTIV8R HARDWARE OVERVIEW...6 EVALU8R HARDWARE OVERVIEW...7 INTEGRATED DEVELOPMENT ENVIRONMENT OVERVIEW...8 AVR SUPPORT PRODUCTS...10 iv

Introduction The AVR Microcontroller Professional Starter System has been designed as a low-cost entry tool into the Atmel AVR microcontroller arena. The system includes all the components required to get up and running with this new family of RISC microcontrollers including device programmer, evaluation module, AVR assembler, AVR BASIC Compiler (lite version) and a sample AT90S1200 microcontroller. The Activ8r programmer supplied with the system is capable of fast parallel programming of the currently available 8-pin, 20-pin and 40-pin (DIL) AVR microcontrollers from Atmel in the ZIF socket. The programmer is also capable of in-system programming devices (in the user s target board) by means of 10-way ribbon cable supplied. The evaluation module supplied with the system, Evalu8r, supports most 8, 20 and 40-pin AVR microcontrollers. On board features include: LED s, Switches, Sounder, RS-232 communications and an in-system programming port. The system gives you the option of writing code in AVR assembler or AVR BASIC. The BASIC compiler produces fast efficient machine code for the AT90S1200 and can be used to complete full development projects for this device. An upgrade to an 8K code version is also available which supports the entire family up to the AT90S8515. SYSTEM HIGHLIGHTS Supports programming of the Atmel 90S (AVR ) RISC microcontroller family Parallel and In-System Programming (ISP) modes supported Evaluation Module supplied provides LED s, switches, serial communications etc Integrated Development Environment Including Editor, BASIC Compiler, Assembler & Prog Compatible with Windows 3.11 *, Windows 95 and Windows NT * Please Note: AVR BASIC LITE will not operate under Windows 3.11 1

System Specifications Minimum System Contents Combined Serial & Parallel Device Programmer Microcontroller Evaluation Module AVR Basic Lite Compiler (NEW) One AT90S1200 DIL microcontroller Atmel Databook on CD ROM Power Supply Unit (PSU) ISP Ribbon Cable (to target) 9-way Serial Cable (to host PC) Minimum PC Requirements The minimum hardware and software requirements to ensure that the programmer operates correctly are as follows: 100% IBM compatible 386+ Windows 3.1 or higher * Minimum 4MB RAM Minimum 1MB free hard disk space Spare PC serial port * Please Note: AVR BASIC LITE will not operate under Windows 3.11 Activ8r Programmer Specifications Programmer Size...: 10.5 x 8 x 2 cm Shipped Weight...: approx 1.5kg PSU...: 15V DC @250mA Port connection...: Serial 9-way D-socket ZIF socket...: Quality 40way socket Accepts both 0.3/0.6 pitch devices ISP Target Voltage...: +5V DC ISP Header...: 10-way IDC Evalu8r Technical Specification Power Input...: a.+9 volts DC nominal (+25 volts Max)... b.+9v DC unregulated, or +5v DC... regulated. Power Connectors.: a. Standard 2.5mm ROKA type-centre... positive. Accepts Equinox Power... Supply... b. Screw Terminals to accept external... bench PSU.... Pin 1 +5v... Pin 2 +9v... Pin 3 0v. Serial Port...: 3-wire asynchronous Communications... interface, TxD, RxD, GND (RS-232... compatible). Serial Connector...: 9 way female D-type connector, PC... compatible via. 1:1 cable... Pin 2 - TxD Output from Evalu8r... Pin 3 - RxD Input to Evalu8r... Pin 5 - GND Signal Ground connection A/D Converter...: Simple current source and comparator... technique... GND Signal Ground... REF Voltage ramp from 65uA into... 100nF approx.... AIN Input to Evalu8r. Max range 0v to... +5v (clamped)... Noise filter built-in 10K/100nF... approx. Status Indication...: Power-ON & PROG LED s. Sounder...: PIEZO type Device profiles...: 8, 20 and 40-pin devices are supported.... There is room to fit a 40-pin ZIF socket... if required. ISP Compatibility...: Equinox standard 10 -way Header Other I/O...: 5 switches and 8 LED s on 20/40 pin... microcontroller port pins. 2

System Installation Overview The AVR Professional Starter System is made up of both hardware and software components. Hardware Components Activ8r Device Programmer Evalu8r Evaluation Module One AT90S1200 DIL microcontroller Power Supply Unit (PSU) ISP Ribbon Cable (to target) 9-way Serial Cable (to host PC) Hardware Installation 1 Place the Activ8r programmer and Evalu8r evaluation module side by side on a flat surface. 2 Connect the 9-way serial cable between the Activ8r 9-way D connector and a spare PC COM port (9-way). If you only have 25-way on your connector then you will need a 25 to 9-way adaptor see attached products section. 3 Connect ISP cable between Activ8r and Evalu8r. 4 Check external power jumper settings (Should be set 1-2 and 3-4) 5 Plug power supply jack into power into power input of Activ8r and switch on the mains supply. The Power LED s on both the Activ8r and Evalu8r should illuminate. Software Components This system is supplied with two 3.5" floppy discs containing various software utilities: Disk 1: "AVR Professional Starter System (AVR2-ST)" Meridian for Windows - Programmer Interface Software AVR BASIC Lite Disk 2: "Atmel AT90S Family - Assembler & Simulator" Atmel AVR Assembler Atmel AVR Simulator Software Installation Insert Disk 1 "AVR Professional Starter System (AVR2-ST)" Log onto the disk --> Meridian & AVR basic setup icons should be displayed Launch the Meridian.exe install program and follow all on-screen instructions Launch the AVRbasic.exe install program and follow all on-screen instructions 'Meridian for Windows' and 'AVR BASIC Lite' have now been installed. Insert Disk 2 "Atmel AT90S Family - Assembler & Simulator" Log onto the disk --> setup.exe should be displayed Launch the setup.exe install program and follow all on-screen instructions The Assembler and Simulator applications have now been installed. Software installation is now complete. 3

System Installation Overview Continued PC PC COM Port (2) PC COM Port (1) POWER SUPPLY UNIT OFF ON Activ8r Power Supply Unit (PSU) Check Jumper Configuration 2nd Serial Cable NOT SUPPLIED as standard ISP Cable Fit AT90S8515 here Fit AT90S1200 or AT90S2313 here 4 Evalu8r

Device Support It is possible to program Atmel AVR microcontroller devices using two different methods: 1 Parallel Programming Mode (ZIF) In this mode the target device must be placed in the programmer ZIF socket. It is possible to set certain Special Option fuses in this mode which can not be altered in ISP mode. 2 Serial In-System Programming (ISP) Mode This mode allows a device in a remote target system to be programmed without removing the device from the board. A special ISP cable is supplied with the programmer which plugs into the user target system. The table below shows the AVR microcontrollers which this system supports and also details whether a particular device is supported by the assembler and BASIC LITE. ATMEL AVR (90S) FLASH MICROCONTROLLER SUPPORT 90S (AVR) Parallel (ZIF) In-System (ISP) Assembler BASIC Lite AT90S1200 YES YES YES YES AT90S1200A YES YES YES YES AT90S2313 YES YES YES NO AT90S2323 YES YES YES NO AT90S2343 YES YES YES NO AT90S4414 YES YES YES NO AT90S8515 YES YES YES NO The following device families are not supported by this system: Atmel Mega AVR Microcontrollers & Atmel 89S Microcontrollers Please note: The Activ8r programmer is able to program all AVR devices on the market as of late 1997. In order to achieve this, certain hardware resources are dedicated to particular pins on the ZIF socket. Should Atmel release any devices in future which require different resources, programming of these in the ZIF socket may not be guaranteed. Although Equinox may opt to extend device support for the Activ8r, we are not obliged to do so. We may offer support for future devices on products as yet unannounced. Whilst every care has been taken in the design and manufacture of this product, software and support literature, the company will not be held liable for any loss or damages, including but not limited to consequential losses, which might arise out of its use. 5

Activ8r Hardware Overview 1 2 3 4 5 6 7 8 Key TGT EXT 1 PSU input 2 Active LED (Yellow) 3 Power LED (Red) 4 ISP Connector (10-way IDC Header Socket) 5 Serial Cable Connection to PC 6 Controller Chip 7 Power Configuration Jumpers 8 ZIF (Zero Insertion Force) socket (40-way) Fit jumper here to power Activ8r from target s Vcc Fit jumper here to power Activ8r from Equinox PSU 6

Evalu8r Hardware Overview 1 2 3 4 5 6 3 7 8 23 22 21 9 10 KEY: 20 19 18 17 16 15 14 13 12 11 1 Push Button Switches 2 Crystal 3 Configuration Jumpers for U4 4 Reset Switch 5 20-pin Microcontroller Socket 6 8-pin Microcontroller Socket 7 Configuration Jumper for Piezo Sounder 8 Power LED 9 Program LED 10 Power Supply Screw Terminals 11 Power Supply Input +9/+26v DC Unreg 12 Jumpers No: 13 & 14 13 Port 2 14 40-pin Microcontroller Socket 15 ISP Programming Socket 16 LED s x 8 17 U2 Configuration (CON10) 18 Port 0 19 Jumpers No: 1 & 2 20 Serial Communications (RS-232) Connector 21 Piezo Sounder 22 A/D Inputs 23 Jumpers 3 & 4 7

Integrated Development Environment Overview Getting started The Integrated Development Environment (IDE) supplied with this system integrates the following tools: Text editor BASIC Compiler Macro Assembler EDITOR.asm.bas MACRO ASSEMBLER View Symbols BASIC COMPILER View Symbols.obj.lst.eep.obj.lst.eep.rom.err.rom.err The AVR IDE is installed under the Windows Program Group 'Equinox'. To launch the IDE, simply double-click on the icon or from Windows 95 select: <Start><Programs><Equinox> and then select the IDE. i. AVR BASIC The 'AVR BASIC Lite' compiler included with this system provides a powerful yet costeffective method of developing high-level code for the AVR AT90S1200 microcontroller. This is a true compiler which takes BASIC source code and translates it into compact and efficient AVR assembler. Example basic source files can be found in the.../avrbasic/ directory. 8

Integrated Development Environment Overview Continued Opening an example BASIC project Various examples are contained in \avrbasic\ examples BASIC source files have the extension.bas, i.e. your.bas is your program! The files in AVR BASIC for your project are: your.asm : AVR assembler source file your.lst : List file your.bas : Basic source file your.obj : Object file your.avd : Compiler settings* your.eep : File for EEPROM your.err : Error file your.rom : file for FLASH ROMi. avrasm ii AVR Assembler This macro assembler is a freeware product which has been integrated into the IDE. It is possible to write a file within the IDE editor and then compile it to produce executable code. Example assembly source files can be found in the.../avrbasic/asm directory. Restrictions Restricted to 1K bytes of code AT90S1200 instruction set only The following Atmel tools are also supplied with this system: i. AVR Assembler - wavrasm This assembler is written and freely distributed by Atmel the Atmel Corporation. This is a separate freeware application which is included for completeness. Equinox Technologies are not able to offer an technical support for this product. A user guide for this product plus other handy hints can be found on Atmel's web site. AVR Assembler This system allows you to author code in AVR assembler. There is a choice of two assemblers: Technical Support Due to the low cost nature of this product, no formal technical support can be offered. Please consult the AVR BASIC Web Site at www.avrbasic.com for further information or e-mail: avrbasic@equinox-tech.com. * May not be implemented in early versions 9

AVR Support Products Part code NEW NEW NEW NEW NEW NEW NEW MPW-PLUS UISP-S3-SYS AVR2-ST SS-90S8515-P SS-90S8515-J EVALU8R-1P AVR-BAS-LITE AD-PLCC44-A AD-DIL40-PLCC44-A AD-SOIC20-A OEM-UC-20/40 Description Micro-Pro Device Programming System Micro-ISP Serial Programming System for the Atmel 89S/90S Microcontroller Families AVR Microcontroller Professional Starter System Atmel 90S8515 - AVR ISP Socket Stealer(DIL-40) Atmel 90S8515 - AVR ISP Socket Stealer (PLCC-44) Universal Microcontroller Evaluation Module AVR BASIC Lite (1K bytes code limit) Package adaptor - PLCC-44 to DIL-40 (for programming/package conversion) Package adaptor - PLCC44 to DIL-40 (for emulation/package conversion) SOIC-20 to DIL-20 Adaptor Module Generic microcontroller Single-chip OEM module (supports 20 & 40pin 87C, 89C, 89S, AVR, derivatives) 10

Equinox Technologies UK Limited reserves the right to change any information contained within this manual without prior notice. E&OE Terms and product names contained in this document may be trademarks of others.