MyFPGA Forum

 找回密码
 注册
搜索
查看: 2147|回复: 0

【FAQ】如何将sof和 elf 都固化到epcs?(FPGA配置文件和nios code)

[复制链接]
发表于 2021-7-28 14:09:41 | 显示全部楼层 |阅读模式
本帖最后由 Doreen 于 2021-8-6 11:23 编辑

Q:   TSP 如何将sof和 elf 都固化到epcs?


A: 如果是只固化FPGA配置文件可以不添加控制器,如果是要固化nios code 是需要在Qsys里面添加EPCS 控制器的,具体可以参考这个案例:

http://mail.terasic.com.tw/~dongliu/c5p/c5p_sof_elf_program.zip

如果是移植到DE10-Standard,因为它是 SOC FPGA 的板子, jtag chain里面包含两个器件,所以脚本要这样改: 添加  @2

企业微信截图_16275459092540.png

企业微信截图_20210729163203.png

不然就会提示这样的错误:

Error(2090150:Can't  configure device. Expected JTAG ID code 0x02D020DD for device 1, but found JTAG ID code 0x4BA00477. Make sure the location of the target device on the circuit board matches the device's location in the device chain in the Chain Description failed

950F075E@12F0BE5C.17580261.png.jpg

DE5C780A@CCE69D33.17580261.jpg

另外,DE10-Standard 是配备的EPCS, 需要选择对应的controller IP。

其实目前DE10-Standard已经有现成的案例可以直接参考:

【FAQ】DE10-Standard 如何将sof和 elf 都固化到epcs?
http://www.myfpga.org/discuz/for ... &fromuid=105864

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

本版积分规则

小黑屋|手机版|Archiver|MyFPGA

GMT+8, 2024-3-28 22:00 , Processed in 0.048265 second(s), 19 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

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