Forum Discussion

rMa1's avatar
rMa1
Icon for New Contributor rankNew Contributor
8 years ago

FPGA AS SPI FLASH 远程升级方案确认

目前的系统里面有两块主板,装在系统的不同位置。FPGA板和MCU板,FPGA与MCU之间通过RS422全双工通讯。FPGA使用cyclone IV E,与之连接着EPCS64。处理系统中原有的功能,现在想增加在线升级功能,但硬件不做变更,想利用MCU通过RS422将升级文件传输给FPGA,然后FPGA自己完成AS配置。

现在有下面的问题:

  1. 本方案是否可行,是不是必须使用Nios II做数据收集和写flash的操作,还是使用logic也可以完成?
  2. 说明文档中提到为了不影响系统升级,需要在flash里面做一个出厂设置,和一个正常应用程序,如何操作?
  3. 配置到flash里面的文件格式是.rbf吗?
  4. 这个方法有没有设计实例可以参考?

1 Reply

  • Abe's avatar
    Abe
    Icon for Frequent Contributor rankFrequent Contributor

    I believe you can use the NIOS - II processor on the FPGA and setup a SOPC kind of system where in you can use NIOS to transfer data from memory (SRAM/SDRAM) to UART. This can be implemented on both systems, plus you can also design and connect custom user logic into the NIOS design.