FS2003-UPG7 Equinox Technologies, FS2003-UPG7 Datasheet

UPGRADE FS2003 JTAG ISP AVR MCU

FS2003-UPG7

Manufacturer Part Number
FS2003-UPG7
Description
UPGRADE FS2003 JTAG ISP AVR MCU
Manufacturer
Equinox Technologies
Type
Upgrade Kitr
Datasheet

Specifications of FS2003-UPG7

Mfg Application Notes
SPI and JTAG (ISP), Appl Note
For Use With/related Products
FS2003
Other names
483-1009

Related parts for FS2003-UPG7

FS2003-UPG7 Summary of contents

Page 1

...

Page 2

... USB Connection...................................................................................................29 2.7 Earthing requirements ..................................................................................................30 2.7.1 Overview ..............................................................................................................30 2.7.2 Laptop earthing issues .........................................................................................30 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.08 – August 08 i ...

Page 3

... J6(b) - Equinox 10-way Header (ATtiny11/12/15 HV Interface) ...................................67 4.7 J6(c) - Equinox 10-way Header (UART Boot Loader) ..................................................69 4 Atmel 10-way Header (SPI Interface) ....................................................................71 4 Atmel 10-way JTAG Header (JTAG Interface) ......................................................73 4.10 ISP Cable considerations............................................................................................75 ii FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 4

... 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. FS2003 ISP Programmer - User Guide V1.08 – Windows 98 ...

Page 5

... 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. 2 FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 6

... 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.08 – August 08 ...

Page 7

... Electromagnetic Compatibility (EMC) Compliance The ‘FS2003 Programmer’ Approved Product 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

... Equinox will try our best to answer your questions about this product as quickly as possible. 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.08 – August 08 5 ...

Page 9

... 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 Software: EQTools Script Builder – ...

Page 10

... The following sources of documentation are available for this software: Error Message Descriptions This document lists all the possible error messages which can be generated by the EQTools / ISP-PRO applications. FS2003 ISP Programmer - User Guide V1.08 – 1 • Application Note - Remote Application Control of ISP-PRO • Application Note 111 – ConsoleEDS Manual • ...

Page 11

... Browse to http://www.equinox-tech.com o Click / select the <Downloads> tab 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. o Click the <Info> button next to an individual item to see the details of the downloadable file o Click the < ...

Page 12

... FS2003 ISP Programmer - User Guide V1.08 – August 08 9 ...

Page 13

... 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. 10 Hardware • FS2003 ISP Programmer • External Power Supply Adaptor (9V DC regulated @ 300mA) Cables • ...

Page 14

... Hardware Overview (external layout) FS2003 ISP Programmer - User Guide V1.08 – 1 Top Panel ISP Cable Slot ISP cable plugs into relevant ISP Header internally and then exits the case through this slot. Front Panel <Target Vcc> LED - Indicates when ‘Target Vcc’ Does not indicate ‘ ...

Page 15

... Status LED’s 8. <Down> Key 9. <Up> Key 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.08 – August 2008 ...

Page 16

... Programmer Display character Back-lit LCD (backlight configurable) • 9 Target Vcc FS2003 ISP Programmer - User Guide V1.08 – 1 Atmel Low Voltage SPI Atmel High Voltage SPI (+12V Vpp) Atmel AVR JTAG (chargeable update) Atmel (formerly Temic) 8051 Boot loader ISP Philips (NXP) 8051 - Boot Loader ISP ...

Page 17

... DC Power Lead also supplied with programmer if a customer power supply used. The programmer can measure the Target Voltage in either EDS or Standalone Mode. Measurement Voltage range: 3.0 – 5.0 Tolerance: +/-3% FS2003 ISP Programmer - User Guide V1.08 – 1 3.1 2.3 st August 2008 ...

Page 18

... 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 kHz, 230 ...

Page 19

... Temperature range deg Dimensions 189H x 80L x 31D mm 28 Shipped Weight 0. Connects to spare PC COM port All 9 connections must be made in serial cable. Baud rate: 38,400 (fixed) FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 20

... ATtiny (AVR) 10 Atmel ATtiny (AVR) 11 Atmel T89C51Rx2 (Temic) 12 NXP T89C51Rx2 (Philips) 13 Zensys ZW series FS2003 ISP Programmer - User Guide V1.08 – 1 Programming Device support algorithm LV SPI - AT89(L)S8252/53 - AT89(L)S51/52 (including ‘L’ versions) - AT89S 2051 / 4051 - AT89S8253 LV SPI - AT90(L)S1200(A) / 2313 / 2333 / 4433 / 2323 / 2343 / 4414 / 8515 / 4434 / 8535 (including ‘ ...

Page 21

... Equinox Website. 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. 1.5.2 Programming Interface to Target Device The programmer supports the following programming interfaces to the Target Device: ...

Page 22

... PSU. • 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.08 – August 08 19 ...

Page 23

... The programmer uses ALL of the NINE pins of the COM port for different purposes therefore imperative that the cable used to connect between the programmer and the PC COM port has all NINE cables connected. Failure to do this will result in the programmer not operating correctly. 20 FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 24

... CTS Not Connected 9 RING 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.08 – August 08 21 ...

Page 25

... System when the Target power is ON. 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.08 – August 2008 ...

Page 26

... Remove all four screws from the back of the programmer (if fitted) c Remove programmer cover to reveal internal electronics FS2003 ISP Programmer - User Guide V1.08 – 1 The screws will be supplied in a separate small plastic bag if this is a new programmer. st August 08 23 ...

Page 27

... Programmer and Target System are Independently powered 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. Key: • ...

Page 28

... Fig. 2.4.1 FS2003 – Power Supply Overview Schematic FS2003 ISP Programmer - User Guide V1.08 – August 08 25 ...

Page 29

... Target Vcc on the ISP Header connectors. • 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.08 – August 2008 ...

Page 30

... Powering the programmer from the Target System at 3.0 – 5.0V 2.4.5 Programmer and Target System are Independently powered FS2003 ISP Programmer - User Guide V1.08 – 1 • The Target System can supply power to the programmer as long as the Target Voltage is 3.0 – 5.0V. ...

Page 31

... Target System. 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. 28 FS2003 ISP Programmer - User Guide V1.08 – 1 ...

Page 32

... The programmer uses ALL of the NINE pins of the COM port for different purposes therefore imperative that the cable used to connect between the programmer and the 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.08 – August 08 ...

Page 33

... Target System ! The solution: • 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. 30 FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 34

... Please ensure that any devices connected to the user target system are also properly grounded to the same common earth point 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.08 – August 08 31 ...

Page 35

... Firmware Update Utility’ on the Equinox website. After 2 seconds the display will update to show the following information: • Serial Number (SN): eg. 619 • Hardware Build Version: eg. 1.01 • Build date: eg. 19 /1/2004 FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 36

... 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.08 – 1 The ISP Cable should fit through the slot in the end panel. ...

Page 37

... Programming Project and then press the <Yes> key . • 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.08 – August 2008 ...

Page 38

... FS2003 ISP Programmer - User Guide V1.08 – August 08 35 ...

Page 39

... 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 ‘ ...

Page 40

... ConsoleEDS 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.08 – August 08 37 ...

Page 41

... 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 The FS2003 programmer can be controlled in various different ways as detailed in the table below: # Programmer Connect Control Method Mode Software COM Port 1 Development Yes EQTools - EDS Mode 2 Standalone No None Mode 3 Script Mode Yes EQTools – Script Debugger or ISP-PRO 4 ConsoleEDS ...

Page 43

... U – a license upgrade must be purchased from Equinox to enable this feature. 40 Upgrade In this mode, the programmer Required is controlled via a simple ASCII Protocol. A simple Terminal Emulator is required to test out this mode or the ASCII commands can be generated by an external controller. FS2003 ISP Programmer - User Guide V1.08 – 1 See App Note AN110 st August 2008 ...

Page 44

... 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.08 – August 08 ...

Page 45

... Select the Programming Project you wish to test in EDS o 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 – o see section 3.5.4 42 FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 46

... FLASH Area Programming, EEPROM Area programming, Configuration Fuse Programming and Security Fuse programming 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.08 – August 08 43 ...

Page 47

... The bytes are grouped into rows of 16 bytes with the start address of each row displayed in the left-hand column. The Hexadecimal representation of the 16 bytes is displayed in the middle column The ASCII representation of the 16 bytes is displayed in the right- hand column. FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 48

... Calc CRC FS2003 ISP Programmer - User Guide V1.08 – 1 Re-loads the specified HEX / Binary file into the Buffer Window. Tick the box to enable manual editing of the Buffer Window. This will also allow the <Load>, <Erase> and <Fill> buttons to be selected ...

Page 49

... Click the <Security> tab to read / write the Target Chip ‘Security Options’ 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 46 FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 50

... 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 previously uploaded Programming Projects and then to repeatedly execute this project to program a batch of devices ...

Page 51

... Follow the instructions to program the Target Device in Standalone Mode 48 Observation / comment Programmer Target Vcc LED illuminates See EQTools Manual – Project Upload Wizard for full instructions. Programmer is no longer controlled from PC FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 52

... Push Button Functions Button FS2003 ISP Programmer - User Guide V1.08 – 1 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. Function of button The <YES> button has the following functions execute a programming project which has been pre-loaded into the programmer ‘ ...

Page 53

... LCD Display Select Project Project1 Select Project Project2 Select Project Project3 3. Press the RED <YES> button to select the Programming Project LCD Display Select Project Project1 50 Buttons Status LED Display Buttons Status LED Display FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 54

... The <PASS> LED will FLASH • The LCD will display: ‘Operation Complete OK!’ • Press <YES> key to program another device LCD Display OPERATION COMPLETE OK FS2003 ISP Programmer - User Guide V1.08 – 1 Buttons Status LED Display Buttons Status LED Display To abort the ...

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. 52 Buttons Status LED Display Press to clear the error message. FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 56

... Select Project Project2 T <UP> <DOWN> key key T Select Project Projectn CHECKING IMAGE PAGE n PRESS YES TO PROGRAM TARGET <YES> key T Execute Selected Project FS2003 ISP Programmer - User Guide V1.08 – 1 <YES> T key <YES> T key <YES> T key FAIL INTERNAL IMAGE IS CORRUPTED st August 08 53 ...

Page 57

... Programming operation has FAILED. • See programmer LCD for diagnostics • Programmer will automatically switch off target power controlling power. • Programming operation was successful. FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 58

... 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.08 – 1 Order Code EPSILON5A1-UPG6 ...

Page 59

... 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’. 56 FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 60

... Scripts possible to write scripts to program unique data such as serial numbers, calibration data etc 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 necessary to purchase the relevant license upgrade for ISP-PRO. FS2003 ISP Programmer - User Guide V1.08 – August 08 57 ...

Page 61

... 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 ‘ ...

Page 62

... 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. # ISP Description / Function Header 1 J3 Atmel 6-way ISP Header Header J6 can have THREE different pin-outs depending on which Target Device programmed ...

Page 63

... J8 Atmel 10-way JTAG Header Device support: Atmel ATmega32/128 + any new devices with JTAG port 60 4.9 FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 64

... Atmel ATtiny (High Voltage) 7 Atmel W&uC (Temic) T89C51Rx2 8 NXP (formerly Philips) P89C51Rx2 9 NXP (formerly Philips) P89C66x 10 Zensys Z-Wave FS2003 ISP Programmer - User Guide V1.08 – 1 Devices Algorithm Header Sect. AT89(L)S51/52/53/8252 LV SPI All AT90S ISP devices LV SPI All ATmega devices LV SPI ATmega323/128/64 JTAG ...

Page 65

... This is the SPI clock output signal. MOSI Master Out Slave In 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.08 – August 2008 ...

Page 66

... 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.08 – 1 RESET Target RESET control pin This pin controls the Target Device RESET pin. It will driven HIGH/LOW according to the device type and settings in the ‘ ...

Page 67

... No connect Spare Programmer I/O pin 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.08 – August 2008 ...

Page 68

... PROG_SCK1 O 9 PROG_GND P 10 PROG_RESET O FS2003 ISP Programmer - User Guide V1.08 – 1 XTAL1 SCK2 Clock Output (*Optional*) This output signal can be used to Only connect this pin if supply an external clock signal you are using the (SCK2) to the target microcontroller. SCK2 Clock Output to ...

Page 69

... Key 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 66 FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 70

... PROG_SPARE - 3 PROG_TSCK2 O FS2003 ISP Programmer - User Guide V1.08 – 1 Figure 4.6.1 – Equinox 10-way IDC Header (J8) viewed from above Warning possible for +12V to be output on pin 10 of this connector when programming ATtiny11/12/15 devices. 4. Connecting to the wrong ISP Header may cause catastrophic damage to the Programmer & Target ...

Page 71

... This pin controls the Target Device RESET pin. A +12.0V Vpp voltage will be applied to this pin during programming. 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.08 – August 2008 ...

Page 72

... 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 • A Philips P89C51Rx2 or P89C66x microcontroller • ...

Page 73

... 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.08 – August 2008 ...

Page 74

... PROG_MOSI PROG_VCC PROG_GND P FS2003 ISP Programmer - User Guide V1.08 – 1 Figure 4.8.1 - Atmel 10-way IDC Header (J7) viewed from above Warning! Connecting to the wrong ISP Header may cause catastrophic damage to the Programmer & Target System Connect to Description pin on Target Device MOSI ...

Page 75

... This is the SPI data input pin to the (except for programmer. This pin should be ATmega103/128/64 connected to the MISO pin on the Target – connect to TXD Microcontroller. pin instead) GROUND Ground Connection Common ground connection between PROGRAMMER and Target System. FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 76

... I 4 PROG_VCC P 5 PROG_TMS O 6 PROG_RESET O FS2003 ISP Programmer - User Guide V1.08 – 1 Figure 4.9.1 - Atmel 10-way IDC Header (J8) viewed from above Warning! Connecting to the wrong ISP Header may cause catastrophic damage to the Programmer & Target System Connect to Description pin on Target Device TCK JTAG TCK – ...

Page 77

... N/C Not Connected TDI JTAG TDI – Test Data Input pin Data signal from programmer to Target Device JTAG port. GROUND Ground Connection Common ground connection between PROGRAMMER and Target System. FS2003 ISP Programmer - User Guide V1.08 – August 2008 ...

Page 78

... 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.08 – August 08 ...

Related keywords