FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6125 Discussions

Fail to program Stratix 10 Dev Kit for OpenCL SDK 18.1

FRen0
Beginner
1,282 Views

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 

or

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

 

0 Kudos
5 Replies
KhaiChein_Y_Intel
598 Views

Hi FRen0,

 

Can you try auto detect?

 

Thanks.

0 Kudos
KhaiChein_Y_Intel
598 Views

Hi FRen0,

 

What is the error message when you use auto detect? Are they the same?

 

Thanks.

0 Kudos
FRen0
Beginner
598 Views

The tool crashes with no error message.

0 Kudos
KhaiChein_Y_Intel
598 Views

Hi,

 

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.

 

 

https://www.intel.com/content/www/us/en/programmable/quartushelp/current/index.htm#mapIdTopics/mwh1465494329202.htm

Thanks.

KhaiChein_Y_Intel
598 Views
Hi FRen0, Any updates? Thanks
0 Kudos
Reply