芯路恒电子技术论坛

 找回密码
 立即注册
热搜: 合集
查看: 5631|回复: 2

sof2flash: Unrecognized device family in SOF

[复制链接]
  • TA的每日心情
    慵懒
    2021-2-24 10:16
  • 423

    主题

    782

    帖子

    1万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    15854
    QQ
    发表于 2021-9-6 20:52:29 | 显示全部楼层 |阅读模式
    Type: Answers
    Type: How-To
    Area: 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/Fix
    To 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.flash
    This 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






    回复

    使用道具 举报

  • TA的每日心情
    慵懒
    2021-2-24 10:16
  • 423

    主题

    782

    帖子

    1万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    15854
    QQ
     楼主| 发表于 2021-9-7 12:07:28 | 显示全部楼层
    cyclone10使用EPCQ进行boot,可以参考现在都是按照Embedded Design Handbook中5.2.3. Nios II Processor Booting from EPCQ Flash说的合并为jic的方法做。
    edh_ed_handbook.rar (8.3 MB, 下载次数: 220)


    附件为在某10CL016YU484C8G开发板上实现的从EPCQ64启动的案例,目前已经测试使用华邦的W25Q64可以启动,也可以在NIOS II中直接读写。
    AC620_10LP.rar (3.87 MB, 下载次数: 202)
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    慵懒
    2021-2-24 10:16
  • 423

    主题

    782

    帖子

    1万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    15854
    QQ
     楼主| 发表于 2021-9-7 13:58:14 | 显示全部楼层
    n2sw_nii5v2gen2.pdf (3.48 MB, 下载次数: 222)

    ug_embedded_ip.pdf (5.8 MB, 下载次数: 209)


    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    QQ|小黑屋|Archiver|芯路恒电子技术论坛 |鄂ICP备2021003648号

    GMT+8, 2024-4-24 20:14 , Processed in 0.117301 second(s), 35 queries .

    Powered by Discuz! X3.4

    © 2001-2017 Comsenz Inc. Template By 【未来科技】【 www.wekei.cn 】

    快速回复 返回顶部 返回列表