An FPGA Program Burning Method Based on ARM Platform Linux System
(1.EVOC Smart IoT Technology Co., Ltd., Shenzhen 518107, China; 2.Guangdong Provincial Key Laboratory of Industrial Control System Information Security Technology, Shenzhen 518107, China)
Abstract
Aiming at the problem that the FPGA program needs to use the program burner, and the burning speed is slow when the machine chassis is open, a method of burning the FPGA program under the Linux system of the ARM platform is proposed. This method is based on PCIe device driver and SPI controller driver. The FPGA is used as a PCIe device, registered into the kernel, and accesses the PCIe configuration space, so as to operate the registers of SPI Flash plugged on the FPGA, and realize the read and write operation of the program execution file in the specified area of SPI Flash in the Linux system. The experimental results show that the proposed FPGA program burning method does not require additional burners and machine chassis opening lids. It is simple and fast to operate, fast to burn, and reduces the cost of after-sales program burning.
Keywords
FPGA program burning; ARM; Linux operating system; PCIe interface; SPI Flash
References
- [1] Duan Ruifeng, Chen Yan, Hong Kai, etc Research on High speed Transmission System of Agricultural Monitoring Video Based on PCIe Networking Port [J]. Journal of Agricultural Machinery, 2024, 55 (3): 203-212
- [2] Zhang Biao, Song Hongjun, Liu Lin, etc Design of High speed Data Transmission System Based on PCIE Interface [J]. Electronic Measurement Technology, 2015, 38 (10): 113-117
- [3] Wang Feng, Lv Tianzhi, Yang Mingyang A method for online updating FPGA programs in SPIFlash based on PCIe bus [J]. Electronic Manufacturing, 2021 (9): 56-59+65
- [4] Wang Tao, Qian Yunying, Zhang Jue, etc FPGA software online upgrade method based on DSP28335 [J]. Electronic Design Engineering, 2024, 32 (3): 17-21
- [5] Deng Yixing, Fu Jiaye, Hu Zhongze FPGA online upgrade design for MCU simulation JTAG [J]. Integrated Circuits and Embedded Systems, 2024, 24 (6): 71-76
- [6] Wu Hailong A method for online serial port upgrade based on Xilinx FPGA [J]. Microcontrollers and Embedded System Applications, 2023, 23 (8): 50-52+56
- [7] Liu Lixia, Sun Kun, Zhang Li, etc Implementation of timing board driver based on PCIe bus in Zhongbiaoqilin [J]. Computer Applications, 2023, 43 (S2): 130-134
- [8] Zhen Guoyong, Su Huisi, Chen Jianjun, etc Design and Implementation of PCIe Interface Data Transmission Based on FPGA [J]. Foreign Electronic Measurement Technology, 2021, 40 (12): 72-76
- [9] Jiang Yusheng, Liang Ni, He Guoqi Analysis and Application of SPI Interface Driver Based on MDM9607 Platform [J]. Modern Information Technology, 2023, 7 (2): 149-152
- [10] Jin Yan Analysis and Design of File Integrity Detection System Based on MD5 Algorithm [J]. Network Security Technology and Application, 2019 (11): 36-38
- [11] Zeng Xiangyi, Liu Wei, Xiao Hao A Security Update Scheme for Embedded Device Firmware [J]. Electronic Technology, 2023, 36 (8): 14-18+64
About the authors
Lin Zhiwu (1996-), male, Han ethnicity, from Zhanjiang, Guangdong, holds a master's degree and specializes in embedded systems and control; Dang Chengbin (1983-), male, Han nationality, from Xining, Qinghai, engineer, undergraduate, research direction: industrial control computer systems.