Forum Discussion
Altera_Forum
Honored Contributor
18 years agoJTAG Access for ID Read
Hello All ,
I have designed a JTAG controller using FPGA I could verify my write sequence by monitoring TMS and TDO on the scope , All the signal looks fine on the scope And I hope to verify my read sequence by reading the ID from the FPGA Is there anyone who has documents about the sequence and protocol of read ID process in Quartus II programmer ? Thanks very much5 Replies
- Altera_Forum
Honored Contributor
Hello Frank ,
I have got it done already , thanks very much for your help anyway Regards , Samson - Altera_Forum
Honored Contributor
Hello Cheuk,
another way to issue JTAG commands through Altera programming adapters is to use the quartus_stp Tcl interface. The quartus ii scripting reference manual http://www.altera.com/literature/manual/tclscriptrefmnl.pdf tells how to. There's also an example Tcl script to read the IDCODE. Altera uses IR code of 6 for most (all?) devices to read IDCODE. Regards and Happy New Year! Frank - Altera_Forum
Honored Contributor
Or you can use the Jam file available from the Altera website to read out the IDCODE of the device.
http://www.altera.com/literature/an/idcode.zip - Altera_Forum
Honored Contributor
Hello CW ,
Thanks very much for your answer I will try to search for it Thanks Cheuk - Altera_Forum
Honored Contributor
In order to read the JTAG ID code of the device, you need to know the JTAG instruction for that purpose. You can refer to the FPGA handbook for the instruction code.
You need to shift in the instruction code to the device through JTAG in order to read the JTAG ID code of the device. Hope this helps.