Due to a problem in the Quartus® Prime software version 16.0 and earlier, quartus_hps may fail to re-program quad serial peripheral interface (SPI) devices on Cyclone® V SoC, Arria® V SoC or Arria 10 systems.
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
Workaround
A patch is available to fix this problem for the Quartus Prime software version 16.0. Download and install Patch 0.01 from the appropriate link and run quartus_hps as detailed below:
Download the Quartus Prime software version 16.0 Patch 0.01 for Windows (.exe)
Download the Quartus Prime software version 16.0 Patch 0.01 for Linux (.run)
Download the Readme for the Quartus Prime software version 16.0 Patch 0.01 for (.txt)
Note: This patch cannot be applied to SoC Embedded Design Suite (EDS) or the Quartus Stand alone Programmer
- Run quartus_hps to program the device adding the --boot=18 option to the command line. The --boot=18 option causes a cold reset to be applied to the SoC prior to quad SPI programming. For example: quartus_hps -c 1 -o PV --boot=18 -a 0x0 <filename>.img
This patch is scheduled to be included in a future release of the Quartus Prime software