I am testing ASx4 configuration on Cyclone10 GX Dev kit. I use Quartus Programmer tool to download .jic file to flash. In Quartus: Tool -> Programmer GUI, when I click auto detect, it cannot detect the device correctly (see attached screenshot auto_detect_fail.png). Only Max10 is detected. Sometimes Quartus main message window gives one error message as below, sometimes no error message at all.
Error(209053): Unexpected error in JTAG server -- error code 4
Error(209053): Unexpected error in JTAG server -- error code 2
Error(209053): Unexpected error in JTAG server -- error code 7
When I execute the BoardTestSystem application (coming with Cyclone10 GX Dev Kit), it pops up an error message "FPGA is not detected in the Jtag Chain".
It was working well before. Both Max10 and Cyclone10 GX FPGA device could be auto detected successfully (see attached screenshot auto_detect_sucess.png). Recently it suddenly stops working. I was testing with Quartus 20.4. After having the problem, I also tested with Quartus 21.1. The results are the same.
What could be wrong? How can I fix it?
Thanks John for looking into this!
I believe both is connected to the same JTAG port. I am working on the Cyclone10 GX development kit purchased from Intel website. I only replaced QSPI configuration flash on the board, nothing else changed. Attached is the schematic for the Cyclone10 GX development kit I downloaded from Intel website.
Actually it was working well before I executed an erase operation from Quartus Programmer. I am not sure if I accidentally erased the factory default build in MAX10 (or the CFI flashes connected to MAX10).
If the switch is set correctly then you should always observed the Cyclone 10 in the JTAG chain. May I know if you have another PC to test it out?
Are you able to auto-detect anything on your JTAG? Or you are always seeing JTAG server error?
Yes, I tested with another PC. I also re-installed Quartus and USB-Blaster II device driver. The result is the same.
The auto detect can find MAX10 (10M08SA), as shown in the screenshot "auto_detect_fail.png" I attached earlier. The expect result should be as the screenshot "auto_detect_success.png" - MAX10 with 2*CFI_1Gb flash associated, and also Cyclone10 GX (10CX220Y).
I tested the JTAG chain with Quartus JTAG chain debugger. It says "JTAG chain connection is good. Detected 1 device(s)". Please see the attached screenshot "JTAG_chain_debugger.png".
The JTAG server errors I posted earlier do not always come out. No matter if there is JTAG server error, the auto detect result is the same, i.e., only 1 device (MAX10) is detected. While in the success case, 2 devices are expected.
Since it was working well and stopped working suddenly after I tested with an erase operation in Quartus Programmer tool. I suspect I accidently erased something, e.g., the contents in MAX10?
There is a simple instruction (included in Cyclone10 GX Dev Kit collaterals) on how to recover the board to factory default. I also attach the file here. However it is too simple. Can you please guide me how to do it. Especially the 2nd step - "program MAX10 via Quartus Programmer" and which file I need to program into MAX10?