FS-9015 Digi International, FS-9015 Datasheet

no-image

FS-9015

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

Specifications of FS-9015

Contents
Programmer and Associated Interface Software
For Use With/related Products
Samsung S3C24xx, 3.3V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Samsung S3C24xx
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-9015

FS-9015 Summary of contents

Page 1

... JTAG-Booster for Samsung S3C24xx 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 September 11, 2003 Dieter Fögele JTAG_S3C24xxa.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 Samsung S3C2410.................................................9 1.6. First Example with Samsung ...

Page 4

General The programs JTAG2410.EXE and JTAG2440.EXE use the JTAG port of the Samsung S3C24xx mircocontrollers in conjunction with the small JTAG-Booster: to program data into flash memory to verify and read the contents of a flash memory to make ...

Page 5

Ordering Information The following related products are available 9015 JTAG-Booster Samsung S3C24xx, 3.3V, S3C2410 and S3C2440 DOS/Win9x/WinNT/Win2000/WinXP, delivered with adapter type 285 1.2. System Requirements To successfully run this tool the following requirements must be met: MSDOS, WIN3.x, WIN9x, ...

Page 6

Contents of Distribution Disk JTAG2410.EXE Tool for Samsung S3C2410 JTAG2410.OVL JTAG2410.INI Template configuration file for Samsung S3C2410. See chapter 1.9 "Initialization file JTAGxxxx.INI" JTAG2440.EXE Tool for Samsung S3C2440 JTAG2440.OVL JTAG2440.INI Template configuration file for Samsung S3C2440. See chapter 1.9 ...

Page 7

... Pin 7 is the target’s TDO pin and is connected to the JTAG-Booster’s TDI pin. The 3.3V version of the JTAG-Booster (FS part number 285) is delivered together with this package. Don’t use the 5V version of the JTAG-Booster (FS part number 227) with a 3.3V target. 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 JTAGxxxx /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 JTAGxxxx, ...

Page 9

... In the following simple example it is assumed that the JTAG-Booster is connected to LPT1 of your PC and target power is on. Typing JTAG2410 /P MYAPP.BIN at the DOS prompt results in the following output: JTAG2410 --- JTAG utility for Samsung S3C2410 Copyright FS FORTH-SYSTEME GmbH, Breisach Version 4.xx of mm/dd/yyyy (1) Configuration loaded from file JTAG2410.INI (2) Target: Generic Target (3) ...

Page 10

... The position of the JTAG instruction register of the Samsung S3C2410 is assumed to be zero, if not specified in the command line (see option /IROFFS=). (9) The real length of the boundary scan register is displayed here and compared with the boundary scan register length of a Samsung S3C2410. ...

Page 11

... In the following simple example it is assumed that the JTAG-Booster is connected to LPT1 of your PC and target power is on. Typing JTAG2440 /P MYAPP.BIN at the DOS prompt results in the following output: JTAG2440 --- JTAG utility for Samsung S3C2440 Copyright FS FORTH-SYSTEME GmbH, Breisach Version 4.xx of mm/dd/yyyy (1) Configuration loaded from file JTAG2440.INI (2) Target: Generic Target (3) ...

Page 12

... The position of the JTAG instruction register of the Samsung S3C2440is assumed to be zero, if not specified in the command line (see option /IROFFS=). (9) The real length of the boundary scan register is displayed here and compared with the boundary scan register length of a Samsung S3C2440. ...

Page 13

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 14

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

Error: Pin-Name is an output only pin The specified pin cannot be sampled. Check the command line. Check the initialization file. Error: Pin-Name is an input only pin The specified pin cannot be activated. Check the command line. Check the ...

Page 16

Please check the syntax in your configuration file. (See chapter 1.9 “Initialization file JTAGxxxx.INI”). LPTx not installed The LPT port specified with /LPTx cannot be found. Please check the LPT port or specify a installed LPT ...

Page 17

... The sum of all instruction register bits in the JTAG chain does not fit to the Samsung S3C24xx. 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 18

... 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 Samsung S3C24xx. Check the target connection. Check the target CPU type. Check the settings for /IROFFS= and /CPUPOS there are several parts in the JTAG chain. 18 JTAG_S3C24xxa.doc ...

Page 19

Initialization file JTAGxxxx.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 Samsung S3C24xx. The Target-Entry is used to identify your design ...

Page 20

Sample File JTAG2410.INI: // Description file for Samsung S3C2410 Target: Generic Target, 2003/08/21 // Adapt this file carefully to your design!! // All chip select signals are set to output and inactive. // All signals should be defined. Undefined signals ...

Page 21

Group 65: All pins in this group must be set to the same direction // These pins are bidirectional // During flash programming these pins are switched between // input/inactive and output/active. // For Flash programming and other memory ...

Page 22

ADDR11 Out,Lo // ADDR12 Out,Lo // ADDR13 Out,Lo // ADDR14 Out,Lo // ADDR15 Out, The following pins are tristateable, but can not be read back // For Flash Programming these pins must be set to output ADDR0 Out,Lo ...

Page 23

Group 153: All pins in this group must be set to the same direction // These pins are tristateable, but can not be read back GCS0# Out,Hi // SCKE Out,Hi // SDRAM Clock Enable WE# Out,Hi // Write Enable ...

Page 24

VD21 Inp // GPD13 VD22 Inp // GPD14/SS1#, SPI chip select slave VD23 Inp // GPD15/SS0#, SPI chip select slave I2SLRCK Inp // GPE0, IIS-bus channel select I2SSCLK Inp // GPE1, IIS-bus serial clock CDCLK Inp // GPE2, CODEC system ...

Page 25

CLKOUT1 Inp // GPH10 CTS0# Inp // GPH0 RTS0# Inp // GPH1 TXD0 Inp // GPH2 RXD0 Inp // GPH3 TXD1 Inp // GPH4 RXD1 Inp // GPH5 TXD2 Inp // GPH6/RTS1# RXD2 Inp // GPH7/CTS1# TOUT0 Inp // GPB0, ...

Page 26

The following pins are input only. // Setting to output of one of these pins results in an error. // Declaration of the direction of these pins is optional. CON0# Inp // ??? CON1# Inp // BATT_FLT# Inp // ...

Page 27

Sample File JTAG2440.INI: In preparation JTAG_S3C24xxa.doc 27 ...

Page 28

Supported flash devices Type JTAGxxxx /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. 28 JTAG_S3C24xxa.doc ...

Page 29

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

Page 30

... Note: The initialization file is not loaded for the functions /SAMPLE (chapter 2.11) and /SNAP (chapter 2.12). Default: /INI=JTAGxxxx.INI 30 /CS2 /CS3 /CS7 /BIG /BYTE-MODE /BM /NOERASE /ERASEALL /LPT1 /LPT2 /16BIT /8BIT /FILE-OFFSET= /FO= /DEVICE-BASE= /DB= /DEVICE= /PIN= /I2CDATO= I2CBIG /REP JTAG_S3C24xxa.doc /CS4 /NOCS /PAUSE /LATTICE /LPT3 /NOMAN /OFFSET= /DRIVER= /I2CCLK= ...

Page 31

... This pin may be the trigger of a watchdog. This pin must be specified as output in the initialization file. /IROFFS= Specifies the position of the Samsung S3C24xx instruction register within the JTAG chain. In most cases this option is not needed. Default: /IROFFS=0 JTAG_S3C24xxa.doc 31 ...

Page 32

Specifies the position of the Samsung S3C24xx within the JTAG chain. Default: /CPUPOS=0 32 JTAG_S3C24xxa.doc ...

Page 33

Program a Flash Device Usage: JTAGxxxx /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 34

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

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 36

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

Page 37

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

... 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). /CS0 /CS1 /CS2 /CS3 /CS4 /CS5 /CS6 /CS7 See function /P (Chapter 2 ...

Page 39

... 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_S3C24xxa.doc 39 ...

Page 40

See function /P (Chapter 2.1) /NODUMP See function /P (Chapter 2.1) /CS0 /CS1 /CS2 /CS3 /CS4 /CS5 /CS6 /CS7 See function /P (Chapter 2.1) /NOWRSETUP See function /P (Chapter 2.1) Please note: In the function /V write cycles are ...

Page 41

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

Example: JTAGxxxx /DUMP This example makes a memory dump of the first 256 bytes of the Boot-EPROM. 42 JTAG_S3C24xxa.doc ...

Page 43

... 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_S3C24xxa.doc (if option /I2CBIG omitted) (if option /I2CBIG specified) ...

Page 44

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 45

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

Example: JTAGxxxx /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 Samsung S3C24xx. 46 JTAG_S3C24xxa.doc ...

Page 47

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

See function /PI2C (Chapter 2.5) Example: JTAGxxxx /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 Samsung S3C24xx. ...

Page 49

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

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

Page 51

Toggle CPU pins Usage: JTAGxxxx /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 52

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

Page 53

Polling CPU pins while the CPU is running Usage: JTAGxxxx /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 54

Show status of all CPU pins while the CPU is running Usage: JTAGxxxx /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 55

Sample output: This is a sample output for a Samsung S3C2410 | 1 LEND | 1 VCLK | 1 VFRAME | 1 LCDVF0 | 1 VD0 | 1 VD1 | 1 VD4 | 1 VD5 | 1 VD8 | 1 ...

Page 56

DATA18 | 0 DATA19 | 1 DATA22 | 1 DATA23 | 1 DATA26 | 1 DATA27 | 1 DATA30 | 1 DATA31 | 1 TOUT2 | 1 TOUT3 | 1 XBREQ XDACK1 XDREQ0# 56 ...

Page 57

Implementation Information This chapter summarizes some information about the implementation of the JTAG-Booster and describes some restrictions. The JTAG-Booster currently uses Boundary Scan to perform Flash programming. The EmbeddedICE macrocell of the ARM920 core is not used. Programming of ...

Page 58

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 59

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 60

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

Page 61

... Now you can install the Kithara 6.x as described above. 5.4. De-Installation version 5.x/6.x: For deinstallation of the runtime version of the "Kithara DOS-Enabler Version 5.x/6.x": use: Settings - Control-Panel - Add/Remove Programs and remove the “FS FORTH-SYSTEME WinNT Support” and/or “WinNT Support for JTAG-Booster and FLASH166” Reboot your PC JTAG_S3C24xxa.doc 61 ...

Related keywords