Article ID: 000086290 Content Type: Troubleshooting Last Reviewed: 02/14/2023

Why does quartus_hps fail to reprogram my QSPI device?

Environment

    Intel® Quartus® Prime Pro Edition
BUILT IN - ARTICLE INTRO SECOND COMPONENT

Critical Issue

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.

Related Products

This article applies to 5 products

Cyclone® V SX SoC FPGA
Intel® Arria® 10 GX FPGA
Arria® V SX SoC FPGA
Intel® Cyclone®
Intel® Arria® 10 SX SoC FPGA

1