Cyclone 10 GX Development Kit JTAG chain error
Hello,
I am working on a Cyclone 10 GX Development Kit testing AS Configuration. I use Quartus Programmer tool to program .jic file to QSPI Configuration Device through USB Blaster II cable.
It was working for a few days. Both Max10 and Cyclone10GX could be detected by Programmer tool Auto Detect operation.
Then it suddenly stopped working - only Max10 can be detected by Programmer tool Auto Detect operation. Sometimes there is an error message "Error(209053): Unexpected error in JTAG server -- error code 2 " in Quartus message window. Sometimes no error message displayed.
My working environment is Window 10 and Quartus 21.4
I tried with another USB Blaster II cable, and also tried on another PC. It didn't help. Same error.
Then I tried to debug the JTAG chain by Tcl JTAG functions as below. Most of the time, it only detected 1 device on the JTAG chain (i.e., 10M08SA). Occasionally (less than 1% chance among all my tests), it could detected 2 devices on JTAG chain. While it detected 2 devices, Cyclone10GX device has the correct IDCODE, but Max10 does not seem to be correct. Only once (among hundreds of times) I could get both Max10 and Cyclone10GX detected correctly.
I tried to set different JTAG clock frequency then get_device_names, here is the results I got:
- 24MHz: >80% successfully only detected Max10 device with correct IDCODE, <20% failed to detect any device
- 16MHz: >80% successfully only detected Max10 device with correct IDCODE, <20% failed to detect any device
- In 1 & 2, a few times (<2%) detected 2 devices, Cyclone10GX has correct IDCODE but Max10 has incorrect IDCODE. Only one time both Cyclone10GX and Max10 are detected with correct IDCODEs.
- 6MHz: ~60% successfully only detected Max10 device with correct IDCODE, never detected 2 devices
- 1MHz: ~50% successfully only detected Max10 device with correct IDCODE, never detected 2 devices
- 100KHz: <40% successfully only detected Max10 device with correct IDCODE, never detected 2 devices
- 10KHz: 100% failed to detect any device
What could be the cause of the JTAG chain error? signal integrity or on board jtag circuit broken or FPGA devices broken?
Thanks!
Yong