Advertisement

Quick Links

AVR-ISP500-TINY
User Manual
All boards produced by Olimex are ROHS compliant
Rev.C, May 2009
Copyright(c) 2008, OLIMEX Ltd, All rights reserved

Advertisement

Table of Contents
loading

Summary of Contents for OLIMEX AVR-ISP500-TINY

  • Page 1 AVR-ISP500-TINY User Manual All boards produced by Olimex are ROHS compliant Rev.C, May 2009 Copyright(c) 2008, OLIMEX Ltd, All rights reserved...
  • Page 2: Electrostatic Warning

    . It is distinguished from other programmers by its support for autonomous operation. AVR-ISP500-TINY contains a 2Mb FLASH memory where it can store entire programming sessions, including FUSE, LOCK, EEPROM and FLASH write and verification, as well as signature checking. Just hold the button, perform all the necessary steps with AvrStudio, and disconnect the programmer from the PC.
  • Page 3 Software: Software needed for STK500v2 mode: AvrStudio, available from Atmel. avrdude, included in the WinAVR distribution. Any other software with support for the STK500v2 protocol. Software needed for Mass Storage mode: AVR binary chip description files, available from our website. Plain text editor for editing the configuration file.
  • Page 4: Supported Microcontrollers

    SUPPORTED MICROCONTROLLERS: The following AVR microcontrollers are supported for programming: Classic 8-bit AVRs (see the notes for Mass Storage Mode). megaAVR tinyAVR USB AVR The following AVR microcontrollers are not supported: XMEGA AVR32 The following programming methods are not supported: JTAG debugWire Parallel High Voltage Programming...
  • Page 5: Pc Driver Installation

    POWER SUPPLY CABLE CONNECTION Connect to...1+5V stabilized power supply.2NC3NC4GND PC DRIVER INSTALLATION: Drivers for the Mass Storage mode are integrated in Windows XP/Vista. The driver for STK500v2 mode is available from our website. Windows installation steps are the following: 1. Download and unzip the file “AVR-STK500-TINY-drivers.zip” in a temporary directory.
  • Page 6 TINY must be COM4 or below. Otherwise AvrStudio might not be able to detect the programmer. Here are the steps to change it: 1. Go to Device Manager. 2. Unfold “Ports (COM&LPT)” and right-click on “Olimex Virtual COM - AVR-ISP500-TINY (COMxx)” where COMxx can be anything between COM1 and COM255. Select properties.
  • Page 7 Go to the “Port Settings” tab and click the “Advanced” button.
  • Page 8 6. If a warning message pops up and complains about COM port being used by another device, click “Yes”. 7. Click OK to close the device properties. USING AVR-ISP500-TINY WITH AVRSTUDIO (STK500v2 mode): WARNING: The COM port number assigned by Windows to AVR-ISP500- TINY must be COM4 or below.
  • Page 9 USING AVR-ISP500-TINY WITH AVRDUDE: AVRDUDE requires the serial port name, assigned by the Operating System to AVR-ISP500-TINY. It must be given with the -P command line option. For Windows systems please check the Device Manager. For Linux systems the following command will list all USB CDC serial ports:...
  • Page 10 An example command line for programming an Atmega88 under MacOS X: avrdude -p m88 -B 50 -c stk500v2 -P /dev/cu.usbmodem000010471 -e -U flash:w:blinkled.hex AUTONOMOUS OPERATION (STK500v2 mode): When the button is held pressed for 5 seconds programmer enters command logging state. In this state it will execute and log all commands received from the PC software in its internal FLASH memory.
  • Page 11 In case of autonomous operation error, the RED LED will blink for a while. The number of flashes indicates the error that caused the failure. Error codes are given in the table below. Number of flashesAction that failed 1Enter programming mode.
  • Page 12: Mass Storage Mode

    by the “Auto” feature of AvrStudio Programming Dialog. After setting the FLASH and EEPROM files, FUSE and LOCK settings, and selecting the target AVR device, switch to the “Auto” tab of the programming dialog. Select the operations that should be performed and hold the programmer button for 5 seconds to activate command logging.
  • Page 13 High fuses the programmer will just ignore these values. *.APD – mandatory – AVR target part description This file selects the target chip and contains a description of how to program it. Olimex provides these files for the supported devices. *.HEX – mandatory – FLASH Intel HEX image This is the FLASH image that will be programmed.
  • Page 14: Switching Operating Modes

    target. During programming the LED will be yellow (red+green), either static or blinking. When programming finishes the LED will become red if programming failed or green if programming and verification succeeded. User then must acknowledge the operation by pressing the button, which in turn will cause the device to reattach its USB port.
  • Page 15: Firmware Upgrade

    TIP: If clock output is needed when target is not being programmed then the following steps must be followed. Make sure that programmer contains a valid log, no matter its contents. Disconnect the programmer, then press the button, and wait for RED LED to blink for error. After that the clock output will stay activated.
  • Page 16: Electrical Characteristics

    Problem: Programming fails. Target AVR chip cannot enter programming mode. Probable causes and solutions: ISP frequency might be too high. Set the ISP frequency to well below  ¼ of target MCU clock. Please note that the AVR MCU clock depends on its fuses configuration.
  • Page 17 Symb Description Condition Time for a FLASH Autonomous operation, programming and =5V, F =2MHz TARG verification of Programming with AvrStudio, ATmega128 (128k logging enabled, V =5V, TARG FLASH) =2MHz Programming with AvrStudio, logging disabled, V =5V, TARG =2MHz...
  • Page 18 ORDER CODE: AVR-ISP500-TINY – assembled and tested (no kit, no soldering required) How to order? You can order to us directly or by any of our distributors. www.olimex.com/dev Check our web for more info. Revision history: REV.A - create April 2008 REV.B...
  • Page 19 This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such...
  • Page 20 MIKROPROG FOR PSOC5LP JTAG HS2 PROGRAMMING CABLE JTAG-SMT2-NC SM PROGRAMMING MODULE ZL30PRGV2-1 MIKROE-1505 MIKROPROG FOR AVR MIKROPROG FOR CEC MIKROPROG FOR PIC,DSPIC AND PIC32 MIKROPROG FOR STM32 MIKROPROG FOR TIVA ZL31PRG ZL20PRG AVR-ISP500-TINY MIKROE-2511 CYBLE-012011-PROG CT210A-S 5.16.02 DC9010B TPG100016-G3 FP-ARM-1V FP-MSP TPG100001-G3 XS-FP-X CYBLE-212006-PROG XS-FP-ARM-1V GP-ARM-1V...

Table of Contents