Electronic equipment capable of simultaneously upgrading on line and dynamically loading FPGA (Field Programmable Gate Array)

By adding the PCIE and high-speed interfaces of FPGA1 and FPGA2 to the FPGA device, and setting the loading mode switch, the singleness and blue screen problems of the traditional FPGA loading method are solved, online upgrades and dynamic loading are realized, and the program update process is simplified.

CN221827315UActive Publication Date: 2024-10-11CHENGDU BOYU LIHUA TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202420363430.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-02-27
Publication Date
2024-10-11
Estimated Expiration
2034-02-27

AI Technical Summary

Technical Problem

The traditional FPGA loading method is single, which makes it inconvenient to update the program after the device is installed in the chassis and may cause a system blue screen, and the chassis needs to be disassembled to find the JTAG port for loading.

Method used

Design an FPGA electronic device that meets both online upgrade and dynamic loading. By adding the PCIE interface and high-speed interface between FPGA1 and FPGA2, and setting the loading mode switching switch, FPGA1 is used to control the loading mode switching to avoid system blue screens and disassembly. box operation.

Benefits of technology

It is possible to update the FPGA program at any time without dismantling the chassis and avoiding system blue screens. Two loading methods are provided, making the operation more convenient and efficient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221827315U_ABST
    Figure CN221827315U_ABST
Patent Text Reader

Abstract

The utility model discloses electronic equipment capable of simultaneously realizing online upgrading and dynamic loading of an FPGA (Field Programmable Gate Array), which comprises a CPU (Central Processing Unit) and an FPGA (Field Programmable Gate Array) 2, and is characterized in that an FPGA (Field Programmable Gate Array) 1 is additionally arranged, the FPGA 1 is in communication connection with the CPU through a PCIE (Peripheral Component Interface Express) interface, the FPGA 1 is in communication connection with the FPGA 2 through a high-speed interface, a loading mode change-over switch is also arranged between the FPGA 1 and the FPGA 2, and the loading mode change-over switch is in communication connection with the FPGA 2 through a high-speed interface. And the loading mode change-over switch is used for switching the special configuration pin of the FPGA2 to be connected with the FPGA1 or the FLASH memory. According to the utility model, two FPGA program loading modes are provided, the FPGA A2 program is updated at any time, the PCIE cannot be hung up, and a blue screen cannot be caused; and a JTAG port for a case does not need to be disassembled, so that the operation is more convenient and time-saving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of signal processing equipment, in particular to an electronic device capable of simultaneously meeting the requirements of online upgrading and dynamic loading of FPGA. Background Art

[0002] FPGA (Field Programmable Gate Array) is a field programmable gate array, a programmable digital circuit. Its logic circuit can be changed and erased, and the erase and write conditions are not harsh, so it can be programmed on site; the flexibility and high speed of FPGA make it have great advantages in digital signal processing and its application is also very wide. The traditional FPGA loading method often uses the JTAG port to burn the firmware into the FLASH memory, and then the FPGA uses the BPI or SPI interface to actively load the data in the FLASH. The traditional single loading method has the following problems:

[0003] First, after the device is installed in the chassis, if debugging requires updating the FPGA loader, the traditional loading method can only be to disassemble the chassis to find the JTAG port, and then burn the program into FLASH, and then the FPGA will actively load the program through the BPI or SPI interface. Disassembling the chassis is too troublesome and can easily cause problems to the device;

[0004] Second, in the FPGA active loading mode, the FPGA is directly connected to the CPU through the PCIE interface. In this case, during the FPGA program update, the PCIE interface will be disconnected, causing the system to blue screen. Utility Model Content

[0005] The purpose of the utility model is to provide an electronic device that can simultaneously meet the requirements of online upgrading and dynamic loading of FPGA, so as to solve the problem in the prior art that the FPGA loading method is single and the program process of updating FPGA causes a blue screen in the FPGA active loading mode; and solve the problem that it is inconvenient to update the FPGA program after the device is installed in the chassis.

[0006] The utility model solves the above problems through the following technical solutions:

[0007] An electronic device that satisfies both online upgrade and dynamic loading of FPGA, comprises a CPU and FPGA2, and is characterized in that an FPGA1 is added, the FPGA1 is communicatively connected to the CPU via a PCIE interface, the FPGA1 is communicatively connected to the FPGA2 via a high-speed interface, a loading mode switching switch is further provided between the FPGA1 and the FPGA2, the loading mode switching switch is used to switch between a selectmap path or a FLASH path under the control of the FPGA1, a dedicated configuration pin of the FPGA2 under the selectmap path is connected to the FPGA1, and a dedicated configuration pin of the FPGA2 under the FLASH path is connected to a FLASH memory.

[0008] Working principle:

[0009] The digital signal processing in the original device only needs FPGA2, FPGA1 and CPU to transmit data through the PCIE port. In the utility model, FPGA1 is added, and the communication interface between FPGA1 and FPGA2 has GPIO and high-speed interface.

[0010] Data flow in selectmap mode: FPGA1 is interconnected with CPU through PCIE interface, data from host computer is first transmitted to FPGA1, then the loading mode switch switches the dedicated configuration pins of FPGA2 to the path interconnected with FPGA1, FPGA1 controls loading of FPGA2 through selectmap mode, where the switching of loading mode switch is controlled by FPGA1. In this design, FPGA1 is only used to load FPGA2, and does not perform business functions such as signal processing, so FPGA1 does not need to update the program frequently. The program is solidified before installation in the chassis, and it is generally not easily changed, so it can avoid the blue screen of the system when updating the FPGA2 program.

[0011] The data flow of online upgrade is: the host computer sends data to FPGA1 through the PCIE interface. There is an interconnected high-speed interface between FPGA1 and FPGA2. FPGA1 transmits data to FPGA2 through this high-speed interface. Then FPGA1 controls the loading mode switch to switch the dedicated configuration pin of FPGA2 to the FLASH path, and FPGA2 writes the data into FLASH through the BPI or SPI interface. During the data writing process, FPGA2 will detect and read back the data in FLASH, and judge whether the upgrade is completed by reading the data status in FLASH. Then FPGA2 transmits the status to FPGA1 through the interconnected high-speed port, and FPGA1 reports it to the host computer. When FPGA2 is actively loaded, it loads the data stored in FLASH through the BPI or SPI interface. In this way, the data will not be lost when the power is off. The online upgrade mode avoids the need to disassemble the chassis to find the JTAG port when updating the FPGA2 program, which can ensure simpler and more efficient debugging.

[0012] Furthermore, the PFGA1 is replaced by a microprocessor or a CPLD.

[0013] Furthermore, the loading mode switching switch adopts a SPDT single-pole double-throw switch.

[0014] Compared with the prior art, the utility model has the following advantages and beneficial effects:

[0015] (1) The utility model provides two methods of loading FPGA programs. When updating the program of FPGA2 at any time, PCIE will not hang up and will not cause a blue screen.

[0016] (2) The utility model can use selectmap mode or online upgrade mode to update the program of FPGA2, and there is no need to disassemble the chassis to use the JTAG port, which is more convenient and time-saving. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a connection block diagram of the utility model. DETAILED DESCRIPTION

[0018] The present invention is further described in detail below in conjunction with the embodiments, but the implementation manner of the present invention is not limited thereto.

[0019] Embodiment 1:

[0020] Combined with Figure 1As shown, an electronic device that meets both online upgrade and dynamic loading of FPGA includes a CPU and FPGA2, and is characterized in that an FPGA1 is added, the FPGA1 is communicated with the CPU via a PCIE interface, the FPGA1 is communicated with the FPGA2 via a high-speed interface, and a loading mode switching switch is also provided between the FPGA1 and the FPGA2, the loading mode switching switch is used to switch the selectmap path or the FLASH path under the control of the FPGA1, the dedicated configuration pin of the FPGA2 under the selectmap path is connected to the FPGA1, and the dedicated configuration pin of the FPGA2 under the FLASH path is connected to the FLASH memory.

[0021] Working principle:

[0022] The digital signal processing in the original device only needs FPGA2, FPGA1 and CPU to transmit data through the PCIE port. In the utility model, FPGA1 is added, and the communication interface between FPGA1 and FPGA2 has GPIO and high-speed interface.

[0023] Data flow in selectmap mode: FPGA1 is interconnected with CPU through PCIE interface, data from host computer is first transmitted to FPGA1, then the loading mode switch switches the dedicated configuration pins of FPGA2 to the path interconnected with FPGA1, FPGA1 controls loading of FPGA2 through selectmap mode, where the switching of loading mode switch is controlled by FPGA1. In this design, FPGA1 is only used to load FPGA2, and does not perform business functions such as signal processing, so FPGA1 does not need to update the program frequently. The program is solidified before installation in the chassis, and it is generally not easily changed, so it can avoid the blue screen of the system when updating the FPGA2 program.

[0024] The data flow of online upgrade is: the host computer sends data to FPGA1 through the PCIE interface. There is an interconnected high-speed interface between FPGA1 and FPGA2. FPGA1 transmits data to FPGA2 through this high-speed interface. Then FPGA1 controls the loading mode switch to switch the dedicated configuration pin of FPGA2 to the FLASH path, and FPGA2 writes the data into FLASH through the BPI or SPI interface. During the data writing process, FPGA2 will detect and read back the data in FLASH, and judge whether the upgrade is completed by reading the data status in FLASH. Then FPGA2 transmits the status to FPGA1 through the interconnected high-speed port, and FPGA1 reports it to the host computer. When FPGA2 is actively loaded, it loads the data stored in FLASH through the BPI or SPI interface. In this way, the data will not be lost when the power is off. The online upgrade mode avoids the need to disassemble the chassis to find the JTAG port when updating the FPGA2 program, which can ensure simpler and more efficient debugging.

[0025] Furthermore, the PFGA1 is replaced by a microprocessor or a CPLD.

[0026] Furthermore, the loading mode switching switch adopts a SPDT single-pole double-throw switch, such as TI's analog switch TS3L301DGGR, to complete the switching function of the loading mode of FPGA2.

[0027] The device also includes other modules such as AD acquisition subcard, device operation platform (including CPU support platform, storage module, power supply system, external interface) and device software (including underlying software and system software). These do not belong to the improvements of the present invention and will not be described in detail.

[0028] Although the present invention is described herein with reference to the illustrative embodiments of the present invention, the above embodiments are merely preferred embodiments of the present invention, and the embodiments of the present invention are not limited to the above embodiments. It should be understood that those skilled in the art can design many other modifications and implementations, which will fall within the scope and spirit of the principles disclosed in this application.

Claims

1. An electronic device that meets both online upgrade and dynamic loading of FPGA, comprising a CPU and FPGA2, characterized in that: Add FPGA1, the FPGA1 is connected to the CPU through a PCIE interface, the FPGA1 is connected to the FPGA2 through a high-speed interface, and a loading mode switching switch is provided between FPGA1 and FPGA2. The loading mode switching switch is used to switch the selectmap path or the FLASH path under the control of FPGA1. The dedicated configuration pin of FPGA2 under the selectmap path is connected to FPGA1, and the dedicated configuration pin of FPGA2 under the FLASH path is connected to the FLASH memory.

2. According to the electronic device that satisfies both online upgrade and dynamic loading of FPGA as claimed in claim 1, the FPGA1 is replaced by a microprocessor or a CPLD.

3. According to the electronic device that satisfies both online upgrade and dynamic loading of FPGA as claimed in claim 1, the loading mode switching switch adopts a SPDT single-pole double-throw switch.

Citation Information

Cited By

  • Electronic equipment capable of simultaneously upgrading on line and dynamically loading FPGA (Field Programmable Gate Array)

    CN223501380U