FS-940 Digi International, FS-940 Datasheet

no-image

FS-940

Manufacturer Part Number
FS-940
Description
JTAG-BOOSTER FOR ADSP-21XXX 5V
Manufacturer
Digi International
Series
Digi/FS Forthr
Type
FLASHr
Datasheet

Specifications of FS-940

Contents
Programmer and Associated Interface Software
For Use With/related Products
ADI ADSP-21xxx, 5V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Analog Devices ADSP-21xxx
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-940

FS-940 Summary of contents

Page 1

... JTAG-Booster for Analog Devices ADSP-21xxx 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 April 19, 2002 Dieter Fögele JTAG_ADSP-21xxxa.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 Analog Devices ADSP-21060/21061/21062............9 1.6. First Example with ...

Page 4

General The programs JTAG060.EXE, JTAG065.EXE and JTAG161.EXE use the JTAG port of the Analog Devices ADSP-21xxx DSP Microcomputer in conjunction with the small JTAG-Booster: to program data into flash memory to verify and read the contents of a flash ...

Page 5

Ordering Information The following related products are available 940 JTAG-Booster Analog Devices ADSP-21xxx, 5V, DOS/Win9x/WinNT, delivered with adapter type 227 953 JTAG-Booster Analog Devices ADSP-21xxx, 3.3V, DOS/Win9x/WinNT, delivered with adapter type 285 1.2. System Requirements To successfully run this ...

Page 6

Contents of Distribution Disk JTAG060.EXE Tool for Analog Devices ADSP-21060/21061/21062 JTAG060.OVL JTAG060.INI Template configuration file for Analog Devices ADSP- 21060/21061/21062. See chapter 1.10 "Initialization file JTAGxxx.INI" JTAG065.EXE Tool for Analog Devices ADSP-21065 JTAG065.OVL JTAG065.INI Template configuration file for Analog ...

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: JTAGxxx /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 JTAGxxx, press ...

Page 9

... LPT1 of your PC and target power is on. Typing JTAG060 /P MYAPP.BIN at the DOS prompt results in the following output: JTAG060 --- JTAG utility for Analog Devices ADSP-21060/21061/21062 Copyright FS FORTH-SYSTEME GmbH, Breisach Version 4.xx of mm/dd/yyyy (1) Configuration loaded from file JTAGxxx.INI (2) Target: Analog Devices SHARC EZ-KIT ...

Page 10

... The position of the JTAG instruction register of the Analog Devices ADSP- 21xxx is assumed to be zero, if not specified in the command line (see option /IROFFS=). (10) The real length of the boundary scan register is displayed here and compared with the boundary scan register length of a Analog Devices ADSP-21060/21061/21062 ...

Page 11

... LPT1 of your PC and target power is on. Typing JTAG065 /P MYAPP.BIN at the DOS prompt results in the following output: JTAG065 --- JTAG utility for Analog Devices ADSP-21065 Copyright FS FORTH-SYSTEME GmbH, Breisach Version 4.xx of mm/dd/yyyy (1) Configuration loaded from file JTAG065.INI (2) Target: Generic Target with ADSP-21065 ...

Page 12

... The position of the JTAG instruction register of the Analog Devices ADSP- 21xxx is assumed to be zero, if not specified in the command line (see option /IROFFS=). (10) The real length of the boundary scan register is displayed here and compared with the boundary scan register length of a Analog Devices ADSP-21060/21061/21062 ...

Page 13

... LPT1 of your PC and target power is on. Typing JTAG161 /P MYAPP.BIN at the DOS prompt results in the following output: JTAG161--- JTAG utility for Analog Devices ADSP-21161 Copyright FS FORTH-SYSTEME GmbH, Breisach Version 4.xx of mm/dd/yyyy (1) Configuration loaded from file JTAG161.INI (2) Target: Generic Target with Analog Devices ADSP-21161 ...

Page 14

... The position of the JTAG instruction register of the Analog Devices ADSP- 21xxx is assumed to be zero, if not specified in the command line (see option /IROFFS=). (10) The real length of the boundary scan register is displayed here and compared with the boundary scan register length of a Analog Devices ADSP-21060/21061/21062 ...

Page 15

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 16

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

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 18

... 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 Analog Devices ADSP-21xxx The option /CPUPOS= points to a part not a Analog Devices ADSP-21xxx 18 JTAG_ADSP-21xxxa ...

Page 19

... The sum of all instruction register bits in the JTAG chain does not fit to the Analog Devices ADSP-21xxx. 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 20

... 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 Analog Devices ADSP-21xxx. Check the target connection. Check the target CPU type. Check the settings for /IROFFS= and /CPUPOS there are several parts in the JTAG chain. 20 ...

Page 21

Initialization file JTAGxxx.INI This file is used to define the default direction and level of all CPU signals. This file must be carefully adapted to your design with the Analog Devices ADSP- 21xxx. The Target-Entry is used to identify ...

Page 22

Sample File JTAG060.INI: // Description file for Analog Devices ADSP-21xxx Target: Analog Devices SHARC EZ-KIT // All chip select signals are set to output and inactive. // All signals should be defined. Undefined signals are set to their defaults. // ...

Page 23

Group E: All pins in this group must be set to the same direction // This pins are bidirectional L1CLK Inp // Link Port Clock L1DAT0 Inp // Link Port Data L1DAT1 Inp // L1DAT2 Inp // L1DAT3 Inp ...

Page 24

DATA23 Inp // = Boot-ROM D7 DATA24 Inp // DATA25 Inp // DATA26 Inp // DATA27 Inp // DATA28 Inp // DATA29 Inp // DATA30 Inp // DATA31 Inp // DATA32 Inp // DATA33 Inp // DATA34 Inp // DATA35 ...

Page 25

Group I: All pins in this group must be set to the same direction // This pins are bidirectional // For Flash programming this pins must be set to output. SW# Out,Hi // Synchronous Write Select MS0# Out,Hi // ...

Page 26

... Receive Clock TFS0 Inp // Transmit Frame Sync TCLK0 Inp // Transmit Clock RFS1 Inp // Receive Frame Sync RCLK1 Inp // Receive Clock TFS1 Inp // Transmit Frame Sync TCLK1 Inp // Transmit Clock BMS# Out,Hi // Boot Memory Select = CS# of Flash-EPROM FLAG0 Out,Lo // Flag Pin = LEx FLAG1 ...

Page 27

Setting to input (tristate) one of these pins results in an error. ICSA Out,Lo // Reserved Output TIMEXP Out,Lo // Timer Expired // The following pins are input only. // Setting to output of one of these pins results ...

Page 28

Sample File JTAG065.INI: // Description file for Analog Devices ADSP-21065 Target: Generic Target with ADSP-21065 // All chip select signals are set to output and inactive. // All signals should be defined. Undefined signals are set to their defaults. // ...

Page 29

DATA30 Inp // DATA31 Inp // // Group B: All pins in this group must be set to the same direction // This pins are bidirectional // For Flash programming this pins must be set to output. ADDR23 Out,Lo // ...

Page 30

... Receive Clock TFS0 Inp // Transmit Frame Sync TCLK0 Inp // Transmit Clock RFS1 Inp // Receive Frame Sync RCLK1 Inp // Receive Clock TFS1 Inp // Transmit Frame Sync TCLK1 Inp // Transmit Clock BMS# Out,Hi // Boot Memory Select = CS# of Flash-EPROM FLAG0 Inp // Flag Pin FLAG1 ...

Page 31

FLAG10 Inp // Flag Pin FLAG11 Inp // Flag Pin PWM_EVENT1 Inp // PWM output/event capture PWM_EVENT0 Inp // PWM output/event capture SDCLK1 Out,Lo // SDRAM clock output // The direction of each following pin can be set independent of ...

Page 32

Sample File JTAG161.INI: // Description file for Analog Devices ADSP-21161 Target: Generic Target with ADSP-21161 // All chip select signals are set to output and inactive. // All signals should be defined. Undefined signals are set to their defaults // ...

Page 33

ID2 Inp // TIMEXP Inp // Timer Expired SBTS# Inp // Suspend Bus & Three-State PA# Inp // Priority Access BR6# Inp // Multiprocessing Bus Request BR5# Inp // BR4# Inp // BR3# Inp // BR2# Inp // BR1# Inp ...

Page 34

... Inp // D1A Inp // D1B Inp // SFS2 Inp // SCLK2 Inp // D2A Inp // D2B Inp // SFS3 Inp // SCLK3 Inp // D3A Inp // D3B Inp // SPIDS# Inp // Serial Peripheral Interface Slave Device Select SPICLK Inp // Serial Peripheral Interface Clock Signal MOSI Inp // SPI Master Out Slave ...

Page 35

The following pins are complete bidirectional pins // The direction of each pin can be set independent of the other pins // For Flash Programming these pins must be set to output ADDR0 Out,Lo // External Bus Address ADDR1 ...

Page 36

DATA28 Inp // DATA29 Inp // DATA30 Inp // DATA31 Inp // DATA32 Inp // DATA33 Inp // DATA34 Inp // DATA35 Inp // DATA36 Inp // DATA37 Inp // DATA38 Inp // DATA39 Inp // DATA40 Inp // DATA41 ...

Page 37

Supported flash devices Type JTAGxxx /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. JTAG_ADSP-21xxxa.doc 37 ...

Page 38

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

Page 39

... A printer port may be specified where the JTAG-Booster resides. Default: /LPT1 JTAG_ADSP-21xxxa.doc /MS1 /MS2 /MS3 /TOP /BYTE-MODE /BM /NODUMP /NOERASE /LATTICE /LPT2 /LPT3 /LPT-BASE= /8BIT /NOMAN /LENGTH= /FO= /OFFSET= /O= /DRIVER= /DATA-MASK= /CPUPOS= /DEVICE= /PIN= /I2CDATI= /I2CDATO= I2CBIG /INI= /REP 39 ...

Page 40

... This pin must be specified as output in the initialization file. /IROFFS= Specifies the position of the Analog Devices ADSP-21xxx instruction register within the JTAG chain. In most cases this option is not needed. Default: /IROFFS=0 /CPUPOS= Specifies the position of the Analog Devices ADSP-21xxx within the JTAG chain. Default: /CPUPOS=0 40 JTAG_ADSP-21xxxa ...

Page 41

Program a Flash Device Usage: JTAGxxx /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). ...

Page 42

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

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 44

Examples: JTAGxxx /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. JTAGxxx /P CE.ROM /32BIT /MS0 This example programs the file CE.ROM ...

Page 45

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

... 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). /BMS /MS0 /MS1 /MS2 /MS3 /NOCS See function /P (Chapter 2 ...

Page 47

... 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) JTAG_ADSP-21xxxa.doc 47 ...

Page 48

See function /P (Chapter 2.1) /NODUMP See function /P (Chapter 2.1) /BMS /MS0 /MS1 /MS2 /MS3 /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 ...

Page 49

... 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=0 Abbreviation: /DB= /TOP If the option /TOP is used the option /OFFSET= specifies the address where ...

Page 50

Example: JTAGxxx /DUMP /BMS This example makes a memory dump of the first 256 bytes of the Boot-EPROM. 50 JTAG_ADSP-21xxxa.doc ...

Page 51

... 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= JTAG_ADSP-21xxxa.doc (if option /I2CBIG omitted) (if option /I2CBIG specified) ...

Page 52

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 53

... Options: /I2CBIG This option must be the first option after the filename. See function /PI2C (Chapter 2.5) /DEVICE-BASE=hhhhhh See function /PI2C (Chapter 2.5) /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 54

Example: JTAGxxx /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 CP26 and GP27 of the Analog Devices ADSP-21xxx. 54 JTAG_ADSP-21xxxa.doc ...

Page 55

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

Page 56

See function /PI2C (Chapter 2.5) Example: JTAGxxx /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 CP26 and GP27 of the Analog Devices ...

Page 57

... 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.5) /DEVICE-BASE=hhhhhh See function /PI2C (Chapter 2.5) 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 58

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

Page 59

Toggle CPU pins Usage: JTAGxxx /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 60

Polling CPU pins Usage: JTAGxxx /PIN? /PIN=pinname [optionlist] This command allows to test the hardware by polling CPU signals. Please Note: Not every pin of the Analog Devices ADSP-21xxx may be specified as an input pin. Options: /PIN=pin_name CPU ...

Page 61

Polling CPU pins while the CPU is running Usage: JTAGxxx /SAMPLE /PIN=pinname [optionlist] This command is similar to the function /PIN?. But with this function any pin can be observed, independent of the pin direction. Furthermore the CPU remains ...

Page 62

Show status of all CPU pins while the CPU is running Usage: JTAGxxx /SNAP [optionlist] This function is similar to the function /SAMPLE, but displays the status of all CPU pins on the screen. The CPU remains in normal ...

Page 63

... ADDR20 | 1 ADDR19 | 1 ADDR16 | 1 ADDR15 | 1 ADDR12 | 1 ADDR11 | 1 ADDR8 | 1 ADDR7 | 0 ADDR4 | 1 ADDR3 | 1 ADDR0 | 0 FLAG0 | 0 FLAG3 | 1 IRQ0 RFS0 | 1 RCLK0 | 1 TFS0 | 1 TCLK0 | 0 RFS1 | 1 RCLK1 | 0 TFS1 | 1 TCLK1 | 0 PWM_EVENT1 | 0 PWM_EVENT0 | 0 CLKIN | 0 SDCLK1 | 1 DMAR2 HBR SDWE DQM | 1 DMAG1 DMAG2 CS SBTS RD REDY | 1 ACK | 1 MS0 MS3 FLAG11 | 1 FLAG8 | 0 DATA0 ...

Page 64

Implementation Information This chapter summarizes some information about the implementation of the JTAG-Booster and describes some restrictions. The JTAG-Booster currently uses the EXTEST function of the JTAG- Interface to perform Flash programming. The JTAG interface of the Analog Devices ...

Page 65

ADSP-21161 signal 8 Bit Flash BMS# CS# 1) MS0# or MS1# or CS# MS2# or MS3# RD# OE# WR# WE# DATA16..23 D0..7 DATA16..31 - DATA16.. Only a 8 bit Boot-Flash is supported by the Analog Devices ADSP-21xxx JTAG_ADSP-21xxxa.doc ...

Page 66

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 67

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 68

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 69

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 JTAG_ADSP-21xxxa.doc 69 ...

Related keywords