Altera_Forum
Honored Contributor
10 years agoname a device in JTAG chain by TCL script
Hello,
I have a JTAG chain with 2 devices: Cyclone IV + LPC up from NXP. I would like to program Cyclone IV by TCL script. My former script for only Cyclone IV in JTAG chain was: puts "\n\n----------------SFL file programmation started" exec quartus_pgm -c USB-Blaster -m JTAG -o {p;sfl_enhanced_ep4ce6.sof} puts "----------------SFL Programmation done" puts "----------------Start of EPC4 programmation" exec quartus_pgm -c USB-Blaster -m JTAG -o {p;top5.1.jic} puts "----------------EPC4 programmation done" puts "-------------------------------------------------------------------" puts "\n\n----------------DOWNLOAD SUCCESSFULL" puts "----------------Please restart the generator\n\n" puts "-------------------------------------------------------------------\n\n" when I use script I have an error: http://www.alteraforum.com/forum/attachment.php?attachmentid=11667&stc=1 SFL file is properly programmed by not .jic file. Indeed, LPC is not recognize: http://www.alteraforum.com/forum/attachment.php?attachmentid=11668&stc=1 Second device has only IDCODE 0x4F1F0F0F but no name. My question is how can I name this device by TCL instruction ?. Thanks for your help Pierre.