Program Using a JTAG Chain
About this task
You can program an FPGA that is part of a JTAG chain. The chain can include Trion®, Topaz, and Titanium FPGAs as well as other devices. You define your JTAG chain using a JTAG chain file. You import the JTAG chain file into the Programmer to perform programming. The JTAG chain file is an XML file (.xml) that includes all of the devices in the chain. For example:
Trion FPGA example:
<?xml version="1.0"?>
<chain>
<device chip_num="1" id_code="0x00210a79" ir_width="4" istr_code="1100" />
<device chip_num="2" id_code="0x00210a79" ir_width="4" istr_code="1100" />
<device chip_num="3" id_code="0x00210a79" ir_width="4" istr_code="1100" />
</chain>
Titanium Topaz FPGA example:
<?xml version="1.0"?>
<chain>
<device chip_num="1" id_code="0x10661A79" ir_width="5" istr_code="11000" />
<device chip_num="2" id_code="0x10661A79" ir_width="5" istr_code="11000" />
<device chip_num="3" id_code="0x10661A79" ir_width="5" istr_code="11000" />
</chain>
where:
chip_numis the device order starting from position 1.id_codeis the hexadecimal JEDEC device ID (all lowercase letters)ir_widthis the width of the instruction register in bitsistr_codeis the binary IDCODE instruction
Note: To
create a Test Data In (TDI) connection, use
chip_num=”1” as the
first device.Note: For Trion
FPGAs, use 1100 as the
istr_code.Note: For Titanium
Topaz
FPGAs, use 11000 as the
istr_code.To program using a JTAG chain:
Procedure
- Create a JTAG Chain File using a text editor.
- Open the Programmer.
- Choose your USB Target and Image.
- Select JTAG as the Programming Mode.
- Click the Import JCF toolbar button.
- Browse to your JTAG Chain File and click Open.
- Select which device you want to program in the drop-down list next to the JTAG Programming Mode option.
- Click Start Program.
Example
Note: If you implement both the daisy chain and JTAG chain together, ensure that the daisy chain is
fully completed before executing the JTAG chain. Because the daisy chain requires
CSIs to be connected to CSOs, the JTAG chain will only configure successfully when
the CSIs are high.