Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Firmware updating method, device and medium of FPGA accelerator card

A firmware update and accelerator card technology, which is applied in the field of FPGA development, can solve problems such as firmware burning errors, lower firmware update efficiency, and difficulty in ensuring high availability of FPGA accelerator cards, so as to achieve high availability and avoid manual update. The effect of the possibility of error

Inactive Publication Date: 2018-02-02
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current working environment of the FPGA accelerator card is often a cluster device with a complex network structure. Therefore, the firmware that needs to be updated for the FPGA accelerator card in different devices is different. The manual burning method not only greatly reduces the firmware update efficiency. , and it will also increase the possibility of firmware programming errors, making it difficult to ensure high availability of the FPGA accelerator card

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Firmware updating method, device and medium of FPGA accelerator card
  • Firmware updating method, device and medium of FPGA accelerator card
  • Firmware updating method, device and medium of FPGA accelerator card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] figure 1 It is a flowchart of a method for updating firmware of an FPGA accelerator card provided by an embodiment of the present invention. Please refer to figure 1 , the specific steps of the firmware update method of the FPGA accelerator card include:

[0043] Step S10: Read the configuration list by executing a script to obtain the device address of the FPGA accelerator card to be updated.

[0044] It should be noted that the content recorded in the script is the relevant logical steps of the operation to achieve a certain purpose, and the way the system executes the script can make the system execute the relevant steps step by step according to the content in the script. Due to the stronger interaction between the script and the system, it is more efficient and more accurate to control the system by executing the script than by manually controlling the system to perform related operations. In addition, since the FPGA accelerator card works in the device, the cor...

Embodiment 2

[0051] figure 2 It is a flow chart of another firmware update method for an FPGA accelerator card provided by an embodiment of the present invention. figure 2 In steps S10-S12 and figure 1 Same, no more details here.

[0052] Such as figure 2 As shown, as a preferred embodiment, before loading and updating firmware to update the FPGA accelerator card, the method further includes:

[0053] Step S20: saving the running context of the FPGA accelerator card.

[0054] Correspondingly, after loading and updating the firmware to update the FPGA accelerator card, the method further includes:

[0055] Step S21: Restore the parameter state before the firmware update of the FPGA accelerator card according to the context.

[0056] It should be noted that the context environment is the process data generated by the FPGA accelerator card during its working process, and the related data obtained according to the work content after the FPGA accelerator card is initialized represents t...

Embodiment approach

[0060] In addition, as a preferred implementation manner, updating firmware specifically includes:

[0061] PCIe firmware and memory control firmware.

[0062] It should be noted that, because the FPGA accelerator card often needs to store and transmit data when it calculates the data, because the data transmission between the FPGA accelerator card and other device hardware is often carried out through the PCIe interface, and the data is processed before calculation. Or the calculation process needs to be stored in the memory of the FPGA accelerator card. Therefore, in order to ensure that the FPGA accelerator card can provide high-quality work, it is necessary to ensure that the firmware of the PCIe interface and the firmware of the memory control are updated.

[0063] In addition, as a preferred implementation, the FPGA accelerator card is found through the device address, so as to burn the updated firmware into the FPGA accelerator card, specifically:

[0064] Find the FPG...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a firmware updating method, device and medium of an FPGA accelerator card. The method comprises the steps that a configuration list is read in a script execution mode so that adevice address where the FPGA accelerator card to be updated is located can be acquired; updating firmware of the FPGA accelerator card is acquired, and the FPGA accelerator card is found through thedevice address so that the updating firmware can be burnt into the FPGA accelerator card; the updating firmware is loaded so that the FPGA accelerator card can be updated. Compared with an artificialmode that the updating firmware is burnt to the FPDG accelerator card one by one, the firmware updating method achieves automatic corresponding updating of the FPGA accelerator card by a system through script running, so that the problem of relatively low artificial updating efficiency due to a large quantity of FPGA accelerator cards in a complex network device environment is solved, the error probability due to difference among updating firmware of numerous FPGA accelerator cards in artificial updating is lowered, and high availability of the FPGA accelerator cards is guaranteed. Furthermore, the invention further provides the firmware updating device and medium of the FPGA accelerator card. The firmware updating device and medium of the FPGA accelerator card also have the advantages.

Description

technical field [0001] The invention relates to the field of FPGA development, in particular to a firmware update method, device and medium for an FPGA accelerator card. Background technique [0002] The essence of FPGA is to improve the reusability of digital circuits and realize different circuit logic functions in a programmable way. [0003] With the continuous evolution of the FPGA structure and the continuous improvement of the technology, more and more resources are integrated in the FPGA, and the functions of the FPGA become more and more powerful. The difference between FPGA and CPU or GPU-based ordinary processors is that FPGA changes the internal circuit logic through programming, and its field of expertise is mainly digital signal processing. Since FPGA has abundant on-chip storage resources, it can greatly reduce The latency of accessing off-chip storage greatly improves computing performance. Since FPGA has high computing performance and performs computing ta...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
Inventor 赵贺辉
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products