Forum Discussion

GordWait's avatar
GordWait
Icon for New Contributor rankNew Contributor
1 year ago

New edition CVGT Board just arrived from Terasic. My already working programming script fails

We have some of "last year's" Cyclone V GT FPGA Development Kit boards in house.

A shiny new one came in today after a long wait. It is supposed to be "exactly the same".

Quartus programmer reports this error:

Error (18591): Can't recognize the Flash device that attached to device 2. The Flash device is not supported by Quartus Prime software.

I also get the same error from our programming script that has been working for a few years.

I have tried my older installed Quartus, and today just installed the latest 23.1 std edition. All report the same error.

What is weird is this: Our script does the following:

1. Program the bootloader CPLD with a version that allows parallel flash writes (it works)

2. Manually power cycle the board

3. Program the Flash using a downloaded NIOS image that can write the flash memory

3. Program back in a bootloader CPLD with the flash memory write protected.

The failure on the new board is in step 2, it fails instantly with the device 2 problem.
The device ID for device 2 seems to be the same in both the old and new boards.

What device ID is it looking for ??

Any tips would be great. It seems this error is usually caused by different Flash memory sizes.

Some details:

$ jtagconfig

1) USB-BlasterII [USB-1]
02B040DD 5CGTFD9(A5|C5|D5|E5)/..
020A40DD 5M2210Z/EPM2210

Info (209017): Device 2 contains JTAG ID code 0x020A40DD
Info (209018): Device 2 silicon ID is ALTERA10-6

20 Replies