摘要
在LED显示控制系统更新FPGA程序和显示参数过程中,可能会遇到掉电或误擦除等突发情况,导致程序出错后无法正常工作。为了提高系统的可靠性,本文对FPGA程序备份、系统功能自我恢复进行了研究。首先介绍了Xilinx Spartan-6 FPGA多重配置原理,然后针对FPGA程序和显示参数设置功能的需求,通过硬件设计研究了采用Flash多区域程序、显示参数备份存储方法。接着,通过FPGA多重配置模块的详细程序设计,实现了程序备份自动调用、自动判断和热重启的功能。最后,介绍了FPGA主备程序固化文件生成方式。通过模拟FPGA程序更新错误实验,验证了系统调用ICAP设置寄存器并触发IPROG命令和FPGA热启动并调用备份程序重新配置,实现了FPGA多重配置在LED显示控制系统上的实际应用,满足了系统更新和显示参数设置过程的稳定性、可靠性要求。
During the process of updating the FPGA program and display parameters of the LED display control system,unexpected situations such as power failure or incorrect erasure may be encountered,which can result in the system to fail to work.In order to improve the reliability of the system,the FPGA program backup and system self-recovery are studied in this paper.Firstly,the MultiBoot configuration principle of Xilinx Spartan-6 FPGA is introduced.Then,according to the requirements of FPGA program and display parameter setting,the flash memory multi-region program and display parameter backup storage method are studied through the hardware design.Through the detailed programming of the FPGA MultiBoot configuration module,automatic call backup,automatic judgment,and hot restart of the program are realized.Finally,the generation method of the FPGA main and backup program firmware files is introduced.By simulating the FPGA program update error,it is verified that the system could call the ICAP setting register to trigger the IPROG command,and make sure the FPGA hot start to call the backup program to reconfigure.As a result,the stability and reliability of the LED control system updating and display parameter setting process are met by the practical application of FPGA MultiBoot configuration.
作者
曹慧
程宏斌
汪洋
郑喜凤
CAO Hui;CHENG Hong-bin;WANG Yang;ZHENG Xi-feng(Changchun Cedar Electronics Technology Co.,Ltd.,Changchun 130103,China;Changchun Institute of Optics,Fine Mechanics and Physics,Chinese Academy of Sciences,Changchun 130033,China)
出处
《液晶与显示》
CAS
CSCD
北大核心
2020年第5期456-463,共8页
Chinese Journal of Liquid Crystals and Displays
基金
十三五国家重点研发计划(No.2017YFB0404800)
吉林省重点科技研发项目(No.20180201116GX)。