A Simple Solution for Online Upgrade of User Programs Based on SPI Bus Protocol
DOI:
https://doi.org/10.54097/nc08w583Keywords:
SPI; UART; FPGA chip; Flash chip; MultiBoot dual mirror.Abstract
Traditional FPGA program upgrades typically require JTAG in conjunction with specialized EDA tools for downloading and updating programs. However, in practical applications, FPGAs are usually packaged in devices and cannot be disassembled, which brings many inconveniences to online program upgrades. To this end, this article introduces a simple solution for online upgrade of user programs based on SPI bus protocol. The upper layer user transfers the BIN file of the project to FPGA via UART protocol to start configuring SPI Flash, and completes the firmware upgrade method through MultiBoot dual mirroring technology. This method has low maintenance costs, stable updates, and can also remotely update system programs.
Downloads
References
[1] SunYonglai.Design and Implementation of Serial Communication Interface Based on FPGA Control [D]. University of Chinese Academy of Sciences (College of Engineering Management and Information Technology), 2014.
[2] Guan Shanshan, Zhou Jiemin.Design and Verification of SPI Flash Controller Based on Xilinx FPGA[J].Electronic device,2012,35(02):216-220.
[3] Wang Feng, LvTianzhi, Yang Mingyang.A method for online updating FPGA programs in SPI Flash based on PCIe bus[J].Electronic production,2021,(09):56-59+65.DOI:10.16589/j.cnki.cn11-3571/tn.2021.09.018.
[4] Chang Liang, Bi Jinchao, Jiang Jiaqi.The method of upgrading FPGA using UART [J]. Journal of Jilin University (Information Science Edition), 2020, 38(03): 286-290. DOI:10.19292/j.cnki.jdxxp.2020.03.008.
[5] Gupta, A. (2019). UART Communication. In: The IoT Hacker's Handbook. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4300-8_4
[6] HAN Liujun, YAO Yao, HAO Guofeng, ZHAO Can. Implementation of FPGA Multi-Configuration Method Based on CPLD[J]. Electronics & Packaging, 2022, 22(5): 050303 .
[7] P. S. Mutha and Y. M. Vaidya, "FPGA reconfiguration using UART and SPI flash," 2017 International Conference on Trends in Electronics and Informatics (ICEI), Tirunelveli, India, 2017, pp. 59-63, doi: 10.1109/ICOEI.2017.8300765.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 Academic Journal of Science and Technology
This work is licensed under a Creative Commons Attribution 4.0 International License.