Article ID: 000077309 Content Type: Troubleshooting Last Reviewed: 08/16/2023

Why does the sof2flash utility fail to work with EPCQ devices in Intel® Arria® 10, Intel® Cyclone® 10, and Intel® Stratix® 10 designs?

Environment

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

Due to a problem in the Intel® Quartus® Prime Design Software version 17.1 and earlier, the sof2flash utility may fail to work with EPCQ devices in Intel® Arria® 10, Intel® Cyclone® 10, and Intel® Stratix® 10 designs.

The following error message may be seen:

sof2flash: Unrecognized device family in SOF

 

Resolution

To work around this problem, follow the steps below:

  • Generate RPD via the Convert Programming Files tool

quartus_cpf -c --device=<EPCQ flash density> -o auto_create_rpd=on -o rpd_little_endian=off <SOF filename> <POF filename>

Example: quartus_cpf -c --device=EPCQ64 -o auto_create_rpd=on -o rpd_little_endian=off c10lp_gsrd.sof c10lp_gsrd.pof

  • Convert RPD to .flash via nios2-elf-objcopy tool

 nios2-elf-objcopy -I binary -O srec --srec-forceS3 --srec-len 32 <RPD filename> <FLASH filename>

Example: nios2-elf-objcopy -I binary -O srec --srec-forceS3 --srec-len 32 c10lp_gsrd_auto.rpd c10lp_gsrd.flash

Related Products

This article applies to 3 products

Intel® Cyclone® 10 FPGAs
Intel® Stratix® 10 FPGAs and SoC FPGAs
Intel® Arria® 10 FPGAs and SoC FPGAs

1