Equinox Systems FS2003 User Manual

Portable isp programmer
Table of Contents

Advertisement

Quick Links

Advertisement

Table of Contents
loading

Summary of Contents for Equinox Systems FS2003

  • Page 2: Table Of Contents

    2.7.3 Desktop PC earthing issues ................30 2.7.4 Earthing recommendations ................31 2.8 Testing the programmer hardware................32 2.9 Re-assembling the programmer ................. 33 2.10 Hardware - Fault Finding Guide................34 FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 3 4.7 J6(c) - Equinox 10-way Header (UART Boot Loader) ..........69 4.8 J7 - Atmel 10-way Header (SPI Interface)..............71 4.9 J8 - Atmel 10-way JTAG Header (JTAG Interface) .............73 4.10 ISP Cable considerations..................75 FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 4: Copyright Information

    Company’s standard warranty which is detailed in Equinox’s Purchase Order Acknowledgment. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 5: Equinox Warranty Information

    ISP Cable into a Target System. Warning! Any damage caused to the programmer by Electrostatic Discharge (ESD) through inadequate earthing is not covered under the warranty of the product. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 6 ‘out of our control’. This type of problem is usually listed in the ‘Errata Sheet’ for the particular device being programmed and is available from the silicon vendor. Information contained in this manual is for guidance purposes only and is subject to change. E&OE. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 7: Electromagnetic Compatibility (Emc) Compliance

    Electromagnetic Compatibility (EMC) Compliance The ‘FS2003 Programmer’ is a CE Approved Product. It is designed for use in an ESD controlled environment i.e. development or production. This means, therefore, 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.
  • Page 8: Technical Support

    However, we cannot 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. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 9: Product Documentation

    Product Documentation This manual provides an overview of the contents of the FS2003 Programming System plus associated hardware and software. References may be made to other hardware and software products which are not covered in detail in this manual. Please refer to the table below for a list of sources of documentation and/or browse to http://www.equinox-tech.com...
  • Page 10 • Application Note 111 – ConsoleEDS Manual JTAG In-System (ISP) Upgrade – Application Note This license upgrade enables the FS2003 Programmer to support high-speed In-System Programming (ISP) of the Atmel ATmega microcontroller family using the JTAG algorithm. The following sources of documentation are available for this software: •...
  • Page 11 Click / select the <Downloads> tab the ‘Downloads Search Page’ will appear. o Type in the name of the programmer e.g. FS2003 into the ‘Product Name’ field o Click the <Search> button a list of all the software and documentation available for this product are displayed.
  • Page 12 FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 13: Programmer Overview / Specifications

    1.0 Programmer Overview / Specifications 1.1 System Contents The FS2003 programmer comes compete with an external mains power supply, PC Driver Software and cables. Please see the full contents list detailed below. Hardware • FS2003 ISP Programmer • External Power Supply Adaptor (9V DC...
  • Page 14: Hardware Overview (External Layout)

    - Used to cancel a programming operation. <YES> Button - Used to start an ‘autoprogram’ operation. Bottom Panel 1. RS-232 port (J5) 2. External DC Power Supply Input (CON1) FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 15: Hardware Overview (Internal Layout)

    10. External DC Power Supply Input (CON1) 11. RS-232 port (J5) 12. Firmware Update Jumper 2 (J11) 13. <YES> Key 14. <No> Key 15. Target Vcc Present – LED 16. Atmel 10-way JTAG Header FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 16: Programmer Specifications Overview

    These LED’s indicate the current status of the programmer. Programmer Display 2 x 16 character Back-lit LCD (backlight configurable) • Target Vcc Target Vcc LED will illuminate when Target Vcc voltage is FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 17 Measurement Voltage range: 3.0 – 5.0 Tolerance: +/-3% 17 Max. current through This refers to the maximum current which the programmer can programmer supply from the internal Vcc rail FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 18 Atmel 10-way (JTAG) • Equinox 10-way (SPI+UART) 22 Frequency generator The FS2003 is capable of outputting a continuous square wave output (SCK2) at various frequencies on the programmer SCK2 pin. The following pre-set frequencies can be selected via the EQTools Programming Project: 1.8432 MHz, 921.6 kHz, 614.4 kHz, 460.9 kHz, 386.6 kHz, 307.6...
  • Page 19 All 9 connections must be made in serial cable. • Baud rate: 38,400 (fixed) 26 Temperature range 0 to 50 deg. C 27 Dimensions 189H x 80L x 31D mm 28 Shipped Weight 0.75 kg FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 20: Device Support

    UART Boot P89C51 RB2 / RC2 / RD2 (Philips) Loader P89C 660 / 662 / 664 / 668 ZW series LV SPI ZW0102 / ZW0201 / ZW0301 13 Zensys FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 21: Programming Interface To Target Device

    Important note: Please refer to the relevant Application Note for details of how to connect the programmer to the Target Device on the Target System. The Application Notes can be found on the FS2003 - Download Page on the Equinox website.
  • Page 22: Dc Power Input Connector (Con1)

    The black lead with the white stripe is the +VE cable. • The all black lead is the GROUND cable. • The external voltage applied to CON1 must be between 9.0 and 12.0V! FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 23: J5 - Rs-232 Communications Port & Serial Cables

    PC COM port has all NINE cables connected. Failure to do this will result in the programmer not operating correctly. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 24: Serial Cable Pin-Outs

    Not Connected Fig. 1.8.3.2 Connections for 9-way to 9-way Serial Cable (Straight through cable) 9-way (Male) 9-way (Female) Fig. 1.8.3.3 Connections for 9-way to 25-way Adaptor 25-way (Female) 9-way (Male) FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 25: Hardware Installation

    The programmer I/O lines are ESD protected, but it always good practice to take proper ESD precautions. This can help to avoid ESD damage to either the programmer or Target System. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 26: Removing The Programmer Cover

    Remove all four screws from the back of the The screws will be supplied in a separate small programmer (if fitted) plastic bag if this is a new programmer. Remove programmer cover to reveal internal electronics FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 27: Powering The Programmer / Target System

    9.0V 2.4.5 FITTED Refer to fig.2.3.1 for a diagram showing the power supply methods of the FS2003 programmer. Please choose the relevant powering method from the table above and then refer to the relevant section 3b, 3c, 3d, 3e below.
  • Page 28 Fig. 2.4.1 FS2003 – Power Supply Overview Schematic FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 29: Powering The Target System At +5.0V From The Programmer (External Mains Power Supply Adaptor)

    If you have a ‘Current Limit’ setting on your Power Supply, set it to the minimum value to start with and then increase it until the programmer powers up without tripping the Current Limit. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 30: Powering The Programmer From The Target System At 3.0 - 5.0V

    • The ‘Target Vcc’ signal must still be connected to the ‘Programmer Vcc’ signal on the ISP Header as this voltage is used to power the ‘I/O Level Convertor’. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 31: Selecting The Correct Isp (In System Programming) Header

    Important note: Please refer to the relevant Application Note for details of how to connect the programmer to the Target Device on the Target System. The Application Notes can be found on the FS2003 - Download Page on the Equinox website.
  • Page 32: Connecting The Programmer To The Pc Serial (Com) Port

    PC COM port has all NINE cables connected. Failure to do this will result in the programmer not operating correctly. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 33: Earthing Requirements

    Ensure that the PC chassis is properly earthed to mains earth. • Connect an earthing bond wire from the PC chassis to the GROUND connection of either the programmer or the Target system / Test Fixture. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 34: Earthing Recommendations

    Warning! Any damage caused to the programmer by Electrostatic Discharge (ESD) through inadequate earthing is not covered under the warranty of the product. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 35: Testing The Programmer Hardware

    • Serial Number (SN): eg. 619 • Hardware Build Version: eg. 1.01 SN:619 1.01 • Build date: eg. 19 /1/2004 DATE 19-1-2004 FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 36: Re-Assembling The Programmer

    If there are no Programming Projects Loaded into the Programmer – Flash Memory Store, the FAIL LED will continue to FLASH until at least one Project is uploaded. Hardware installation is now complete. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 37: Hardware - Fault Finding Guide

    • If there are no Programming Projects Loaded into the Programmer – Flash Memory Store, the FAIL LED will continue to FLASH until at least one Project is uploaded. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 38 FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 39: Programmer - Getting Started Guide

    3.0 Programmer – Getting Started Guide 3.1 Software Overview The FS2003 programmer is supplied with a comprehensive Integrated Development Environment (IDE) called ‘EQTools Version 2.xx Software Suite’. This software supports creation and testing of so-called Programming Projects which can then be uploaded to the programmer for use in ‘Standalone Mode’.
  • Page 40: Programmer Control Mechanisms

    ConsoleEDS is a ‘console application’ running under Windows which allows the programmer to be controlled by simple command line commands. This is an ideal control method for use with Batch Files or any Remote Application. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 41: Software Installation

    3.3 Software Installation The FS2003 programmer comes with the software suite called EQTools as standard. The latest version of this software which was available at the time of shipping is supplied on CD-ROM with the programmer. However, this software version is likely to have been superseded by a newer version.
  • Page 42: Programmer Operating Modes

    3.4 Programmer Operating Modes The FS2003 programmer can be controlled in various different ways as detailed in the table below: # Programmer Connect Control Method Upgrade Functional description Refer Mode to PC / Software License Required section Port 1 Development...
  • Page 43 ASCII commands can be generated by an external controller. S – feature available as standard U – a license upgrade must be purchased from Equinox to enable this feature. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 44: Development Mode (Eds)

    Select FLASH Data File (optional – you can enter the file name at a later stage in EDS) • Select EEPROM Data File (optional – you can enter the file name at a later stage in EDS) FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 45: Testing An Existing Programming Project In A Project Collection In Eds (Development Mode)

    Click the <Test Project in EDS> button at the bottom right of the Project Manager window The EDS window now launches with all the settings of the select Programming Project – see section 3.5.4 FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 46: Overview Of Eds - Development Mode

    Security Fuse programming. It is also possible to set up the SPI / JTAG / UART Target Speeds and the Power Supply Settings from EDS. Fig. 3.5.4.1 EDS – FLASH Tab Overview FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 47 This is a CRC Checksum of the entire Buffer (i.e. from address 0x00000 to the end address specified in the buffer.) Size This is the physical address range in bytes of the entire Buffer. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 48: Buffer Window - Control Buttons

    This button allows you to fill a specified area of the Buffer Window with a specified value. • Calc CRC This button calculates the CRC Checksum of the specified range of the Buffer Window. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 49: Example Of Using Eds

    For further instructions about how to use the EDS utility, please refer to the ‘EQTools – Getting Started Guide’ which can be found on the CD-ROM supplied with the programmer FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 50: Standalone Keypad Mode

    3.6 Standalone Keypad Mode 3.6.1 Overview In ‘Standalone Mode’, the FS2003 is controlled via the push buttons on the front panel of the programmer. The programmer LCD and the LED Status Indicators are used to display the current status of the programmer. In Standalone Mode it is possible to select from 1 of 64 previously uploaded Programming Projects and then to repeatedly execute this project to program a batch of devices.
  • Page 51 Disconnect power from the Programmer / Target System Disconnect the serial lead from the Programmer is no longer controlled from PC programmer Follow the instructions to program the Target Device in Standalone Mode FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 52: Push Button Functions

    3.6.2 Push Button Functions The FS2003 programmer features a four button keypad which is used to control the programmer when it is operating in ‘Standalone Mode’. The function of these buttons is described below. Button Function of button The <YES> button has the following functions: i.
  • Page 53: Standalone Keypad Operation - Step-By-Step Guide

    Select Project Project1 Select Project Project2 Select Project Project3 3. Press the RED <YES> button to select the Programming Project LCD Display Buttons Status LED Display Select Project Project1 FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 54 The LCD will display: ‘Operation Complete OK!’ • Press <YES> key to program another device LCD Display Buttons Status LED Display Press OPERATION COMPLETE OK To program another device. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 55 • Check the ‘Lock Keypad’ box • Re-compile the project • Upload the project to the programmer Please note: This feature is only available in firmware 3.01 or above. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 56: Standalone Keypad Operation - Flowchart

    <DOWN> Select Project <YES> Project2 <UP> <DOWN> Select Project <YES> Projectn FAIL CHECKING IMAGE INTERNAL IMAGE PAGE n IS CORRUPTED PRESS YES TO PROGRAM TARGET <YES> Execute Selected Project FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 57: Programmer Status Led's

    Programming operation has FAILED. • See programmer LCD for diagnostics • Programmer will automatically switch off target power if it is controlling power. • PASS Programming operation was successful. Status LED key: FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 58: Ascii Text Communications Mode

    3. The protocol does not support uploading of ‘Programming Projects’ to the programmer. This must be performed using the EQTools – Project Upload Wizard. 4. Only very limited diagnostics are available using this protocol ie. FAIL + Error Number. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 59: Further Information

    3.7.4 Further Information A full description of this protocol can be found in the Application Note ‘AN110 - ASCII Text Control (ATC) Protocol for Remote Control of Equinox Programmers’. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 60: Script Mode

    It is also possible to control the programmer from a Remote Application written in e.g. Labview, Visual Basic, C++ etc. In order to use ‘Script Mode’ with your programmer, it is necessary to purchase the relevant license upgrade for ISP-PRO. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 61: Isp Header Selection

    4.0 ISP Header Selection 4.1 Overview The FS2003 programmer caters for many different connection methods to a Target System by featuring FOUR possible ISP Header connectors. Each header provides the necessary signals to program the Target Device plus Vcc (power) and GND (Ground). The choice of which header to use depends on the ‘device type’...
  • Page 62: Isp Header Selection Chart (By Header)

    4.2 ISP Header Selection Chart (by header) The FOUR ISP Headers featured on the FS2003 are detailed in the table below. Please refer to the section indicated in the ‘refer to section’ column for specific details of each header. Description / Function...
  • Page 63 Atmel 10-way JTAG Header Device support: Atmel ATmega32/128 + any new devices with JTAG port FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 64: Isp Header Selection Chart (By Device)

    UART J6(c) AN106 P89C51Rx2 Boot AN107 Loader NXP (formerly Philips) P89C662/4/8 UART J6(c) AN106 P89C66x Boot AN107 Loader 10 Zensys Z-Wave ZW0102 / ZW0201 LV SPI J6(a) Zensy Note FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 65: J3 - Atmel 6-Way Isp Header (Spi Interface)

    This is the SPI data output pin from the (except for programmer. This pin should be ATmega103/128/64 connected to the MOSI pin on the Target – connect to RXD Microcontroller. pin instead) FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 66 PROGRAMMER and Target System. O - Output from programmer to Target Device I - Input to programmer from Target Device P - Passive eg. GROUND and power rails N/C - Not connected FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 67: J6(A) - Equinox 10-Way Header (Generic Spi Interface)

    This pin is currently a I/O spare pin which is not used during SPI programming. In order to use this pin, the pin state must be setup in the EQTools <Pre-programming State Machine> tab. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 68 State Machine> tab in the Eqtools project. Warning! During ‘High Voltage Serial Programming’ of the Atmel ATtiny11/12/15 microcontrollers, a +12V Vpp voltage is generated by the programmer on this pin. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 69 O - Output from programmer to Target Device I - Input to programmer from Target Device P - Passive eg. GROUND and power rails N/C - Not connected FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 70: J6(B) - Equinox 10-Way Header (Attiny11/12/15 Hv Interface)

    EQTools <Pre-programming State Machine> tab. PROG_TSCK2 XTAL1 SCK2 Clock Output This output pin is used to supply an external clock signal (SCK2) to the target microcontroller. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 71 O - Output from programmer to Target Device I - Input to programmer from Target Device P - Passive eg. GROUND and power rails N/C - Not connected FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 72: J6(C) - Equinox 10-Way Header (Uart Boot Loader)

    4.7 J6(c) - Equinox 10-way Header (UART Boot Loader) This connection method is suitable for interfacing the FS2003 programmer to a Target System which features the following: • Equinox 10-way IDC ISP Header • An Atmel Wireless T89C51Rx2 / CC01 microcontroller •...
  • Page 73 O - Output from programmer to Target Device I - Input to programmer from Target Device P - Passive eg. GROUND and power rails N/C - Not connected FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 74: J7 - Atmel 10-Way Header (Spi Interface)

    Not connected PROG_GND GROUND Ground Connection Common ground connection between the programmer and Target System. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 75 PROGRAMMER and Target System. O - Output from programmer to Target Device I - Input to programmer from Target Device P - Passive eg. GROUND and power rails N/C - Not connected FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 76: J8 - Atmel 10-Way Jtag Header (Jtag Interface)

    This pin connects to the main RESET pin of the Target Microcontroller. This pin is not strictly needed for JTAG programming, but it can be used to RESET the Target Device before and after programming. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 77 PROGRAMMER and Target System. O - Output from programmer to Target Device I - Input to programmer from Target Device P - Passive eg. GROUND and power rails N/C - Not connected FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...
  • Page 78: Isp Cable Considerations

    If you are using the programmer in a production environment and constantly plugging / unplugging the ISP cable into/from the Target System, you may find that the cable eventually fails. Spare ISP cables can be ordered from Equinox in this eventuality. FS2003 ISP Programmer - User Guide V1.07 – 1 September 2007...

Table of Contents