Home
        AVR-ISP500-ISO user`s manual
         Contents
1.  USB Serial Port  GOM40  Properties    Driver  Details         Bits per second           Data bits           Parity           Stop bits              Flow control                 4  Change the    COM Port Number    to COM3 or COM4        COM Port Number     USB Transfer Sizes    Miscellaneous Options    Serial Enumerator  v   Serial Printer E  Cancel if Power Off CI  Event On Surprise Removal a  Set RTS On Close E   Disable Modem Ctrl At Startup  _     5  Click OK    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 ISO WITH AVRSTUDIO     WARNING  The COM port number assigned by Windows to AVR ISP500   ISO must be COM4 or below  Otherwise AvrStudio might not be able to  detect the programmer  See the section for PC Drivers Installation for more  information     Page 7    Page 8    Usage under AvrStudio is straightforward  First open the Programmer  Connect dialog   AVR Studio  i Ble Project Buld View Tools Debug Help  iDEHJ UALL Me Men Tid AA MB  a  i  Trace Disabled a G d T RB aa Wi          fi 16200 z      button on the toolbar  Baud rate changes are  active immediately     Tip  To auto connect to the programmer used last time  press the  Programmer     Note that a tool cannot be used for programming as long as it is connected in  a debugging session  In that case  select  Stop Debugging first     Disconnected Mode          After pressing    Connect   
2.  Update Wizard    Please choose your search and installation options  ra    Y           Search for the best driver in these locations     Use the check boxes below to limit or expand the default search  which includes local  paths and removable media  The best driver found will be installed       Search removable media floppy  CD ROM      Z Include this location in the search   cAMY  TEMPORARY  FOLDER fw                Dont search    will choose the driver to install     Choose this option to select the device driver from a list  Windows does not guarantee that  the driver you choose will be the best match for your hardware              Page 5    WARNING  The COM port number assigned by Windows to AVR ISP500   ISO 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 amp LPT  and right click on    USB Serial Port   COMxx     where COMxx can be anything between COM1 and    COM255  Select properties     2 Device Manager     e    Naga UN    A DIMITAR  Computer   amp  Disk drives  2 Display adapters  IDE ATA ATAPI controllers  Infrared devices  P Keyboards       Mice and other pointing devices  Monitors  H8  Network adapters  BY Ports  COM  amp  LPT   wy Communications Port  COM 1   A ECP Printer Port  LPT1                    System devices  Universal Serial Bus controlle          Page 6    3  Go to the    Port Settings    tab and click the    Advanced    button  
3.  on many devices with single button press      One bi color LED for current operation status      One bi color LED for last autonomous operation status      Supports both standard ICSP10 and ICSP6 connectors      Button for initiating autonomous operations and command logging      Powered either by USB or external AC DC power supply      External clock output on ICSP10 pin 3 for rescuing AVRs with enabled  external clock fuse      Supports target voltages ranging from 1 8V to 5 5V      ISP clock frequencies ranging from 5kHz to 1 843MHz     ELECTROSTATIC WARNING     The AVR ISP500 ISO board is shipped in protective anti static packaging   The board must not be subject to high electrostatic potentials  General  practice for working with static sensitive devices should be applied when  working with this board     REQUIREMENTS     Cables  1 8 meter USB A B cable  Ten  or six wire ribbon cable for  connection to target AVR chip     Power  External 9 12V DC or 6 9V AC power supply  needed only for  autonomous operation when USB is not plugged      Software  Software with support for STK500v2 protocol      AvrStudio  available from Atmel     Page 2      avrdude  included in the WinAVR distribution     Page 3    SUPPORTED MICROCONTROLLERS     The following AVR microcontrollers are supported for programming     Classic 8 bit AVRs     megaAVR    tinyAVR    USB AVR    The following AVR microcontrollers are not supported     XMEGA    AVR32       The following programming methods are not
4.  supply voltage might be  too low  Check your target board circuit Ensure that the used AVR  chip specifications match your supply voltage    Target power supply VCC might not be connected to pin 2 of  ICSP6 10  Check your target board circuit     Page 17    The target AVR MCU might have fuses programmed for disabling SPI  ISP or selecting another programming method  In such case you ll  need a High Voltage Parallel programmer to unlock the chip    The reset line cannot be pulled low by the programmer  Check your  schematic and ensure that only a weak pull up  and possibly a  small capacitor  are connected to RESET  Otherwise  if the pull up  is too small or there is another output driving RESET  the  programmer won t be able to pull it down    Another circuit is driving the ISP lines  MISO  MOSI  SCK or RESET   resulting in a contention with the programmer  The solution is to  remove all such circuits  LEDs  RS232 drivers  resistors below 2k   etc  from the four ISP lines during programming  AVR ISP500 is  more susceptible to this kind of fault than other programmers on  the market because it has 560 ohm resistors in series with all its  outputs  This protects both the target MCU and the target board    circuit     ELECTRICAL CHARACTERISTICS                                                              Symb Description Condition Min Typ   Max   Uni  ol ts  Vrara   Target Supply Voltage  1 8 5 5  V  Fisp ISP Frequency on SCK 5 1843   kHz  SPI pin   Vcc Programmer Power 5 V  Su
5.  supported     JTAG    debugWire    Parallel High Voltage Programming    Serial High Voltage Programming    PDI       CONNECTOR SCHEMATICS     ICSP10  description  Serial Output    246 8 10    pin    Target VCC  Clock output  Ground    1  2  3  4  5 TRST  6  7  8  9             1  2  3  4  5  6       Ground          PC DRIVER INSTALLATION     Download drivers for your Operating System from our website  Windows  installation steps are the following   1  Download and unzip the file    AVR STK500 ISO drivers zip    in a  temporary directory   2  Plug the programmer in the USB port     Page 4    3  Point the Device Wizard to the temporary directory   4  Click finish   Screenshots of the steps are shown below     Hardware Update Wizard    Welcome to the Hardware Update  Wizard  Windows will search for cument and updated software by    looking on your computer  on the hardware installation CD  or on  the Windows Update Web site  with your permission      Read our privacy policy    Can Windows connect to Windows Update to search for  software     O Yes  this time only     Yes  now and every time   connect a device    Click Next to continue           Hardware Update Wizard    This wizard helps you install software for   USB Serial Port  COM40        if your hardware came with an installation CD  P or floppy disk  insert it now     What do you want the wizard to do        Install the software automatically  Recommended          Click Next to continue              lt Back      Hardware
6.  the programming dialog should appear     Page 9       Page 10    Target AVR now can be erased  flashed with a provided HEX file  FUSES  and LOCK bits can be written and or verified  For more information please  consult the AvrStudio documentation     CAVEAT  Although the programmer will happily accept setting VTARGET  and ARef in the    HW SETTINGS    tab  these actions will have no effect  The  programmer hardware can only read target VCC and show it  simultaneously in the VTARGET and ARef sliders     AUTONOMOUS OPERATION     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  When the  button is pressed again  programmer will enter its normal state where  commands will be executed but not logged     Logged commands can be executed again without the presence of a  connected PC by simply pressing quickly the programmer button while in  normal state  The bi color LED will glow yellow while operation is in  progress  After operation finishes successfully the GREEN LED will blink  for a while  otherwise on error the RED LED will blink for a while  After that  the programmer will enter normal state where only the GREEN LED is on  constantly     The right LED of AVR ISP500 ISO is a bi color LED which shows the last  autonomous operation status for indefinite time  Again  RED is for error   GREEN is for success  off if no status is ava
7. OUPIEX       AVR ISP500 ISO  Users Manual    Petree  een All boards produced by Olimex are ROHS compliant    Rev C  October 2011  Copyright c  2011  OLIMEX Ltd  All rights reserved    Page 1    INTRODUCTION     FEATURES     AVR ISP500 ISO is professional serial in system programmer for AVR  microcontrollers  featuring optoisolation between PC and target AVR board   It implements the STK500v2 protocol as defined by Atmel which makes it    compatible with a range of tools  including AvrStudio and avrdude     It is distinguished from other programmers by its support for autonomous  operation  AVR ISP500 ISO 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  Next time button is pressed the programmer will  invoke all previously recorded steps without the need for connection to the  PC  We believe this feature makes AVR ISP500 ISO the perfect tool for  firmware upgrades in remote places       STK500v2 compatible mode      Works with AvrStudio  WinAVR  Avrdude and every other software  compatible with STK500v2      USB port for connection to PC      Opto isolation 1000VDC between PC and target AVR board allows  programming of targets under high voltages      Stand alone operation without the need for PC connection  allowing  firmware mass programming
8. ilable due to ongoing operation   This LED is also off after power up to signal that no autonomous operation  has taken place so far  This LED is helpful for long autonomous  programming sessions where user is not required to look for the end of a  programming session     If programmer button is pressed and held for more than 1 second but less  then 5 seconds  it will show the current log status  A blinking GREEN    indicates a valid log  and blinking RED indicates invalid erased log     The formal definition of the programmer states is given below     Page 11    AVR ISP500 STATES    SHOW_RESULT    if error   STANDALONE ISP Finished LED0 on  LED1 off  LEDO on     p else iffempty     LED1 on LEDO   blink fast  LED1 off    else  LEDO off  LED1 blink fast    Button pressed  IDLE Ka passed or    LEDO off button pressed  LED1 on           Button held  for 1 second    Button pressed    Button       released  H LOG_STATUS  i aie   ENABLE LOGGING  iflog empty  inant  LEDO blink_fast Button held Pe ank Say  LED1 off for 5 seconds LEDI blink slow      elke     p if rs232_packet_received     LEDO off erase_log       LED1 blink fast          NOTE  LEDO is RED  and LED1 is GREEN  If both are on  the result is Yellow glow     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 Action that failed       Page 12    Example     LED1    LEDO       Er
9. oaded the target will blink the GREEN LED if  update was successful  otherwise it will blink RED LED if firmware image  was invalid or update was unsuccessful  Device stays in this state until it is  power cycled     TROUBLESHOOTING GUIDE     Problem  AVR Studio cannot find my programmer   Probable causes and solutions       Look whether the programmer is listed in Device Manager under the     Ports  COM  amp  LPT     section  If it s not there then check your USB  cables and hubs  Reinstall the driver    e Check that the green LED is constantly on  If not then the  programmer might be in firmware upgrade mode  Go to the firmware  upgrade section for more details    e Your serial port number might be too high  Check the manual  section    Installing drivers    for more information on assigning serial  port numbers  Also go to AVR Studio menu    Tools  gt Options    and set  the    Number of COM ports to try    field to at least 20       Remove all applications that might be using or scanning your  computer s serial ports  including any serial port monitors  They  might mess up the STK500v2 communication between AVR Studio  and the programmer        Problem  Programming fails  Target AVR chip cannot enter programming  mode     Probable causes and solutions     Page 16    ISP frequency might be too high  Set the ISP frequency to well below  4 of target MCU clock  Please note that the AVR MCU clock depends  on its fuses configuration    Target power might not be stable enough or
10. pply Voltage   Icc Programmer Power Idle 92 mA  SUPPI Curent Autonomous operation  110 160  mA  Vrarc  1 BV  Fisp  1  843MHz   powered from USB  Programming with AvrStudio  110 mA  logging enabled  Vrarc 1 8V   Fisp 1 843MHz  powered from  USB  Time for a full Autonomous operation  51 s  programming and Vrare55V  Fisp 1 843MHz  Verinestioner Programming with AvrStudio  105 s  nee leeks logging enabled  Vrare 5V  FLASH   4k EEPROM AN Mie Tn  FUSES   LOCK   panes  Signature check  Programming with AvrStudio  94 s  logging disabled  Vrarg 5V   Fisp  1 843MHz  Time for a FLASH Autonomous operation  15 s  programming and Vrarc OV  Fisp 1 843MHz  yen uan Programming with AvrStudio  67 s  ATmega128  128k   p  FLASH logging enabled  Vrarc 5V     Fisp  1 843MHz  Programming with AvrStudio  58 s          Page 18          Symb  ol    Description    Condition    Min    Typ    Uni  ts                logging disabled  Vrarg 5V   Fisp 2MHz                   Page 19       ORDER CODE     AVR ISP500 ISO   assembled and tested  no kit  no soldering required     How to order   You can order to us directly or by any of our distributors     Check our web Www olimex com  dev for more info     Revision history   REV  A  create April 2008  REV  B   modify January 2009  Added a troubleshooting guide  REV  C   modify October 2011  In Futures      Fully STK500v2 compatible    replaced with    STK500v2 compatible  mode     Added Page Number    Page 20    Disclaimer        2011 Olimex Ltd  All rights rese
11. r 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 15    FIRMWARE UPGRADE     All AVR ISP500 devices contain a built in boot loader for easy firmware  upgrade  Device enters boot loader mode if the application FLASH section is  corrupted  To force the device to enter boot loader mode for manual  firmware update do the following   1  Disconnect the programmer from any power source  external  AC DC  USB    2  Press and hold the button   3  Power up the device by connecting it to USB   4  Device now must be in boot loader mode  indicated by the LED light  sequence   a  RED on  GREEN off   b  RED off  GREEN on   c  RED off  GREEN off   Button can now be released  The device will stay in boot loader mode until  it is power cycled     All boot loaders implement the standard protocol XMODEM with CRC16 for  firmware update  User is free to use his favorite terminal client   HyperTerminal  minicom  etc  to upload the firmware images taken from  our website  The serial port settings for the AVR ISP500 ISO boot loader  are  9600 baud sec  8 data bits  no parity  1 stop bit  The AVR ISP500   TINY MASS NANO boot loaders implement a USB virtual serial port that is  baudrate agnostic     As an alternative we provide a simple Windows GUI application for users  who don   t want to or cannot use terminal software     After the firmware image is upl
12. ror code  2 flashes       End of error code  LEDO       CAVEAT  RC calibration in autonomous mode is not supported  The reason  is that the programmer has no way to distinguish RC value writes to FLASH  from normal data ones     TIP  Sometimes AvrStudio will issue FUSE LOCK reads when the  corresponding tabs are selected  This  however  will be recorded by the  programmer if it is in command logging state  So for best results it is  recommended to issue all commands in a predefined order  This is achieved  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    S1K500 in ISP mode with m        IM Erase Device   Iv Check signature   Iv Program FLASH   Iv Verify FLASH   I Read FLASH   IV Program EEPROM   Iv Verify EEPROM   IV Read EEPROM   I White osc  cal  byte   I7 Program fuses   IV Verify fuses   IC Read fuses   I Program lock bits P Log to file  Iv Verify lock bits   Overwrite  IX Read lock bits C Append    Browse      IV Enable fuse wamings    Getting revisions   HW  0x02  SW Major  x02  SW Minor  IxOa    OK    Select the operations that should be performed and hold the programmer  button for 5 seconds to activate command logging  Then hit the    Start     button to initiate a programming operation  After    Auto    operation finishes  successfully  turn off command logging     Page 13    TIP  If target signa
13. rved  Olimex    logo and combinations thereof  are registered trademarks of  Olimex Ltd  Other terms and product names may be trademarks of others     The information in this document is provided in connection with Olimex products  No license  express or implied  or otherwise  to any intellectual property right is granted by this document or in connection with the sale of Olimex  products     Neither the whole nor any part of the information contained in or the product described in this document may be  adapted or reproduced in any material from except with the prior written permission of the copyright holder     The product described in this document is subject to continuous development and improvements  All particulars of  the product and its use contained in this document are given by OLIMEX in good faith  However all warranties  implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are  excluded     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  information or any incorrect use of the product     Page 21    
14. ture must be verified during autonomous operation   READ SIGNATURE command must be issued while in command logging  state     Page 14    CLOCK OUTPUT     Pin 3 of the ICSP10 connector is normally left unconnected by other ISP  programmers  Not ours  In normal programmer state this pin is tri stated   During programming operation  however  this pin is made output and a  square wave clock is generated  Clock frequency can be adjusted with the  AvrStudio Programmer Dialog     STKS00 in ISP mode with    Main   Program   Fuses   LockBits   Advanced HW Settings   Hw Info   Auto         r Voltages  VTarget     ARef     AREF 1        614 4kHz    t  7  614400             Upgrade         P 0x01  N 0x05   OK       After programming operation finishes  this pin is again tri stated in order  not to interfere with the target circuit     This clock output can be really helpful when target AVR is accidentally  programmed with External Clock FUSE option  To resurrect it just wire  ICSP10 pin 3 to XTAL1 pin of the target AVR chip and initiate a  programming session to fix the FUSE values     CAVEAT  If an error occurs in standalone mode  the    Leave Programming  Mode    command will not be executed  so the external clock output will stay  active  Due to the AVR ISP500 hardware implementation  this can cause  target VCC to be incorrectly read as Vtarget 5V     TIP  If clock output is needed when target is not being programmed then  the following steps must be followed  Make sure that programme
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
sonet - Artisan Technology Group  aXeSIM User Manual (pdf download, 1.0Mb)  Universal heated vest GV1U  Philips 6000 series 47PFK6309 47" Full HD 3D compatibility Smart TV Wi-Fi Silver  Texas Instruments TPA102 MSOP User's Manual  Ouvrages en consultation sur place Centre de documentation Cerises  ケネディクス(4321)  mojo3D - Leica Geosystems  Le bilan - Comité sectoriel de main      Copyright © All rights reserved. 
   Failed to retrieve file