Knowledge Base Article

Why does quartus_hps fail to reprogram my QSPI device?

Description

The quartus_hps programmer may fail during programming of an HPS attached quad serial peripheral interface (SPI/QSPI) devices on Cyclone® V SoC, Arria® V SoC, or Intel® Arria® 10 FPGA systems if the QSPI contains an existing, or corrupted image.

The following error messages may be seen:

Error: Fail to match data at flash address <address> with file address <address>.

Error: Fail to read Silicon ID

Quad SPI Flash silicon ID is 0x00000000

Resolution

In the Intel Quartus® Prime Software version 16.1 and later, the --boot=18 option can be used with quartus_hps to resolve this problem.

The --boot=18 option causes a cold reset to be applied to the SoC before quad SPI programming, which resets all clocks to default values.  

  • For example:  quartus_hps -c 1 -o PV --boot=18 -a 0x0 <filename>.img

This option is scheduled to be documented in a future version of the SoC EDS Handbook.

Additionally:

This problem is fixed starting with the Intel® Quartus® Prime Software 17.0 version.

Updated 2 months ago
Version 3.0
No CommentsBe the first to comment