Reputation: 168
I have an embedded project with a CPU that programs a Xilinx Spartan3 using an XSVF player via the JTAG pins. I am looking for a way to confirm via those JTAG pins that a valid configuration has been loaded into the FPGA.
The unprogrammed case arises when my system is rebooted in the middle of an update, and on the next boot the device is not programmed. I know JAMPlayers for Altera chips have a command to confirm that a valid image has been loaded, and I am looking for something similar using XSVF files/players.
Upvotes: 0
Views: 604
Reputation: 4866
The DONE flag is included in the readback value of the JTAG instruction register. This xilinx answer describes how to check the DONE flag.
The IR bit values are also described in the JTAG section of the Spartan-3 configuration user guide.
Upvotes: 1