admin 发表于 2021-9-6 20:52:29

sof2flash: Unrecognized device family in SOF

Type: AnswersType: How-ToArea: Embedded

Last Modified: April 19, 2018
Version Found: v17.1
Bug ID: FB: 553632;

Why does the sof2flash utility fail to work with EPCQ device in Intel® Arria® 10, Intel® Cyclone® 10 and Intel® Stratix® 10 designs?
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 device 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







Workaround/FixTo work around this problem, follow the steps below:
[*]Generate RPD via 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.flashThis problem is scheduled to be fixed in a future version of the Intel® Quartus® Prime Design Software.

https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/embedded/2018/why-does-the-sof2flash-utility-fail-to-work-with-intel--arria--1.html?wapkw=sof2flash%3A%20%22Unrecognized%22%20device%20family%20in%20SOF





admin 发表于 2021-9-7 12:07:28

cyclone10使用EPCQ进行boot,可以参考现在都是按照Embedded Design Handbook中5.2.3. Nios II Processor Booting from EPCQ Flash说的合并为jic的方法做。



附件为在某10CL016YU484C8G开发板上实现的从EPCQ64启动的案例,目前已经测试使用华邦的W25Q64可以启动,也可以在NIOS II中直接读写。

admin 发表于 2021-9-7 13:58:14






页: [1]
查看完整版本: sof2flash: Unrecognized device family in SOF