Home
- Farnell
Contents
1. Voltage Flash Write EEPROM Write Fspy Fosc Code time Data time V Time ms Time ms KHZ MHz secs secs 3 8 45 7 70 3 6864 231 1 38 4 0 35 7 70 3 6864 226 1 38 4 5 30 5 70 3 6864 223 4 30 5 0 22 4 70 3 6864 219 2 25 For the ATmega family it is necessary to alter the FLASH write time on a per page 256 bytes basis and the EEPROM Write time on a byte by byte basis depending on the target voltage Erasing of the target device is not guaranteed below 3 4V This can cause programming errors as random locations may not have erased correctly This is a silicon limitation for which there is currently no workaround Correct programming of ATmega103L devices at voltages less than 3 8V with revision K silicon was found to be unreliable The Micro ISP Series IV LV programmer is slower at programming the ATmega103 than the 5V programmer at a given voltage EQUINOX TECHNOLOGIES UINOX TECHNOLOGIES UK LMITED 14 The Embedded Solutions Company Micro ISP Sezics IV User Manual V2 03 Device Programming Guide continued 5 Setting of the SPI frequency EEEN The setting of the SPI frequency also varies with the En hara ra PE target voltage It may be necessary to change the SPI d frequency Fspi p p ie te aca To alter the SPI frequency select lt Options gt lt ISP T Aaa High ee Settings gt iT Enter the recommended SPI frequency fe Jiao ina see the
2. EQUINOX TECHNOLOGIES The Embedded Solutions Company iii Micro ISP Sezies IV User Manual V2 03 Contacts Equinox Technologies UK Limited 3 Atlas House St Georges Square Bolton England BL1 2HB Telephone Sales ecssseeees 44 0 1204 529000 e 44 0 1204 535555 Ema aea sales equinox tech com Web Sitea eae aae www equinox tech com For technical support on this product please e mail us at microisp equinox tech com Software Updates In line with our policy of continuous improvement the Meridian for Windows software is updated on a regular basis The firmware of the actual programmer is also periodically updated 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 The Meridian software updates can currently be downloaded from the following places Internet www equinox tech com Select lt software gt this will take you to the software download page EQUINOX TECHNOLOGIES iv The Embedded Solutions Company Micro ISP Sezics IV User Manual V2 03 About AVR Microcontrollers Atmel manufacture a complete family of AVR and 89S microcontrollers each with differing FLASH EEPROM SRAM and number of I O pins Data sheets for these devices can be viewed and printed using the Acrobat pdf reader software supplied on the A
3. 1998 Copyright Equinox Technologies UK Limited All rights reserved Atmel and AVR are trademarks of the Atmel Corporation Microsoft MS DOS Windows and Windows 95 Windows NT are registered trademarks of the Microsoft Corporation IBM PC and PS 2 are registered trademarks of International Business Machines Corporation Every effort was made to ensure accuracy in this manual and to give appropriate credit to persons companies and trademarks referenced herein Disclaimer Please note about diagrams contained within this document Whilst suggested circuits are offered in good faith Equinox will not be liable in any way for any problems which might arise out of their use EQUINOX The Embedded Solutions Company Micro ISP Sezics IV User Manual V2 03 Electromagnetic Compatibility EMC Compliance The Micro ISP Programmer is a CE Approved Product It is designed only for use in a development environment only This means that the user must ensure that there is no possibility of damage from electrostatic discharge ESD Since the devices and equipment to which this product is likely to be connected may well themselves be susceptible to ESD this should not pose any difficulty For example if you are handling microcontrollers and EEPROMS etc then you will already be used to appropriate precautions such as the use of anti static mats wrist straps and so on You should treat your Micro ISP with the same care as
4. Micro ISP Series IV Serial Programming Systems for the Atmel 89S AT90S AVR amp ATmega microcontroller families USER GUIDE Version 2 03 CE EQUINOX TECHNOLOGIES EQUINOX TECHNOLOGIES UK LIMITED The Embedded Solutions Company Micro ISP Sezics IV User Manual V2 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 orm 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
5. Timing Characteristic Tables 7 m al These tables show the fastest programming speeds a _ at achieved at Equinox Technologies on two different aS target devices The optimum timings for these and other devices will vary It may be necessary to l DE J Cacai experiment with differing settings to achieve the fastest times 6 Setting the Target Reset Polarity Meridian automatically sets the polarity of the programmer RESET signal PROG_RESET to be the correct default polarity for the target device being programmed Some users may wish to change the Target Reset Polarity if the RESET circuit on the target system is inverted for some reason 7 Setting the ISP RESET Timing parameters The programmer outputs a sequence of pulses on the PROG_RESET PROG_MOSI PROG_MISO PROG_SCK1 and PROG_LED signal lines in order to force the target device into Serial Programming Mode The programmer effectively runs a statemachine where the programmer I O lines are set to certain states for periods of time as specified by the T1 16 timing parameters The default settings are for a generic Capacitor Resistor RESET circuit and a target system operating at 5V For Atmel AVR ATmega and ATtiny devices the default timing parameters should operate correctly for most target systems without any changes However the Atmel 89S microcontroller family suffers from many problems in entering Serial Programming Mode corr
6. 03 Software Overview continued DEVICE READ Reads the contents of the currently selected device into the programmer buffer area s ERASE DEVICE Performs an ELECTRONIC erase on the currently selected device DEVICE AUTO PROGRAM Performs a complete programming cycle including Signature Check Erase Blank check Write Special Options Security etc SECURITY Allows you to READ WRITE the security lock bits of any device which supports this feature EQUINOX TECHNOLOGIES QUINO TECHNOLOGIES UK LMITED 1 0 The Embedded Solutions Company Micro ISP Sezics IV User Manual V2 03 Device Programming Guide The Micro ISP Programmer is now ready to program a target device In the following example we have chosen to program an Atmel AT90S1200 microcontroller located on the user target system 1 From Meridian select lt Options gt lt Create Library Info gt This operation interrogates the target programmer and generates a notepad document which details information about your programmer and generates a list of devices supported by the programmer From the list you can see which TARGET ISP devices can be programmed with the Micro ISP i e only devices listed as yes or LNR are supported 2 To select the target device click on the lt Device menu gt Chose lt Select gt Chose lt AT90S gt Chose lt Target ISP gt and finally click on the target device in our example lt AT90S1200ISP gt 3 From
7. and ATtiny microcontroller families as standard The Micro ISP programmer features extremely fast programming speeds due to the use of dedicated hardware to generate the SPI waveforms Please Note This programmer is designed for development use only EQUINOX TECHNOLOGIES The Embedded Solutions Company MICRO ISP DEVICE PROGRAMMER HIGHLIGHTS State of the art Device Programmer e Supports In System Programming ISP of e Atmel 89S microcontroller family e Atmel AVR Q90S microcontroller family e Atmel ATmega microcontroller family e Atmel ATtiny microcontroller family e Powerful Windows Interface Software Meridian compatible with Win3 1 95 98 amp NT e Device Manufacturer Certification for many algorithms e Connects to spare PC Serial Port Straightforward hardware software installation e Supports programming of security lock bits e The programmer firmware is field upgradable allowing new devices and enhancements to be added in the future FAST programming times due to Enhanced serial programming algorithms e SPI programming waveforms generated by dedicated hardware Two versions of the programmer are available e Standard voltage UISP S4 4 8 6 0V e Low voltage UISP LV4 3 3 6 0V Micro ISP Sezics IV User Manual V2 03 Device Support ATMEL 89S FLASH Microcontroller Family AT89S8252 AT89LS8252 AT89S53 AT89LS53 Atmel AVR Classic Microcontroller Family AT90S1200 AT90LS
8. cause unreliable programming 4 SCK Noise filtering If noise spikes on the SCK pin are found to be a problem a resistor i e R6 may be inserted between the SCK pin and ground 5 Active LED An LED may be placed on the user target system to indicate when the programmer is active The value of R7 should be chosen to suit the target supply voltage Further sources of information AN102 ISP Design Notes for the Atmel ATtiny AVR Microcontroller Family EQUINOX LOGIES The Embedded Solutions Company 25 Micro ISP Sezies IV User Manual V2 03 Upgrading the programmer firmware This programmer features upgradable firmware technology which allows the actual control code within the programmer to be updated in the field Upgrading the programmer firmware allows new features new device algorithms and bug corrections to be added to the product in the future by means of a straightforward Windows reprogramming utility without having to return the product to Equinox All new programmers are shipped with the latest firmware from Equinox but if your system has been purchased from a distributor and has been in stock for a long period of time it may be that the firmware version is out of date How do I check what version of firmware my programmer is running i Make sure the programmer is plugged into a spare COM port and is powered up ii Launch the Meridian software gt The software should display On Line iii Select lt Opti
9. ccccccecce eee eee ete ttetteeteeteeens 9 Device Programming Guide 0 c0ceeeeees 11 In System Programming Overview 005 18 ISP Header Pin Assignments 0 c0ccceececeeeees 19 ISP Cable Convertor 0 ccccccecceeeeeeeeeeeeeeteeeneeeetenes 20 Target System Requirements 0 ccceeseeeees 21 Atmel AT89S 89LS ISP Notes 0 0 c cece 22 Atmel ATmega103 603 ISP Notes 0 ceee 24 Atmel AT90S ATtiny ISP Notes 0 0 0 0 eee 25 Upgrading the Programmer Firmware 26 Micro ISP Compatible Target Systems 27 Troubleshooting Guide 0 000cccceeeeeseeeeneees 28 EQUINOX TECHNOLOGIES QUINO TECHNOLOGIES UK LMITED The Embedded Solutions Company Micro ISP Sezics IV User Manual V2 03 Introduction The Micro ISP is a state of the art device programmer supporting the new range of In System Programmable ISP microcontrollers from Atmel These microcontrollers feature serially downloadable memory allowing both CODE and DATA if device features EEPROM areas to be updated in system without physically removing the target device from the application board The serial programming is based around the industry standard SPI protocol which is a 3 wire bus featuring two data lines and a clock line The Micro ISP programmer currently supports the Atmel 89S AVR 90S ATmega
10. i convertor e g STK200 300 20 User target system with Atmel 10 pin Target System Not Provided Pin Mapping for the Equinox 10 way to the Atmel 10 way ISP Equinox 10 way Atmel 10 way in 20 N C 1 20 Cable fitted as standard Pin Mapping for the Equinox 10 way to the Atmel 6 way ISP Equinox 10 way Atmel 6 way 1 20 NC N C 4 3 4 N C 4 5 6 Cable not fitted as standard e TECHNOLOGIES UINOX TECHNOLOGIES UK LMITED The Embedded Solutions Company Micro ISP Sezics IV User Manual V2 03 Target System Requirements The following target system requirements must be met for the Micro ISP programmer to operate correctly e Target oscillator The target microcontroller oscillator must be running between certain prescribed frequencies These can be found in the relevant microcontroller data sheets The oscillator could be an external crystal resonator or could be an internal RC oscillator e g AT90S1200 and AT90S2343 e Power The Micro ISP requires a regulated DC supply to operate This supply can be taken either from the user target system or an external power supply unit PSU The programmer should operate correctly between the specified operating voltage limits see hardware specifications e RESET circuit The serial programming mode of the 89S Family Reset Polarity and AVR family devices is initiated by asserting the RES
11. the lt Device menu gt select lt Information gt This will give you a description of the target device 4 Setting of target write times LV programmers only The write time of the FLASH and EEPROM varies with target voltage Meridian defaults to the correct settings for 5V If your target system is powered from less than 5V it may be necessary to change the write time Ademend Peep am eitn zj To alter the write time settings select i lt Options gt lt SPI Program Options gt Wrin Teme aa r E Enter the recommended Write Time Pa an for the selected device from the E tables overleaf Enter the required EE Write Time This time is automatically updated to be the same as the FLASH write time for all devices except the ATmega family Click lt OK gt e EQUINOX TECHNOLOGIES The Embedded Solutions Company 11 Select Orientation Information Check Signature Blank Check ATmega AT90S ATtiny AT89C AT89S 89LS ZIF Socket vvviviv v Target ISP AT90S1200 ISP AT90S1200A ISP AT90S2313 ISP AT90S4414 ISP AT90S8515 ISP AT90S2323 ISP Micro ISP Sezies IV User Manual V2 03 Device Programming Guide continued Overview The following tables detail the result of testing the programming of various target microcontrollers in the laboratory These timings and settings are meant for guidance only E amp OE Results may differ depending on microcont
12. you would these type of device Always ensure that you are not yourself carrying a static charge before handling the product Wearing an earthed anti static wrist strap is recommended Equinox have taken great care in designing this product to be compliant with the European EMC directive When using the equipment be sure to follow the instructions provided Although RF emissions are within prescribed limits care should be taken if you are using the product near to sensitive apparatus If you experience any difficulty please refer to Equinox technical support ESD Points to remember Work in a static free environment e Wear an earthed wrist strap when handling either the programmer NN and or any programmable device Please Note This equipment is designed for use in a Development Environment only and is NOT guaranteed to operate correctly in a Production Environment Use of this product in a Production Environment will invalidate your warranty EQUINOX TECHNOLOGIES QUINO TECHNOLOGIES UK LMITED ii The Embedded Solutions Company Micro ISP Sezics IV User Manual V2 03 Technical Support It is often the case that users experience problems when installing or using a product for the first time Due to the low cost nature of this product Equinox are unable to answer technical support questions about this product or its use by telephone If you have a technical support problem please consult the following list for
13. 2333 AT90S1200A same as AT90S1200 AT90LS4433 with RCEN Enabled AT90LS4434 AT90S2313 AT90LS8535 AT9082323 AT90S2333 AT9082343 AT90S4414 AT90S4434 AT90S8515 AT90S8535 Atmel ATmega FLASH Microcontroller Family ATmega103 ATmega103L ATmega603 ATmega603L Atmel Tiny FLASH Microcontroller Family ATtiny22 Please note Only ATtiny devices which feature a Low Voltage Serial Programming Mode are supported Caution Make sure you do not exceed the maximum voltage of the target device EQUINOX TECHNOLOGIES QUINGX TECHNOLOGIES UK LIMITED 2 The Embedded Solutions Company Micro ISP Sezics IV User Manual V2 03 System Specifications Minimum System Contents The Micro ISP Series IV programmer is available as either a 5V or low voltage version The minimum system contents for both versions are as follows e Micro ISP Serial Download Programmer PC Serial extension cable set e Windows Driver Software e Atmel CD ROM e ISP Cable convertor Micro ISP Serial Programmer Specifications Programmer Size 55x 53 x 16mm Shipped Weight Approx 0 10kg PC Connection Serial Port 25 pin female D Connector Programming Cable Length 300mm Header 10 way IDC 0 1 pitch bump polarised Power Supply Requires power from target system or external power supply Series IV Vcc 4 8 6 0V ls supply approx 50mA when programming ls supply approx 27mA in standby Series IV LV Vcc 3 3 6 0V ls supply approx 36mA when pr
14. 5 5 1 1 50 4 23 1 6 0 6 0 1 1 00 12 19 8 5 0 6 0 1 1 50 4 23 1 6 0 For the AT89S 89LS family it is necessary to change both the FLASH EEPROM write times and the SPI Frequency depending on target voltage and oscillator frequency The table shows results for 4MHz and 12MHz The AT89S device should program correctly at gt 4 0V with a target frequency of 4MHz to 24MHz The AT89LS should program correctly at 3 0V to 6 0V as long as the target oscillator frequency is 12MHz or below EQUINOX TECHNOLOGIES The Embedded Solutions Company 1 3 Micro ISP Sezies IV User Manual V2 03 Device Programming Guide continued Atmel AVR Classic Microcontroller Family Timing Characteristics Voltage Flash Write EEPROM Write Fspy Fosc Code time Data time V Time ms Time ms KHZ MHz secs secs 3 0 6 6 70 3 6864 65 0 4 0 3 3 5 5 70 3 6864 56 0 3 5 3 5 4 4 70 3 6864 48 0 3 0 4 0 4 4 70 3 6864 48 0 3 0 45 3 3 70 3 6864 39 0 2 5 5 0 3 3 70 8 39 0 2 5 5 5 2 2 70 8 30 0 1 9 6 0 2 2 70 8 30 0 1 9 e For the Classic AVR and ATtiny family it is only necessary to alter the FLASH EEPROM write times depending on the target voltage e Erasing of the target device is not guaranteed below 3 4V This can cause programming errors as random locations may not have erased correctly This is a silicon limitation for which there is currently no workaround ATMega103 103L Timing Characteristics
15. EQUINOX 28 The Embedded Solutions Company EQUINOX TECHNOLOGIES EQUINOX TECHNOLOGIES UK LIMITED The Embedded Solutions Company Equinox Technologies UK Limited reserves the right to change any information contained within this manual without prior notice E amp OE Terms and product names contained in this document may be trademarks of others
16. ET pin in the correct sense 89S Active High for a certain period of time The AVR 90S Active Low programmer must therefore be able to assert the RESET pin on the user target i microcontroller External control of the Altiny Active Low RESET pin can be implemented in a number of different ways ATmega Active Low e SPI Enable Fuse The SPI Enable Fuse SPIEN must be ENABLED in the target microcontroller device for ISP programming to work The SPIEN fuse can only be programmed in parallel programming mode with the device in the ZIF socket All Atmel microcontrollers are supplied from the factory with the SPIEN fuse enabled as default EQUINOX TECHNOLOGIES The Embedded Solutions Company 21 Micro ISP Sezies IV User Manual V2 03 Atmel AT89S 89LS ISP Notes 1 RESET circuit E lt PROG RESET This should be an Active HIGH RESET circuit The p PROG VCC 89S 89LS devices suffer from e many problem in correctly enteng Seia Pogana lassat ehan aid om ATMEL i output a number of pulses RENON on the RESET pin which interrupt g eseaseneesteetn ANEA lt PROGACINE synchronise the target device If a C R network is used C 10uF R 10K the default timings parameters T1 16 should work correctly However if a RESET Supervisor Device is used the timings T1 T6 must be altered so that the pulse train is not filtered out by the RESET
17. PASS v Programmer should now be ON LINE EQUINOX TECHNOLOGIES The Embedded Solutions Company 5 Micro ISP Sezies IV User Manual V2 03 Meridian for Windows Overview The Micro ISP programmer is supplied with Meridian for Windows PC driver software This software is supplied on one 3 5 floppy disk or can be downloaded from the Equinox web site Meridian Programmer Interface Software e Powerful Windows Programmer Interface Software compatible with Windows 3 11 Windows 95 _ Windows 98 amp Windows NT e Device Check Signature Erase Blank Check Read Program Verify Special Options and Security e Supports programming of microcontroller fuse bits e Programmable RESET polarity e Powerful RESET Timing utility allows most RESET circuits to be accommodated including C R External Watchdog and 3 pin CPU supervisor devices e Powerful Auto Program Utility e Fast programming times due to dedicated SPI Hardware e Powerful Multiple File Loading Utility e Supports Bin amp HEX file formats e Comprehensive context sensitive on line help system The Meridian software was introduced by Equinox to support the following range of programmers Micro ISP Series III Micro ISP Series III LV Micro ISP Series IV Micro ISP Series IV LV Activ8r Atmel 8051 version Activ8r Atmel AVR version To Install Meridian for Windows software Boot the PC into Windows environment Win 3 1
18. SO System SCK PC Ground Target Ground Common earth point EQUINOX TECHNOLOGIES QUINO TECHNOLOGIES UK LIMITED 1 8 The Embedded Solutions Company Micro ISP Sezics IV User Manual V2 03 ISP Header Target System Micro ISP Target System Connection 10 Way IDC Header Details Top Pin View PROG Vcc The programmer 10 way ribbon cable supplied is Z terminated with a standard 10 way 0 1 pitch IDC plug ROGIED This is designed to mate with the complimentary male 10 way IDC header on the target system The pin out of the header is shown opposite PROG_GND PROG_GND Note This is the view of the connector fitted to the target e g Evalu8r board as seen from above the component side ISP Pin Assignments Pin Programmer 1 O Micro ISP ATmega MCU Connect Name Pin Description 1 PROG_Vcc Programmer Power Vcc x Vcc Y 2 PROG_SS O SPI Slave Select x x x 3 PROG_SCK2 O SPI Serial Clock 2 x N C xX 4 PROG_MOSI O SPI Master Output PD1 RXD MOSI Y 5 PROG_LED O Program LED x X X 6 PROG_MISO SPI Master Input PDO TXD MISO Y 7 PROG_GND Programmer GND connection x GND Y 8 PROG_SCK1 O SPI Serial Clock 1 x SCK Y 9 PROG_GND Programmer GND connection x GND Y 10 PROG_RESET O Target RESET control pin X RST Y Y This connection must be made x Optional N C No Connect MCU AT90S 89S 89LS ATtiny Connector recommendations The IDC connector supplied with the Micro ISP program
19. TECHNOLOGIES QUINO TECHNOLOGIES UK LMITED 24 The Embedded Solutions Company Micro ISP Sezics IV User Manual V2 03 Atmel AT90S ATtiny ISP Notes 1 RESET circuit This should be an Active Vcc LOW RESET circuit To I prevent inevitable EEPROM corruption an electronic brownout circuit is A Active LOW recommended such as a RESET Circuit RESET Supervisor device ATOUSXXXX available from Dallas eee Semiconductor Maxim Seiko lt L gt PD 0o PD 7 i e LL etc USER lt PROG VCC RESET V4 LED1 PROG SCK1 2 SCK connection This is an output from the programmer and an input to the target device during programming It is recommended that this pin is only used as an input on the user target circuit However it should still be possible to program the device even if the pin is set to an output by PROG GROUND 1ndino w3asn ALNdNI YISN gt ANANI 3asn Sad 98d a user firmware 3 Protection resistors It is good EMC design practice to place some limiting resistance on each processor I O line to protect against damage from transients i e R2 R3 R4 R5 A very low value of e g 10 ohms is recommended Further protection can be afforded by using ferrites instead of resistors The ATmega devices are very sensitive to the voltage slew rate so use of any component which slews the edges of the programming signals may
20. Win 95 or NT e Insert Meridian for Windows disk into floppy disk drive A B e Select the Run command from the File menu in the Program Manager e Select Browse and navigate to the floppy drive A B e Select meridian exe e Select the OK button The software installation program should now display an introductory screen Please follow the on screen prompts in order to complete the software installation process On completion the installation program will install the Meridian icon within a new program group called Equinox To launch the software simply double click on the Meridian icon EQUINOX TECHNOLOGIES QUINO TECHNOLOGIES UK LIMITED The Embedded Solutions Company Micro ISP Sezics IV User Manual V2 03 Hardware Installation Instructions Overview The Micro ISP programmer connects to any spare PC serial COM port If you only have one serial port and this is in use for e g a modem it may be possible to add another serial port to your machine by inserting a new I O card For further hardware installation help please refer to the Installation Troubleshooting Guide Warning To avoid catastrophic damage to PC programmer or target system e Ensure that both your target system and PC are connected to a common earth point Make sure that all interconnections are made before applying power to PC and target system e If you are using a laptop or PC which
21. circuit P3 lt 8 gt P3 0 P3 7 PROG GROUND ANANI YISN gt LIAN MASI sees pea Std lt CUMALMNO WISN f fen eeneeeeeeeeeeeeeeeee 2 SCK connection This is an output from the programmer and an input to the target device during programming It is recommended that this pin is only used as an input on the user target circuit The Atmel 89S 89LS device may fail to re program if the target firmware asserts the SCK pin LOW within 700ms of coming out of RESET Old Lid 3 Protection resistors It is good EMC design practice to place some limiting resistance on each processor I O line to protect against damage from transients i e R2 R3 R4 R5 A very low value of e g 10 ohms is recommended Further protection can be afforded by using ferrites instead of resistors The ATmega devices are very sensitive to the voltage slew rate so use of any component which slews the edges of the programming signals may cause unreliable programming EQUINOX TECHNOLOGIES QUINO TECHNOLOGIES UK LIMITED 22 The Embedded Solutions Company Micro ISP Sezics IV User Manual V2 03 Atmel AT89S 89LS ISP Notes continued 4 SCK Noise filtering If noise spikes on the SCK pin are found to be a problem a resistor i e R6 may be inserted between the SCK pin and ground 5 Active LED An LED may be placed on the user target system to indicate when the programmer is active The value of R7 should be chosen to
22. e Blank Check CODE DATA areas Write CODE area Verify Pass 2 CODE area Write DATA area Verify Pass 2 DATA area Write Special Options Fuse bits etc Write Security The auto program operation is setup by selecting lt Device gt lt Auto program Options gt EQUINOX TECHNOLOGIES QUINO TECHNOLOGIES UK LIMITED 1 6 The Embedded Solutions Company Micro ISP Sezics IV User Manual V2 03 Device Programming Guide continued 10 Using the lt Device gt commands individually It is possible to fire off any programmer command individually from the lt Device gt menu Please note 1 i The programmer will by default perform a Pre programming State machine operation and a Check Signature for each operation selected The Check Signature can be disabled using a tick box ii The lt Device gt lt Write gt operation does not perform a Chip Erase operation If there is already non FF data in the target device then the Write operation will fail A manual lt Device gt lt Erase gt is required to erase the device iii The lt Device gt lt Special Options gt operation allows the user to read the current values of the fuse bits of the target device if the device supports this New values can also be written to the target device Further sources of information Equinox application notes AN100 ISP Design Notes for the Atmel AT90S Classic AVR Microcontroller Family AN101 ISP Design Note
23. ectly if the RESET circuit is changed from a C R network The choice of the correct RESET circuit and relevant settings for the T1 T6 timing parameters is beyond the scope of this manual Further information is available in separate application notes to be found on the Equinox Web Site EQUINOX TECHNOLOGIES The Embedded Solutions Company 15 Micro ISP Sezies IV User Manual V2 03 Device Programming Guide continued 8 Loading user code data to the buffer areas To program the target system the buffer must first be loaded with the user code data e Select lt File gt lt Load to Buffer gt The Load to Buffer dialogue is now displayed e To load a file into the CODE area click lt Browse gt in the code section Select the required file click lt Load gt This loads the same file into both the code and data areas by default e To load a different file into the DATA area click lt Browse gt in the data section Select the required file click lt Load gt The buffer s should now be loaded Click lt OK gt to quite out of the Load dialogue box 9 Using lt Auto Program gt to program a target device The most straightforward method of programming a target device is to select lt Device gt lt Auto Program gt or click the lt Auto Program gt icon An Auto Program performs the following actions Pre programming State machine operation Check Signature except 89S 89LS no signature Chip Eras
24. eshooting Guide located in the On Line help EQUINOX TECHNOLOGIES QUINO TECHNOLOGIES UK LIMITED The Embedded Solutions Company Micro ISP Sezies IV User Manual V2 03 Software Overview The Meridian for Windows software features many powerful functions which can be activated by simply clicking a single icon Other utilities and commands are available by selecting the relevant menu option For further information about the Meridian for Windows software please refer to the On line Help System supplied with the software F1 The most commonly used functions for which an icon exits are listed below LOAD FILE TO BUFFER F9 or Ctrl L Allows you to select a file or multiple files and load the file s into the programmer buffer area s Currently supports Intel Hex and Binary file formats as standard SAVE TO DISK ctrl S Allows you to save the contents of the buffer s to a file Currently supports Intel Hex and Binary file formats as standard BLANK CHECK Checks if the currently selected device is blank i e All locations FFh VERIFY DEVICE Compares the contents of the buffer area s with the contents of the currently selected device WRITE DEVICE Writes with contents of the buffer into the device Note This operation does NOT perform an electronic erase before writing data 4a EQUINOX TECHNOLOGIES Gy The Embedded Solutions Company 9 Micro ISP Sezics IV User Manual V2
25. help 1 This manual 2 Troubleshooting Guide see page 28 3 On line help Press lt F1 gt for help at any time The help system is context sensitive Simply press lt F1 gt on any error message and the possible causes of the error should be listed This help system is updated on a regular basis Please see software update details for information on keeping up to date with software revisions 4 Internet Web Site Equinox have setup an AVR microcontroller support page on our web site This page is designed to provide up to date information on all issues concerning both AVR microcontrollers and support tools The microcontroller support page can be found at www equinox tech com avr 5 E mail Please e mail any technical support questions about this product to microisp equinox tech com Equinox will try our best to answer your questions about this product as quickly as possible However we can not promise an immediate reply Please consult our web site for new software updates as the problem that you are enquiring about may have already been fixed in a new version 6 Fax Please fax any technical support questions about this product to 44 0 1204 535555 Equinox will try our best to answer your questions about this product as quickly as possible However we can not promise an immediate reply Please consult our web site for new software updates as the problem that you are enquiring about may have already been fixed in a new version
26. is not connected to mains earth it is recommended that you make a hard wired connection from the COM port D connector shell and the target system to a common earth point e Avoid plugging and unplugging ISP connector while either the PC or target system is powered up e Please ensure that any 4 ieee devices connected to the x D Micro ISP J os Baes user target system are also properly grounded to the 1 3 same common earth point 1 Earth connection to PC ac Common earthing point 2 Target system earth Oo Please see Diagram 3 Earth from external device Any damage caused to the programmer through inadequate earthing is not covered under warranty 1 Connect the serial cable provided to a spare COM port on the PC using the 9 25 way adaptor if necessary 2 Connect the Micro ISP to the other end of the serial cable 3 Connect IDC plug at the end of the serial programming cable into the 10 way IDC header on the user target board not supplied 4 Apply power to the target board Please ensure that the target system is powered up The programmer will not operate unless a Vcc in the specified range is applied on pin 1 of the IDC connector The Micro ISP draws its power from the target EQUINOX TECHNOLOGIES The Embedded Solutions Company 7 Micro ISP Sezies IV User Manual V2 03 Serial Port Selection Select Port The Micro ISP programmer plugs int
27. mer is bump polarised so that it can not be inserted the wrong way around in a polarised socket If the connector used on the target system is not polarised it is advised that measures are taken to prevent the connector being plugged in the wrong way around This could be achieved by removing pin 9 a second ground from the target header and placing a blanking piece of plastic in pin 9 of the cable header EQUINOX TECHNOLOGIES The Embedded Solutions Company 1 9 Micro ISP Sezies IV User Manual V2 03 ISP Cable Convertor This cable allows the Equinox Micro ISP and Activ8r programmers to interface to existing customer target boards which feature the Atmel 10 way or 6 way ISP header The convertor also makes it possible for users of Atmel s STK200 and STK300 systems to upgrade to the Equinox solution whilst retaining the original evaluation board The ISP Cable Convertor is now supplied with all new Equinox ISP systems as standard a F ISP Cable Convertor 0o Micro ISP Programmer Equinox Atmel ISP Pin ISP Pin Function 1 2 Vcc 2 No connection SS 3 No connection SCK2 4 1 MOSI 5 3 PROG 6 9 MISO 7 and 9 4 6 8 and 10 GND 8 7 SCK 10 5 RESET Equinox Atmel ISP Pin ISP Pin Function 1 2 Vcc 2 No connection SS 3 No connection SCK2 4 4 MOSI 5 No connection PROG 6 1 MISO 7 and 9 6 GND 8 3 SCK 10 5 RESET p
28. n system programming ISP e Are the MOSI MISO SCK1 and RESET connection from the target system correctly wired e Does the target RESET circuit allow remote control of the RESET line from the Micro ISP e Is the target system powered up to the correct voltage e Is the target microcontroller ISP enabled i e SPIEN ENABLED e Is the target oscillator internal or external running e Is the target SPI frequency correct for the target oscillator frequency being used Is the FLASH and EEPROM write times set to the correct value for the target voltage 3 AT89S ISP Problems Symptom Virgin device programs once and then will not re program Error message Can not program location 0000h Workaround Connect the EA pin of the target device to ground forces microcontroller to execute from external memory Remove any code in your firmware which writes to the SCK pin or add a delay from RESET to writing to the pin of lt 700ms Re program the device should now be successful 4 ATmega ISP problems At the time of this manual going to press the ATmega103 microcontrollers would not erase correctly below 3 4V and would not program reliably below 3 7V Future revisions of silicon should hopefully cure these problems 5 ATIOS ATIOLS ATtiny ISP Problems At the time of this manual going to press the ATmega103 microcontrollers would not erase correctly below 3 4V Future revisions of silicon should hopefully cure this problem e
29. ns instead of MOSI and MISO This connection system can lead to driver contention problems with the PROG MOSI line and the output driver of an RS 232 Transceiver chip Basically if the RS 232 RXD line is asserted the programmer may not be able to assert the PROG_MOSI pin Possible workarounds include placing a resistor i e R5 in the path from the RS 232 transceiver to the RXD pin of the microcontroller or using a jumper i e J1 which the user must manually move before attempting to program the device TARGET_GND 4 Protection resistors It is good EMC design practice to place some limiting resistance on each processor I O line to protect against damage from transients i e R1 R3 R4 R5 A very low value of e g 10 ohms is recommended Further protection can be afforded by using ferrites instead of resistors The ATmega devices are very sensitive to the voltage slew rate so use of any component which slews the edges of the programming signals may cause unreliable programming 5 SCK Noise filtering If noise spikes on the SCK pin are found to be a problem a resistor i e R6 may be inserted between the SCK pin and ground 6 Active LED An LED may be placed on the user target system to indicate when the programmer is active The value of R7 should be chosen to suit the target supply voltage Further sources of information AN100 ISP Design Notes for the Atmel ATmega Microcontroller Family EQUINOX
30. o a spare serial com port of any IBM compatible PC including the majority of laptop machines To select the Correct Serial Port i From the menu bar select lt Options gt lt Select Port gt The available COM ports on your computer are now displayed ii Select the COM port to which the programmer is connected ii Select a baud rate e g 56K iii Select lt Test gt A programmer communications test is now performed This tests both the programmer cable and PC serial port Test Programmer Checking Port Pass Checking Communication Checking Communication _ Communications Test Pass The programmer has been detected OK by the Meridian software If you now lt Cancel gt out of the lt Test Port gt dialogue box the words ON LINE should now be displayed at the bottom right of the Micro ISP Window Installation is complete and the programmer should now be ready to use Communications Test Fail The programmer was not detected on the COM port selected Please check that the correct COM port was selected and if not repeat the lt Select Port gt lt Test gt operation If your PC is not fast enough to operate at the default highest communication speed it may be necessary to slow the communication down This can be achieved by choosing a slower baud rate from the list provided If the programmer is still not detected please refer to the Installation Troubl
31. ogramming 3 3V supply approx 22mA in standby 3 3V Is ls supply approx 70mA when programming 5V Is Supply approx 37mA in standby 5V Minimum PC requirements The minimum hardware and software requirements to ensure that the programmer operates correctly are as follows e 100 IBM compatible 386 e Minimum 1MB free hard disk space e Windows 3 1 or higher e Spare PC serial port e Minimum 4MB RAM EQUINOX TECHNOLOGIES The Embedded Solutions Company 3 Micro ISP Sezies IV User Manual V2 03 Hardware Overview Red stripe denotes pin 1 Key 1 2 3 4 5 6 Micro ISP Programmer Serial Programming Cable length approx 300mm 10 way IDC Header Plug 25 pin female D Connector plugs into PC serial port Power LED Active LED EQUINOX TECHNOLOGIES QUINGX TECHNOLOGIES UK LIMITED The Embedded Solutions Company Micro ISP Sezics IV User Manual V2 03 Hardware Software Installation Overview The Hardware Software Overview for the installation process of the Micro ISP programmer is detailed diagrammatically below Please refer to the following pages for a more detailed explanation Perform Software Installation Perform Hardware Installation f Select the correct serial port y Try selecting Installation lt OPTIONS gt lt SELECT PORT gt another gt Trouble Shooting Com port Guide l See on line help lt TEST gt PORT mo l
32. ons gt lt Programmer Info gt gt The firmware revision and date of loading are displayed iv Alternatively select lt Options gt lt Create Library Info gt and a text file is created containing all the programmer settings How do I update the programmer firmware If the firmware version of your programmer is older than that on the Equinox Web Site please download the new files from the Software Updates page It is important that you download both the latest meridian exe and configit exe programs If you follow the instructions supplied with the configit exe program the whole process should take less than 2 minutes What do I do if there any problems If the firmware update fails for any reason please check the instructions supplied with configit exe in the first instance If the problem persists or he program reports that a code is needed from Equinox please e mail or fax the full details below to Equinox and we will attempt to get you up and running as quickly as we can Details required Name Company name telephone number fax number e mail place of purchase programmer serial number usually printed on a label on the programmer and any update code you are prompted to send Please note It is possible that the firmware upgrade process may fail and there might be a delay in receiving license codes back from Equinox PLEASE DO NOT attempt to upgrade your firmware if your immediate design proces
33. roller batch power supply target system etc Definitions Voltage Supply voltage to programmer and target device Flash Write Time Minimum time to program a byte or page ATmega only of the target microcontroller FLASH area EEPROM Write time Minimum time to program a byte of the target microcontroller EEPROM area Fspi Frequency of SPI signal from programmer to target device Fosc Frequency of target microcontroller oscillator Code time Time taken to program the target device CODE area with random data Data time Time taken to program the target device DATA area with random data All measurements were taken with the following equipment Meridian V2 12 PC DX2 50 Micro ISP Series IV LV Windows 95 Communication speed 56 000 baud EQUINOX TECHNOLOGIES QUINO TECHNOLOGIES UK LIMITED 1 2 The Embedded Solutions Company Micro ISP Sezies IV User Manual V2 03 Device Programming Guide continued AT89S 89LS Timing Characteristics Voltage Flash Write EEPROM Write Fep Fosc Code time Data time V Time ms Time ms KHz MHz secs secs 3 0 5 5 15 2 78 5 12 0 3 0 5 5 15 4 78 5 12 0 3 3 5 5 50 2 56 2 14 0 3 3 5 5 50 4 56 2 14 0 3 5 5 5 100 2 54 3 13 5 3 5 5 5 50 4 56 2 14 0 4 0 4 4 50 2 47 4 12 0 4 0 4 4 00 4 45 1 11 5 4 5 4 4 00 12 45 1 11 5 4 5 4 4 50 4 47 4 12 0 5 0 2 2 00 12 29 0 7 5 5 0 3 3 50 4 38 1 9 5 5 5 1 1 00 12 19 8 5 0
34. s depends on it EQUINOX TECHNOLOGIES QUINO TECHNOLOGIES UK LIMITED 26 The Embedded Solutions Company Micro ISP Sezics IV User Manual V2 03 Micro ISP Compatible Target Systems The products listed below have been specially designed to interface with the Micro ISP programmer e AVR 89S ISP Socket Stealer Modules Plugs into most 40 pin DIL generic AVR 89S microcontroller sockets Ideal for AVR 89S ISP evaluation and small production runs where target board redesign would be more expensive or where time constraints have been imposed e Microcontroller Personality Module This dedicated Microcontroller Personality module supports most 8 pin 20 pin and 40 pin Atmel 8051 amp AVR microcontrollers The module features an ISP header which connects to the Micro ISP programmer The pod can be plugged into either the Evaluation module for running the simple examples or into a separate Prototyping module where the developer may construct his her own circuitry for a real project EQUINOX TECHNOLOGIES The Embedded Solutions Company 27 Micro ISP Sezics IV User Manual V2 03 Troubleshooting Guide 1 Installation problems e Does your PC meet the minimum PC requirements of this product e Do you have spare PC serial port e Have you connected the serial cable from the PC COM port to the Micro ISP e Have you selected the correct COM port e Is the serial port already in use by another application 2 I
35. s for the Atmel ATmega Microcontroller Family AN102 ISP Design Notes for the Atmel ATtiny AVR Microcontroller Family AN103 ISP Design Notes for the Atmel AT89S AT89LS Microcontroller Family EQUINOX TECHNOLOGIES The Embedded Solutions Company 17 Micro ISP Sezies IV User Manual V2 03 In System Programming Overview It is possible to In System Program ISP members of the Atmel AVR microcontroller by utilising a serial programming algorithm based around the popular SPI 3 wire bus protocol The Micro ISP programmer implements ISP of these devices by generating the necessary SPI programming waveforms under control of PC software In order to place the target device into programming mode it is necessary to assert the RESET pin of the target microcontroller SPI Master Slave definitions The Micro ISP programmer operates on the principle that during any programming operation the programmer is the SPI Master and the target device to be programmed is the SPI Slave Micro ISP Programmer SPI Bus Master Target ISP Microcontroller s SP Bus Slave s This status is only the case during ISP The target microcontroller can be a master or slave during program execution i e when it is programming code The programmer tri states off the SPI bus when not programming Typical Hardware Configuration for In System Programming ISP Mode RST MICRO ISP MOSI Target PC Programmer MI
36. suit the target supply voltage Warning To avoid lock up of the target device Avoid writing a ZERO to the SCK pin within 700ms of coming out of RESET Do not use the SCK pin as an output in your own target system If the target device will not re program connect the EA pin to ground by moving J1 to position 2 3 and then try to re program Remove any writes to the SCK pin within your software Further sources of information AN103 ISP Design Notes for the Atmel AT89S 89LS Microcontroller Family EQUINOX TECHNOLOGIES The Embedded Solutions Company 23 Micro ISP Sezies IV User Manual V2 03 ATmegat03 603 ISP Notes 1 RESET circuit This should be an Active LOW RESET circuit To prevent PROS Mee inevitable EEPROM corruption an electronic brownout circuit is recommended such as a RESET TARGET_Vcc PROG ACTIVE PROG_MOSI 1 RESET PD1 RXD PEO _ PROG_MISO R Supervisor device available from PROS REET Circuit eD0 TXD PEt Dallas Semiconductor Maxim ATMEGAXxxx as Seiko etc a Transceiver RS 232 TXD RS 232 RXD 2 PEN a The programmer does not support the PEN method of entering RESET The PEN pin should therefore be tied high 3 MOSI MISO connections The Atmega microcontrollers differ from other AVR 89S device in that the ISP programming is performed via the UART pins PD1 RXD and PDO TXD pi
37. tmel 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 If you have any silicon related technical support question about AVR and 89S microcontrollers which can not be answered by looking at the Atmel Equinox web sites please e mail AVR avr atmel com 89S mcu 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 EQUINOX TECHNOLOGIES The Embedded Solutions Company Vv Micro ISP Sezies IV User Manual V2 03 Contents Introduction consens isnt Seder cael 1 Device SUPPOFt cece cee ccteecetneeeeeteetenteeeees 2 System Specifications 2 0 0 0 ccc cece cececteessseeeteeeees 3 Hardware Overview ccccccecceeeeeeeeeeteesteeeneeentees 4 Hardware Software Installation Overview 5 Meridian for Windows Overview 0ceee 6 Hardware Installation Instructions 0 ee 7 Serial Port Selection 0 ccecccceeeeeeeeeeeeeeeteesnteenees 8 Software Overview 0
Download Pdf Manuals
Related Search
Related Contents
Final Draft User Guide Tripp Lite AG-0018 User's Manual 313930J - Tandem Supply Systems, Repair-Parts, French iRZ MC52iWDT GPRS class 10 GSM modem USER MANUAL USER`S MANUAL - SewTrain.com Copyright © All rights reserved.
Failed to retrieve file