Altera_Forum
Honored Contributor
11 years agoUSB Blaster II locks up after non-volatile key programming
Hi all,
I am programming non-volatile design security key to Cyclone V using USB Blaster II. I am using Quartus 14.1 on Windows 7 64bit and USB Blaster II driver that comes with 14.1. I know two different methods of programming the key from command line. These are: quartus_jli.exe -c1 keyfile.jam -aKEY_PROGRAM and quartus_pgm -c1 -k -m JTAG -oP';keyfile.ekp' But after programming the key, the USB Blaster II goes into a state that it no longer can program a .sof for example. It seems that it gets really slow. If following command is used: quartus_pgm -c1 -m JTAG -oP';fpga.sof' It starts programmer operation, green led on USB Blaster II is flashing. After about 30 seconds, errors 'Can't access JTAG chain' and 'CONF_DONE pin failed to go high in device 1' are given. The USB Blaster can be remedied from this state by unplugging and replugging. It can also be remedied by disabling and enabling it from device manager. Does anyone know of a command that could be used to reset the USB Blaster II, which preferably could be run without administrator privileges? The only solution I have found so far is to use devcon.exe (it is basically a command line version of windows device manager): devcon.exe disable "USB\VID_09FB&PID_6010&MI_00*" devcon.exe enable "USB\VID_09FB&PID_6010&MI_00*" but it requires administrator privileges, which is not nice when running a Labview / Teststand script. Note; Quartus 14.1 is actually the first version which supports programming of the non-volatile key with USB Blaster II. If using Quartus 14.0 it gives message "Programming status: Current hardware doesn't support security key programming" or "Error: This hardware does not support frequency control", depending on used tool. Also, if driver from earlier Quartus than 14.1 has been installed on USB Blaster II, it can be really painful to get it working on that computer with the new driver.