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

FPGA firmware online upgrading method and system

A firmware upgrade and firmware technology, applied in the field of electronic information, can solve the problems of inability to realize the online upgrade of FPGA firmware, inability to determine the success of the FPGA upgrade, and lack of online configuration monitoring functions, achieving small space, improving reliability, and reducing workload. Effect

Pending Publication Date: 2020-01-31
清能德创电气技术(北京)有限公司 +1
View PDF8 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The existing FPGA firmware upgrade method cannot realize online upgrade of FPGA firmware, automatic restart, and does not have online configuration monitoring function, DSP cannot determine whether the FPGA upgrade is successful, and the reliability is poor

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
  • FPGA firmware online upgrading method and system
  • FPGA firmware online upgrading method and system
  • FPGA firmware online upgrading method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] figure 1 For the present invention implements the flow chart of a kind of FPGA firmware online upgrade method.

[0062] see figure 1 , the FPGA firmware online upgrade method of the present embodiment includes:

[0063] Step S1: The FPGA firmware obtains the programming file.

[0064] The FPGA firmware is formed by solidifying the JTAG interface, the active serial memory interface and the serial peripheral interface slave in the FPGA.

[0065] Step S2: Obtain a command for writing configuration data.

[0066] The command for writing configuration data is a command generated by the DSP according to the read programming file.

[0067] Step S3: According to the write configuration data command, the active serial memory interface performs an erase operation on the EPCS configuration chip externally connected to the FPGA firmware to obtain an erase state.

[0068] Step S4: According to the erasing state, the active serial memory interface writes the EPCS configuration c...

Embodiment 2

[0093] In this embodiment, the FPGA firmware is formed by solidifying a JTAG interface, an active serial memory interface (active serial memory interface, ASMI) and a serial peripheral interface slave (SPI slave) in the FPGA. The FPGA firmware is communicated with the DSP through the serial peripheral interface slave, the FPGA firmware is externally connected to the EPCS configuration chip, and the upper computer is connected with the FPGA firmware and the DSP respectively. Among them, the function of SPI slave is to communicate with DSP for SPI two-way encoder data communication and receive upgraded configuration data. The configuration upgrade logic in the FPGA is used to cache configuration data and realize the control of the EPCS write control module. The EPCS write control module is an ASMI module. ASMI is the IP core defined by the FPGA internal macro, which is used to complete the access to the configuration chip. Using the ASMI IP core, you don't need to care about t...

Embodiment 3

[0106] This embodiment also provides a FPGA firmware online upgrade system, image 3 It is a schematic structural diagram of an FPGA firmware online upgrade system according to Embodiment 3 of the present invention.

[0107] see image 3 , FPGA firmware online upgrade system includes:

[0108] The first obtaining module 301 is used to obtain the programming file by using the FPGA firmware; the FPGA firmware is formed by solidifying the JTAG interface, the active serial memory interface and the serial peripheral interface slave in the FPGA.

[0109] The second acquiring module 302 is configured to acquire a command for writing configuration data; the command for writing configuration data is a command generated by the DSP according to the read programming file.

[0110] The erasing module 303 is configured to perform an erasing operation on the EPCS configuration chip externally connected to the FPGA firmware by the active serial memory interface according to the write config...

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 an online upgrading method and system for FPGA firmware. The method comprises the steps of enabling an FPGA to obtain a write configuration number through communication with aDSP; carrying out an erasing operation on the EPCS configuration chip; performing write operation on the configuration chip to obtain a firmware upgrading version number, and sending a configuration completion signal to the DSP; obtaining an nCONFIG low level signal according to the nCONFIG low level signal; the FPGA enters a configuration and initialization state; judging whether the INIT _ DONEsignal is a high-level signal or not; if yes, communication between the FPGA firmware and the DSP is reestablished, and the firmware upgrading version number is sent to the DSP; dSP judging whether upgrading succeeds or not. According to the invention, online upgrading and automatic restarting of FPGA firmware can be realized; and an online configuration monitoring function is achieved, the DSP can determine whether the FPGA is successfully upgraded or not in real time, and the reliability of online upgrading is improved.

Description

technical field [0001] The invention relates to the field of electronic information technology, in particular to a method and system for online upgrading of FPGA firmware. Background technique [0002] In power electronic systems, the control scheme of DSP+FPGA is usually used to upgrade the FPGA firmware. This solution combines the characteristics of FPGA with rich programmable resources, parallel pipeline processing and relatively strong computing power of DSP, which can reduce hardware costs and improve product performance. [0003] At present, the methods for upgrading the FPGA firmware include: (1) online programming through the Nios II soft core, which has high hardware cost and low efficiency. (2) The Nios II soft core is not used, and the DSP is connected to the FPGA through a parallel interface to realize the online upgrade of the FPGA. The TMDC completes the conversion of the rpd format burning file according to the communication handshake protocol, and communicat...

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): G06F8/65
CPCG06F8/65
Inventor 赵茵茵刘葵李秋生
Owner 清能德创电气技术(北京)有限公司
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