MyFPGA Forum

标题: 【FAQ】如何将sof和 elf 都固化到epcs?(FPGA配置文件和nios code) [打印本页]

作者: Doreen    时间: 2021-7-28 14:09
标题: 【FAQ】如何将sof和 elf 都固化到epcs?(FPGA配置文件和nios code)
本帖最后由 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





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

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





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

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

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






欢迎光临 MyFPGA Forum (http://www.myfpga.org/discuz/) Powered by Discuz! X3