摘要
一般对FPGA程序升级,需要使用下载器通过JTAG接口与FPGA连接,在一些不方便开盖的环境下,此种升级方案非常困难。基于XILINX公司的XC6SLX9芯片,利用FPGA的MultiBoot将多个配置文件下载入Flash中的特性,介绍一种基于Flash、FPGA和RS232串行通信的在线升级方案。FPGA通过SPI总线配置Flash,ICAP接口使FPGA跳转到Flash的对应地址读取烧写到Flash中的.bin文件。方案可在不增加额外器件且不开盖的情况下仅通过一个RS232通信接口,上位机软件就能完成对用户设计的功能程序或产品程序的升级,对程序存储芯片Flash的操作均由FPGA内部逻辑实现。结果表明,该方法有效且具有很好的移植性和可扩展性。
In general,to upgrade FPGA program,we need to use the downloader to connect with FPGA through JTAG interface,which is very difficult when it is inconvenient to uncover the device.Based on XC6 SLX9 chip of Xilinx company,this paper introduces an online upgrade scheme based on flash,FPGA and RS232 serial communication,which uses FPGA’s MultiBoot to download multiple configuration files into flash.FPGA configures flash through SPI bus,and ICAP interface makes FPGA jump to the corresponding address of flash to read.bin file written into flash.This scheme can upgrade the function program or product program designed by the userby the Upper computer software through only one RS232 communication interface without adding additional devices and opening the cover.Through only one RS232 communication interface the upper computer software can upgrade the function program or product program designed by the user at which in this scheme without the additional devices and without opening the cover.Inthis scheme,the operation of program memory chip Flash is implemented by FPGA internal logic.The result shows that this method is effective and has good portability and expansibility.
作者
万垚
李蠡
WAN Yao;LI Li(College of Communication Engineering,Chengdu University of Information Technology,Chengdu 610225,China)
出处
《成都信息工程大学学报》
2020年第5期493-498,共6页
Journal of Chengdu University of Information Technology
基金
国家自然科学基金资助项目(61601065)