介绍了在Xilinx K7上运用MicroBlaze软核程序,详细介绍了在Vivado软件配置BPI FLASH启动方式以及在SDK搭建Bootloader程序逻辑设计流程和软件设计,并包含Bootloader程序备份。该程序是在FPGA硬件配置完毕之后,在MicroBlaze上运行的一段启动代码,用来将BPI FLASH中的用户程序搬运至DDR,并引导嵌入式系统从用户程序开始运行,可在第一份启动代码校验出现故障时自动运行备份Bootloader程序。该设计方案解决了在复杂的MicroBlaze程序中占用FPGA内部BRAM资源和启动安全问题,已在现有不同项目中应用,具有较好的通用性和适应性。
Abstract
In the paper,the application of MicroBlaze soft core program on Xilinx K7 is introduced,and the configuration of BPI FLASH startup mode in Vivado software and the logic design process and software design of bootloader program in SDK are introduced,including the backup of Bootloader program.This program is a startup code running on MicroBlaze after FPGA hardware configuration is completed.It is used to transport the user program in BPI FLASH to DDR and guide the embedded system to run from the user program.When the first startup code verification fails,it can automatically run the backup Bootloader program.The design scheme solves the problems of occupying FPGA internal BRAM resources and startup security in complex MicroBlaze program.It has been applied in different existing projects and has universality and adaptability.
关键词
MicroBlaze /
Bootloader /
BPI FLASH /
启动备份
Key words
MicroBlaze /
Bootloader /
BPI FLASH /
start backup
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1] Saadi S,Touiza M,Kharfi F,et al.Dyadic wavelet for image coding implementation on a Xilinx MicroBlaze processor: application to neutron radiography[J].Applied Radiation & Isotopes,2013(82):200210.
[2] Skliarova Iouliia.Accelerating Population Count with a Hardware CoProcessor for MicroBlaze[J].Journal of Low Power Electronics and Applications,2021,11(2):20.
[3] Bronisław Wajszczyk.Analysis of using a MicroBlaze processor for hardware implementation of algorithms for data processing in electronic recognition devices and systems based on the example of a XILINX FPGA system[C]//Conference on Reconnaissance and Electronic Warfare Systems,2019.
[4] 范晋文,周云松,黄维雄.基于FPGA的安全启动与配置文件安全存储方案[J].电子与封装,2020,20(8):2831.
[5] 戴岳,苗长云,荣锋.基于MicroBlaze软核处理器的Bootloader设计[J].工矿自动化,2009,35(11):946948.
[6] 杜尚涛,贺鹏超,余国强,曲翕.基于FPGA的动态可重构技术研究[J].电子技术与软件工程,2020(24):6466.
[7] 赵参,王小龙,郝国锋.基于MicroBlaze的多FPGA及DSP远程更新系统设计[J].电子设计工程,2021,29(7):176179,184.
[8] 李斌.基于MicroBlaze处理器的BPI Flash操作[J].电子技术与软件工程,2014(11):115.
[9] 魏祎,罗小成,华伊,等.Virtex7系列FPGA宇航应用存储电路与配置加载设计[J].信息通信,2018(9):102104,106.
[10] 何小飞,章慧彬,徐玉婷,等.基于FPGA芯片的抗单粒子翻转的动态刷新技术研究[J].电子与封装,2019,19(12):5154.