Page 1
ON LIN E EZTAG US E R GUIDE TA BL E O F CO NT E NT S IND E X GO T O O T H E R B OOK S ™ 0 4 0 1405...
Page 2
EZTag User Contents Guide Introduction EZTag Download Cable Options In-System Tutorial for PCs EZTag with Workstations Error Messages EZTag User Guide Printed in U.S.A.
Page 3
Xilinx assumes no obligation to correct any errors contained herein or to advise any user of this text of any correction if such be made. Xilinx will not assume any liability for the accuracy or correctness of any engineering or software support or assistance provided to a user.
Before using this manual, you should be familiar with the operations that are common to all Xilinx’s software tools: how to bring up the system, select a tool for use, specify operations, and manage design data. These topics are covered in the Development System Reference Guide.
Page 5
[ • Braces “{ }” enclose a list of items from which you choose one or more. designname xnfprep ignore_rlocs={true|false} • A vertical bar “|” separates items in a list of choices. editor symbol [bus|pins] EZTag User Guide...
Page 6
A vertical ellipsis indicates repetitive material that has been omitted. IOB #1: Name = QOUT’ IOB #2: Name = CLKIN’ • A horizontal ellipsis “. . .” indicates that the preceding can be repeated one or more times. blockname loc1 loc2 locn allow block Xilinx Development System...
Chapter 1 Introduction This chapter introduces you to the basic concepts of Xilinx JTAG capabilities and the XC9500 series products. Boundary Scan What is IEEE 1149.1 Design complexity, difficulty of loaded board testing, and the limited pin access of surface mount technology led industry leaders to seek accord on a standard to support the solution of these problems.
1 to the system if the pin is not driven. TDI -this pin is the serial data input to all JTAG instruction and data registers. The state of the TAP controller as well as the particular instruction held in the instruction register determines which register Xilinx Development System...
JTAG TAP Controller The JTAG TAP Controller is a 16-state finite state machine, that controls the scanning of data into the various registers of the JTAG architecture. A state diagram of the TAP controller is shown in Figure EZTag User Guide...
Exit1-DR. This is a temporary state that allows the option of passing on to the Pause-DR state or transitioning directly to the Update-DR state. Pause-DR. This is a wait state that allows shifting of data to be temporarily halted. Xilinx Development System...
JTAG Instructions Supported in FastFLASH Parts Mandatory Boundary Scan Instructions BYPASS. The BYPASS instruction allows rapid movement of data to and from other components on a board that are required to perform test operations. EZTag User Guide...
FVFY. The FVFY instruction is used to read the programming of the fuse locations at a specified address. ISPLD. The ISPLD instruction loads the programmed values into the device memory. It then activates the device to operate according to the programmed values. Xilinx Development System...
Readback. Reads back the contents of device programming registers and creates a new JEDEC file with the results. Checksum. Reads back the contents of device programming registers and calculates a checksum for comparison against the expected value. EZTag User Guide...
BSDL file is required for each kind of boundary-scan device in the system. The BSDL files for FastFLASH devices are provided as part of the product release. The user is responsible for providing BSDL files for any non-FastFLASH parts used in the boundary-scan chain. Xilinx Development System...
The system looks for the JEDEC files along the XACT path and in the current working directory. The name of the JEDEC file is assumed to be < design name >.jed, but can be specified exactly by the user. EZTag User Guide...
EZTag to download, read back, verify design configuration data for any device, and to probe internal logic states of an EPLD design. Two cables are available from Xilinx. The first is a serial RS-232 known as the XChecker that you can connect to a serial port. The second is the Parallel Download Cable that you can connect to a printer port.
Page 20
EZTag User Guide 2-1 shows the XChecker cable hardware and accessories. Keyed Connection to Target System Connection to Host Computer DB-25 Connector DB-9 Connector Connect to FPGA Demo Board Test Fixture Enlarged to show mating plugged slots May be required to connect...
Page 21
Figure 2-2 XChecker Cable The cable assembly houses internal circuitry consisting of a Xilinx FPGA and a static RAM. The internal Xilinx FPGA functions as an interface between the XChecker software and the target system. The static RAM stores data for readback.
On PCs you can connect a serial XChecker cable connects to your system RS232 serial port (you may need a DB9/DB25 adapter). The EZTag software will automatically identify thy XChecker cable when correctly connected to your PC. If you choose to, you may also select this connection manually.
EZTag Download Cable Options Connection to Your Target System You need appropriate pins on the target system for connecting the target system board to the header connection on the cable. These connectors must be standard 0.025−inch square male pins that have dedicated traces to the target system control pins.
Page 24
EZTag User Guide Each pin has a 100-Ω series resistor. You must provide an external pull-up resistor (approximately 10-50-kΩ) where indicated. Table 2-2 describes the pin connections to the target circuit board. Table 2-2 XChecker Cable Connections and Definitions Name...
EZTag Download Cable Options Name Function Connections Not used. Unconnected. Not used. Unconnected. TRIG Not used. Unconnected. Connecting for System Operation Connect the XChecker cable to the host system and your target system as shown in Figure 2-3. NOTES: 1. D/P XC4000\XC5200 2.
EZTag User Guide Parallel Download Cable The Parallel Download Cable consists of a cable assembly containing logic to protect your PC‘s parallel port and a set of headers to connect to your target system. Using the Parallel Download Cable requires a PC equipped with an AT compatible parallel port interface with a DB25 standard printer connector.
Connecting the Parallel Download Cable On PCs you can connect the parallel cable to your system’s parallel printer port. The EZTag software will automatically identify the cable when correctly connected to your PC. If you choose to, you may also select this connection manually.
EZTag User Guide Flying Lead Connectors The flying lead connector is two flying lead header connectors with eight standard individual female connectors on one end that fit onto 0.025″ square male pins. Each lead is labeled to identify the proper pin connection.
EZTag Download Cable Options Name Function Connections Test Mode Select – this sig- Connect to system nal is decoded by the TAP TMS pin. controller to control test operations. Connecting for System Operation Connect the parallel cable to the host system and your target system as shown in Figure 2-5.
Next connect the JTAG TAP inputs. Connect TCK, TDI, TMS and TDO to the target board. TRST is not supported by the XC9500 EZTAG Download Cable. If any of your JTAG parts have a TRST pin, it should be connected to VCC.
Attach lead’s connector to first row of pins Figure 3-1 EZTAG Cable and Leads Selecting a Port for the Cable You may select a serial or parallel port for your cable from the EZTag Interface. To set up a parallel port: Cable...
Make sure the cable is attached properly and the target board is turned on. Memory FPGA CPLD System Logic EZTAG Cable Target Figure 3-3 JTAG Connections Make sure that the BSDL files for non-XC9500 devices are stored along the XACT search path. EZTag User Guide...
Page 33
EZTag User Guide Invoke the EZTAG-JTAG Download Software menu by double- clicking the EZTAG-JTAG Download Software icon. Figure 3-4 EZTAG Menu with U1 Set for Programming and U2 Set in Bypass Mode. Select the operations desired for each XC95108 part.
Note: It will take between thirty and sixty seconds to download to a part using the Silicon Evaluation Release software. Modifying a Chain The Chain Editing Operations are located on the EZTAG menu. They softkeys listed as Insert, Change, and Delete. In EZTag User Guide...
EZTag User Guide addition, if you want to start over, you can use File Clear Chain. This will clear all entries in the Chain Description. Insert The insert softkey allows you to insert a new device into the chain. When you insert, the device number selected and all subsequent devices are moved down one in the chain.
Note: When no chain editing operation is active, selected files (by double-clicking) are added to the end of the chain. Saving a Chain To save an EZTAG chain description for later use, create a Chain Description File (.cdf) using: File Save A screen titled CDF File Operation will appear.
OK. Data Security Selection Any Xilinx device selected for programming can be secured with the Data Security (DS) or Data Protection (DP) or both. When enabled, Data Security disables reading the programmed contents of a device (the man.id and signature remain readable).
XC95108 XC95216 EZTag software support the following capabilities. EZTag allows you to download a design to the EPLD on the target system. EZTag can verify EPLD configuration by comparing it to the original JEDEC programming file after configuring an EPLD.
XC9500 devices. eztag.pro The eztag.pro file contains the default values for all EZTag options: part, design, baud, and port. These option values are updated at the end of every EZTag session. For EZTag to recognize an xchecker.pro file, it must be located in the same directory in which you started the...
When you do not specify any options, the EZTag software selects the port where the cable is connected and sets the baud rate to the maximum allowed by the platform. You can modify the communication port and baud rate by changing the appropriate settings in the xchecker.pro file.
To execute a readback after the device has been in operation, use the interactive commands, as follows: eztag This command invokes the interactive mode, and the EZTAG ? prompt appears. part part_type:design_name The part commands identifies the number the number, type, name and order of devices in the boundary-scan chain.
Abbreviation The Batch option executes commands in batch mode. The bat_file must have a ".cmd" extension and contain valid EZTag commands, including interactive commands. You can add comments to files by using the # symbol, either on the command line or on a new line.
Abbreviation The Verify Download and Readback option executes a download and readback of the current EPLD design for verification. EZTag reads the configuration from the EPLD and compares it to the original bitstream. If you do not specify this option, readback is not executed after configuration.
EZTag with Workstations The Batch command executes commands in a batch mode. The bat_file must have a “.cmd” extension and contain valid EZTag commands. Use the pound sign, "#" to precede comment lines in the batch file. Examples The following examples show two methods of using the Batch command from the EZTag prompt: batch bat_file.
The part_name must have been specified with the part command. Exit — Terminate Session Syntax exit Abbreviation The Exit command terminates the current EZTag session, asks you whether to save current program options in the xchecker.pro file, and returns you to the system shell. Functest Syntax functest part_name [-j file_name]...
EZTag with Workstations Log — Send Screen Display to File Syntax log –out file_name string Abbreviation The Log command sends the screen output to the file_name file. Use this command to capture the output of a Readback or a Show command.
EZTag with Workstations Abbreviation The partinfo command returns the manufacturer’s identification (id), the user signature (-signature) or the device checksum (-checksum) for a particular part_name. Any or all of the three switches may be specified in a single command. The part_name must have been specified in the part command.
The device cannot be erased or re- programmed. Quit — Terminate Session Syntax quit Abbreviation The Quit command terminates the current EZTag session and asks you whether to save current program options in the xchecker.pro file. Reset — Reset Target LCA/Cable Syntax reset [–cable] Abbreviation The Reset command resets the boundary-scan TAP state machines or the XChecker cable.
Sys —Temporarily Exit to Operating System Syntax Abbreviation none The Sys command allows you to temporarily exit from EZTag to the operating system prompt. Enter exit to return to EZTag. Verify — Verify Target EPLD Bitstream Syntax verify part_name [-j file_name] Abbreviation This command reads back the configuration registers of the specified...
V Communication This section describes several issues that involve the integrity of the bitstream that EZTag transmits to the target EPLDs, and the correct connection of the boundary-scan chain. Improper Connections This section involves assigning configuration pins to invalid signals or voltage levels.
+5 V and gnd to ground. For workstations, you must have read and write permissions to the port to which you connect the XChecker cable. EZTag might issue a message stating that the cable is not connected to port ttyx. When you...
Page 52
EZTag with Workstations 3. Turn on power to the target system. Warning: As with any CMOS device, the input/output pins of the internal FPGA should always be at a lower or equal potential than the rail voltage to avoid internal damage.
Appendix A Error Messages Introduction This section describes the error messages that EZTag may generate. Following each error message, there is a suggested workaround. Error Messages Error 001: Command file bat file.cmd is not found. Make sure that the command file you specified is in the current directory or the environment search path.
Page 54
PC (the XACT directory in the PC is equivalent to the “Installation Directory” on the workstations). Also make sure that eztag.hlp is in the directory XACT\MSG. If you cannot find eztag.hlp in the XACT\MSG directory, you must reinstall the XChecker software.
Page 55
Refer to the XChecker Hardware section in Chapter 3 for help. Error 104: Invalid baud specified. Refer to the XChecker Hardware section in Chapter 3 for help. Error 105: Cable is not reset. Cycle power to the cable. Use the Reset command with the –c option. EZTag User Guide...
Page 56
The cable draws power from an external source, not from the host computer. Error 110: Communication time-out. EZTag has not received an expected signal; for example, a system trigger to initiate readback or data coming from readback. Make sure that the selected options for trigger and readback are what you intended.
Page 57
Error 131: Missing baud rate. Current baud rate is baud rate. See the Interactive Mode Commands section in Chapter 3 for correct command usage. Error 134: Cannot communicate with port port name. Check this manual for supported ports. See the Port command. EZTag User Guide...
Page 58
The specified device instance could not be verified. Check if data security is enabled as this disables the readback functionality. If this is not the case, check for the integrity of the cable connections. If error persists you may have a bad part and Xilinx customer service Xilinx Development System...
Page 59
If this is not the case, check for the integrity of the cable connections. If error persists you may have a bad part and Xilinx customer service should be contacted. error 1011: Verification failed at address value of instance string.
Page 60
If this is not the case, check for the integrity of the cable connections. If error persists you may have a bad part and Xilinx customer service should be contacted. Xilinx Development System...
Page 61
If this is not the case, check for the integrity of the cable connections. If error persists you may have a bad part and Xilinx customer service should be contacted. Error 1030: Unable to program data protect bit at address string on device string.
Page 62
This is the warning message issued when data security is enabled. It is displayed with each operation addressing this device. Error 1039: The device string is not a Xilinx part (IDCODE: string ) Error 1040: The device string is not a XC9500 part (IDCODE: string ) Please verify the specification of the order of the parts in the boundary-scan chain.
Page 63
If this is not the case, check for the integrity of the cable connections. If error persists you may have a bad part and Xilinx customer service should be contacted. Error 1047: Xchecker re-configuration file for boundary-scan TAP driver was not completed. Check XACT path setting, cable connections and version of file named ‘xckjtag.sys’.
Page 64
IEEE 1149.1 bypass instruction register INTEST ISPEN checksum JEDEC data protection data registers data security manufacturer’s ID data transfer modifications erase programming EXTEST readback FastFLASH feedback FERASE SAMPLE/PRELOAD flying lead connectors 2-10 security FPGM signature functional test FVFY EZTag User Guide...
Page 65
4-12 connecting to target system verifying configuration connecting control signals to VCC and ground 4-14 downloading files used hardware improper connections 4-14 invoking options command line displaying help executing batch file specifying part type specifying port names Xilinx Development System...
Need help?
Do you have a question about the EZTag and is the answer not in the manual?
Questions and answers