FS-945 Digi International, FS-945 Datasheet

no-image

FS-945

Manufacturer Part Number
FS-945
Description
JTAG-BOOSTER FOR ELANSC400 3.3V
Manufacturer
Digi International
Series
Digi/FS Forthr
Type
FLASHr
Datasheet

Specifications of FS-945

Contents
Programmer and Associated Interface Software
For Use With/related Products
AMD ElanSC400, SC410, 3.3V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
AMD ÉlanSC400/ÉlanSC410
JTAG-Booster for
P.O: Box 1103
Kueferstrasse 8
Tel. +49 (7667) 908-0
sales@fsforth.de
D-79200 Breisach, Germany
Fax +49 (7667) 908-200
D-79206 Breisach, Germany
http://www.fsforth.de

Related parts for FS-945

FS-945 Summary of contents

Page 1

... JTAG-Booster for AMD ÉlanSC400/ÉlanSC410 P.O: Box 1103 Kueferstrasse 8 Tel. +49 (7667) 908-0 sales@fsforth.de • D-79200 Breisach, Germany • D-79206 Breisach, Germany • Fax +49 (7667) 908-200 • http://www.fsforth.de ...

Page 2

... FS FORTH-SYSTEME GmbH Postfach 1103, D-79200 Breisach, Germany Release of Document: Author: Filename: Program Version: All rights reserved. No part of this document may be copied or reproduced in any form or by any means without the prior written consent of FS FORTH-SYSTEME GmbH. 2 May 17, 2002 Dieter Fögele JTAGEL4c.doc 4.xx ...

Page 3

Table of Contents 1. General ..........................................................................................................4 1.1. Ordering Information ............................................................................5 1.2. System Requirements ..........................................................................5 1.3. Contents of Distribution Disk ................................................................6 1.4. Connecting your PC to the target system .............................................7 1.5. First Example with AMD ÉlanSC400/ÉlanSC410..................................9 1.6. Trouble Shooting ................................................................................ 11 ...

Page 4

General The program JTAGEL4.EXE ÉlanSC400/ÉlanSC410 embedded microprocessor in conjunction with the small JTAG-Booster: to program data into flash memory to verify and read the contents of a flash memory to load data to static memory to upload data from ...

Page 5

Ordering Information The following related products are available 926 JTAG-Booster AMD ÉlanSC400/ÉlanSC410, 5V, DOS/Win9x/WinNT, delivered with adapter type 227 945 JTAG-Booster AMD ÉlanSC400/ÉlanSC410, 3.3V, DOS/Win9x/WinNT, delivered with adapter type 285 1.2. System Requirements To successfully run this tool the ...

Page 6

Contents of Distribution Disk JTAGEL4.EXE Tool for AMD ÉlanSC400/ÉlanSC410 JTAGEL4.OVL JTAGEL4.INI Template ÉlanSC400/ÉlanSC410. See chapter 1.8 "Initialization file JTAGEL4.INI" HEX2BIN.EXE Converter program to convert Intel HEX and Motorola S-Record files to binary. See chapter 4 "Converter Program HEX2BIN.EXE" WinNT ...

Page 7

... Pin 7 is the target’s TDO pin and is connected to the JTAG-Booster’s TDI pin. There are two versions of the JTAG-Booster available version (FS part number 227) and a 3.3V version (FS part number 285). Don’t apply 5V to the 3.3V version of the JTAG-Booster! Your target must be able to power the JTAG-Booster, it draws about 100mA. ...

Page 8

The utility is started with the general command line format: JTAGEL4 /function [filename] [/option_1] ... [/option_n]. Note that the function must be the first argument followed (if needed) by the filename. If you want to cancel execution of JTAGEL4, press ...

Page 9

... JTAGEL4 --- JTAG utility for AMD ÉlanSC400/ÉlanSC410 Copyright FS FORTH-SYSTEME GmbH, Breisach Version 4.xx of mm/dd/yyyy (1) Configuration loaded from file JTAGEL4.INI (2) Target: FS FORTH-SYSTEME module ELAN486 on EVAELAN_2 (3) Using LPT at I/O-address 0378h (4) JTAG Adapter detected (5) 1 Device detected in JTAG chain Device 0: IDCODE=00FFF003 AMD ÉlanSC400/ÉlanSC410, Revison 0 ...

Page 10

The initialization file JTAGEL4.INI was found in the current directory. (2) The target identification line of the initialization file is printed here. (3) The resulting I/O-address of the parallel port is printed here. (4) A JTAG-Booster is found on ...

Page 11

Trouble Shooting Avoid long distances between your Host-PC and the target. If you are using standard parallel extension cable, the JTAG-BOOSTER may not work. Don't use Dongles between the parallel port and the JTAG-BOOSTER. Switch off all special modes ...

Page 12

... Configuration file XYZ not found. The file specified with the option /INI= wasn't found. Device offset out of range The value specified with the option /OFFSET= is greater than the size of the detected flash device. Disk full Writing a output file was aborted as a result of missing disk space. ...

Page 13

Error: Pin-Name is an input only pin The specified pin cannot be activated. Check the command line. Check the initialization file. Error: Pin-Name may not be read back The specified pin can be switched to tristate, but cannot be read ...

Page 14

... Option /CPUPOS= out of range The number specified with the option /CPUPOS= must be less or equal to the number of parts minus 1. Option /IROFFS= out of range Please specify a smaller value Part at specified position is not a AMD ÉlanSC400/ÉlanSC410 The option /CPUPOS= points to a part not a AMD ÉlanSC400/ÉlanSC410 14 JTAGEL4c ...

Page 15

... The sum of all instruction register bits in the JTAG chain does not fit to the AMD ÉlanSC400/ÉlanSC410. Check the target connection. Check the target CPU type. Check the settings for /IROFFS= and /CPUPOS there are several parts in the JTAG chain. Target no longer connected There is a cyclic check of the JTAG chain ...

Page 16

... The length of the boundary scan register of the selected part (if there are more than one in the chain) does not fit to the AMD ÉlanSC400/ÉlanSC410. Check the target connection. Check the target CPU type. Check the settings for /IROFFS= and /CPUPOS there are several parts in the JTAG chain. 16 ...

Page 17

Initialization file JTAGEL4.INI This file is used to define the default direction and level of all CPU signals. This file must be carefully ÉlanSC400/ÉlanSC410. The Target-Entry is used to identify your design which is displayed with most commands. When ...

Page 18

... Sample File JTAGEL4.INI: // Description file for AMD ÉlanSC400/ÉlanSC410 Target: Module FS FORTH-SYSTEME module ELAN486 on EVAELAN_2 // All chip select signals are set to output and inactive. // All signals should be defined. Undefined signals are set to their defaults. // Pin names are defined in upper case. // Low active signals are signed with a trailing #. ...

Page 19

GPIO_CS10 Out, AEN GPIO_CS9 Out, GPIO_CS8 Out, PIRQ0 GPIO_CS7 Out, PIRQ1 GPIO_CS6 Out, IOCHRDY GPIO_CS5 Out, IOCS16# GPIO_CS1 Out, SCL GPIO_CS0 Out, SDAT ...

Page 20

SA24 Out,Lo SA25 Out,Lo GPIO20 Out, CD_A2# // Group E: All pins in this group must be set to the same direction // This group is switched to output/active during programming of // Flash-EPROMs, as long as the ...

Page 21

MA6 Out,Lo MA5 Out,Lo MA4 Out, RESERVED MA3 Out, CFG3 MA2 Out, CFG2 MA1 Out, CFG1 MA0 Out, CFG0 MWE# Out,Hi // Group G: All pins in this group must ...

Page 22

Group H: All pins in this group must be set to the same direction // This group is switched between output/active and // input/tristate during programming of Flash-EPROMs KBD_ROW7 Out, PDACK1# KBD_ROW8 Out, PDRQ1 KBD_ROW9 ...

Page 23

CTS# Inp // SIN Inp // RIN Inp // ACIN Inp // SUS_RES Inp // BL2# Inp // BL1# Inp // JTAGEL4c.doc 23 ...

Page 24

Supported flash devices Type JTAGEL4 /LIST [optionlist] to get a online list of all flash types which could be used with the /DEVICE= option. See separate file JTAG_V4xx_FLASHES.pdf to get a complete list of supported flash types. 24 JTAGEL4c.doc ...

Page 25

... When you start JTAGEL4.EXE without any parameters the following help screen with all possible functions and options is displayed: JTAGEL4 --- JTAG utility for AMD ÉlanSC400/ÉlanSC410 Copyright © FS FORTH-SYSTEME GmbH, Breisach Version 4.xx of mm/dd/yyyy Programming of Flash-EPROMs and hardware tests on targets with the AMD É ...

Page 26

... Supported Options: /ROMCS0 /ROMCS1 /NOWRSETUP /TOP /P /NODUMP /LPT1 /LPT2 /16BIT /8BIT /FILE-OFFSET= /FO= /DEVICE-BASE= /DB= /IROFFS= /CPUPOS= /I2CDAT= /I2CDATI= /OUT= /INI= The following options are valid for most functions: /DRIVER=x with x = 1,2,3,4 A driver for the interface to the JTAG-BOOSTER on the parallel port may be specified. /DRIVER=1 selects the fastest available driver, /DRIVER=4 selects the slowest one ...

Page 27

... This pin must be specified as output in the initialization file. /IROFFS= Specifies the position of the AMD ÉlanSC400/ÉlanSC410 instruction register within the JTAG chain. In most cases this option is not needed. Default: /IROFFS=0 /CPUPOS= Specifies the position of the AMD ÉlanSC400/ÉlanSC410 within the JTAG chain. Default: /CPUPOS=0 JTAGEL4c ...

Page 28

Program a Flash Device Usage: JTAGEL4 /P filename [optionlist] The specified file is programmed into the flash memory. The flash status is polled after programming of each cell (cell bit, depending on current data bus width). In ...

Page 29

... Abbreviation: /O= /TOP If the option /TOP is used the option /OFFSET= specifies the address where the programming ends (plus one) instead of the starting address. This option is very important for Intel CPU architectures, because target execution always starts at the top of the address space. ...

Page 30

The number of programmed bytes may be limited to LENGTH LENGTH is specified the whole file is programmed. Default: /LENGTH=4000000 (64 MByte) Abbreviation: /L= /NODUMP In case of a verify error the contents of the flash memory ...

Page 31

Examples: JTAGEL4 /P ROMDOS.ROM /L=20000 /TOP This example programs up to 128 Kbytes of the file ROMDOS.ROM (with i.e. 512 Kbytes) to the top of the boot flash memory. JTAGEL4 /P CE.ROM /ROMCS1 This example programs the file CE.ROM to ...

Page 32

... See function /P (Chapter 2.1) 2 /DEVICE-BASE=hhhhhh See function /P (Chapter 2.1) /OFFSET=hhhhhh Reading of the flash memory starts at an offset of hhhhhh relative to the start address of the flash device. If the offset is negative, the offset specifies a address relative to the end of the flash device. See also option /TOP. Default: ...

Page 33

... If the option /TOP is used the option /OFFSET= specifies the address where reading ends (plus one) instead of the starting address. /LENGTH=hhhhhh The number of read bytes may be limited to LENGTH LENGTH is specified the whole flash device is read (if no offset is specified). /ROMCS0 /ROMCS1 /NOCS See function /P (Chapter 2 ...

Page 34

... See function /P (Chapter 2.1) /8BIT /16BIT /32BIT See function /P (Chapter 2.1) /BYTE-MODE See function /P (Chapter 2.1) /NOMAN See function /P (Chapter 2.1) /DEVICE-BASE=hhhhhh See function /P (Chapter 2.1) /OFFSET=hhhhhh See function /P (Chapter 2.1) /TOP See function /P (Chapter 2.1) /FILE-OFFSET=hhhhhh See function /P (Chapter 2.1) 34 JTAGEL4c.doc ...

Page 35

See function /P (Chapter 2.1) /NODUMP See function /P (Chapter 2.1) /ROMCS0 /ROMCS1 /NOCS See function /P (Chapter 2.1) /NOWRSETUP See function /P (Chapter 2.1) Please note: In the function /V write cycles are needed to detect the type ...

Page 36

... The number of downloaded bytes may be limited to LENGTH LENGTH is specified the whole file is downloaded. Default: /LENGTH=4000000 (64 MByte) Abbreviation: /L= /FILE-OFFSET=hhhhhh If FILE-OFFSET is specified, the first hhhhhh bytes of the file are skipped and not loaded into target memory. Default: /FILE-OFFSET=0 Abbreviation: /FO= /NODUMP In case of a verify error the contents of the target memory is written to a file with the extension ...

Page 37

By default write cycles to the SRAM are realized with three steps: 1. set address/data 2. write strobe active 3. write strobe inactive. Only in rare cases it is possible to set the write strobe coincident with setting of ...

Page 38

... Target data is written to the specified file. For uploads from a flash device the function /R should be used. Options: /8BIT /16BIT /32BIT Default: /16BIT /OFFSET=hhhhhh See function /D (Chapter 2.4) /TOP See function /D (Chapter 2.4) /LENGTH=hhhhhh The number of uploaded bytes must be specified LENGTH is specified a error message occurs. ...

Page 39

... Test target memory (SRAM) Usage: JTAGEL4 /SRAM [optionlist] Makes a memory test. Options: /8BIT /16BIT /32BIT Default: /16BIT /OFFSET=hhhhhh Memory test starts at OFFSET Default: /OFFSET=0 Abbreviation: /O= /LENGTH=hhhhhh The number of tested bytes must be specified LENGTH is specified an error message occurs. Abbreviation: /L= /ROMCS0 /ROMCS1 /NOCS ...

Page 40

... Default: /OFFSET=0 Abbreviation: /O= 3 /DEVICE-BASE=hhhhhh The device start address is used as an additional offset. This gives the function /DUMP the same behavior as function /P /V and /R. Default: /DEVICE-BASE=3000000 Abbreviation: /DB= /TOP If the option /TOP is used the option /OFFSET= specifies the address where ...

Page 41

Example: JTAGEL4 /DUMP /ROMCS0 /32BIT This example makes a memory dump of the first 256 bytes of the Boot-EPROM. JTAGEL4c.doc 41 ...

Page 42

... The programming starts at an offset of hhhhhh relative to the start address of the I²C-Device. Default: /OFFSET=0 Abbreviation: /O= /FILE-OFFSET=hhhhhh If FILE-OFFSET is specified, the first hhhhhh bytes of the file are skipped and not programmed to target. Default: /FILE-OFFSET=0 Abbreviation: /FO= 42 (if option /I2CBIG omitted) (if option /I2CBIG specified) ...

Page 43

The number of programmed bytes may be limited to LENGTH LENGTH is specified the whole file is programmed. Abbreviation: /L= /NODUMP In case of a verify error the contents of the I²C-Device is written to a file ...

Page 44

... Options: /I2CBIG This option must be the first option after the filename. See function /PI2C (Chapter 2.8) /DEVICE-BASE=hhhhhh See function /PI2C (Chapter 2.8) /OFFSET=hhhhhh Reading of the I²C-Device starts at an offset of hhhhhh relative to the start address of the I²C-Device. Default: /OFFSET=0 Abbreviation: /O= /LENGTH=hhhhhh The number of read bytes must be specified otherwise an error message occurs. ...

Page 45

Example: JTAGEL4 /RI2C EEPROM.CFG /I2CCLK=GP26 /I2CDAT=GP27 /L=100 This example reads 256 bytes from a serial EEPROM to the file EEPROM.CFG. The serial EEPROM is connected to the pins GP26 and GP27 of the AMD ÉlanSC400/ÉlanSC410. JTAGEL4c.doc 45 ...

Page 46

... This option must be the first option after the filename. See function /PI2C (Chapter 2.8) /DEVICE-BASE=hhhhhh See function /PI2C (Chapter 2.8) /OFFSET=hhhhhh See function /PI2C (Chapter 2.8) /FILE-OFFSET=hhhhhh See function /PI2C (Chapter 2.8) /LENGTH=hhhhhh See function /PI2C (Chapter 2.8) /NODUMP See function /PI2C (Chapter 2.8) /I2CCLK=pin_name See function /PI2C (Chapter 2 ...

Page 47

See function /PI2C (Chapter 2.8) Example: JTAGEL4 /VI2C EEPROM.CFG /I2CCLK=GP26 /I2CDAT=GP27 This example verifies 256 bytes from a serial EEPROM with the file EEPROM.CFG. The serial EEPROM is connected to the pins GP26 and GP27 of the AMD ÉlanSC400/ÉlanSC410. ...

Page 48

... A Hex-Dump of an I²C-Device is printed on the screen, if not redirected to file or device. Options: /I2CBIG This option must be the first option. See function /PI2C (Chapter 2.8) /DEVICE-BASE=hhhhhh See function /PI2C (Chapter 2.8) 4 /OFFSET=hhhhhh The memory dump starts at an offset of hhhhhh. Default: /OFFSET=0 Abbreviation: /O= /LENGTH=hhhhhh Default: /LENGTH=100 Abbreviation: /L= /I2CCLK=pin_name Specifies the CPU pin used for serial clock output ...

Page 49

Specifies the CPU pin used for serial data input. Pin_name must specify a input pin otherwise an error message occurs. Example: JTAGEL4 /DUMPI2C /I2CCLK=FLAG0 /I2CDAT=FLAG1 This example makes a memory dump of the first 100h bytes of a serial ...

Page 50

Toggle CPU pins Usage: JTAGEL4 /BLINK /PIN=pinname [optionlist] This command allows to test the hardware by blinking with LEDs or toggling CPU signals. Faster signals can be generated by setting the delay option to zero. This can be a ...

Page 51

Polling CPU pins Usage: JTAGEL4 /PIN? /PIN=pinname [optionlist] This command allows to test the hardware by polling CPU signals. Please Note: Not every pin of the AMD ÉlanSC400/ÉlanSC410 may be specified as an input pin. Options: /PIN=pin_name CPU pin ...

Page 52

... Booster. Please note: The signal BNDSCN_EN of the AMD ÉlanSC400 is not 5V tolerant. If you power the JTAG-Booster with 5V (Pin 8 = +5V, Typ 227) there must be a protection circuit to protect the pin. On the FS FORTH- SYSTEME module Élan486 there is a level shifter for the BNDSCN_EN signal and the standard 5V version of the JTAG-Booster can be directly connected to the module. The signal BNDSCN_EN switches the AMD É ...

Page 53

Refer to the following table for connecting Flash-EPROMs to the AMD ÉlanSC400/ÉlanSC410: ÉlanSC400 signal 8 Bit Flash (i.e. 29F040) ROMCS0# ROMCS1# CS# ROMRD# OE# ROMWR# WE# SD0..7 D0..7 SD0..15 - D0..15 - SD0..15 - JTAGEL4c.doc 16 Bit Flash 32 Bit ...

Page 54

Converter Program HEX2BIN.EXE Since the JTAG-Booster software is not able to handle Intel-HEX or Motorola S- Record files, an separate converter tool is delivered with this product package. Five types of HEX formats can be converted to BIN file: ...

Page 55

Please Note: "CODE segment start address" is interpreted as a Intel x86 architecture segment address: You have to specify a start address of 10000 to start the conversion at 1 MByte. This converter is a relatively old DOS tool and ...

Page 56

Support for Windows NT and Windows 2000 A configured run time version of the "Kithara DOS Enabler, Version 5.1" is used to give support for some of our DOS based tools (like the JTAG-Booster) for Windows NT and Windows ...

Page 57

De-Installation version 5.xx: For deinstallation of the runtime version of the "Kithara DOS-Enabler Version 5.x": use: Settings - Control-Panel - Add/Remove Programs and remove the "WinNT support for JTAG-Booster and FLASH166" Reboot your PC JTAGEL4c.doc 57 ...

Related keywords