I have a stratix 10 development kit (DK-DEV-1SGX-H-A) and I am trying to set up the board for OpenCL runtime. Quartus Pro 18.1 just added the new OpenCL support for this reference board with a s10_ref board support package. I am following the instructions given by the user guide under $INTELFPGAOCLSDKROOT/board/s10_ref/bringup/S10_DevKit_Initialization_18.1.pdf. However I got the following error message and it failed to program the flash or the FPGA. It seems that I am able to program the MaxV device with the command "quartus_pgm -c 3 -m JTAG -o "p;max5_116.pof@1" " (my FPGA JTAG is on usb cable channel #3). But right after that, it failed to program the flash with the commad "quartus_pgm -c 3 flash.cdf". The erasing of the flash seems successful, but the programming failed. Could someone please help? I've tried to set the JTAG frequency to both 6M and 3M with the following command. It does not make any difference.
jtagconfig --setparam 1 JtagClock 6M
jtagconfig --setparam 1 JtagClock 3M
My OS is RHEL 6.10. Programming an Arria 10 ref board works fine in the same OS.
The system messages showing the error are attached.
Just to add. I also tried to program the FPGA directly through command "
quartus_pgm -c 3 -m JTAG -o "p;top.sof@2" ", and got the following error. It seems that the JTAG ID has a mismatch. How to change the JTAG ID in the programmer to the right one?
Info (18942): Configuring device index 2
Error (18952): Error status: The device chain in Programmer does not match physical device chain. Expected JTAG ID code 0xC32150DD for device 2, but found JTAG ID code 0xC32250DD.
Error (209012): Operation failed
Can you try open the JTAG Chain Debugger tool. The JTAG Chain Debugger tool is available only when the Programmer window is open and you have a device connected through the JTAG chain.