Forum Discussion
Altera_Forum
Honored Contributor
16 years agoRead usercode & checksum of FPGA using TCL command
Hi expert, I am a beginner of using tcl script. I would like to use tcl to read back the usercode & checksum of FPGA device thru jtag so that i can see the usercode and checksum on Quartus II ...
Altera_Forum
Honored Contributor
15 years agoYou've probably already figured this out by now, but posting for the benefit of future searches.
There's a command line executable quartus_stp, which includes a jtag package with a bunch of tcl commands. It's documented in the following. http://www.altera.com/literature/manual/tclscriptrefmnl.pdf?gsa_pos=1&wt.oss_r=1&wt.oss=quartus tcl scripting reference manual you can use two commands to shift in IR values and DR values as needed. The IR value for most Altera devices is x007 (10 bits) An alternate way to shift it out is to use the JTAG debugger.