Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

An online upgrade method of FPGA based on nios II

A technology for upgrading data and secondary startup, which is applied in the fields of instruments, computing, and electrical digital data processing, and can solve the problems of large configuration data, time-consuming and labor-intensive, and inconvenient upgrades.

Active Publication Date: 2021-11-09
成都华力创通科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In the existing AS configuration mode, the JTAG port of the FPGA needs to be connected every time the FPGA is upgraded. After the FPGA is integrated into the entire system, the JTAG port is usually not reserved for the external interface of the system, and it needs to be disassembled when upgrading, which is time-consuming and laborious.
The existing PS configuration mode can reconfigure FPGA through the external interface of the system such as serial port and network port, which solves the problem of inconvenient upgrade in AS mode
However, at present, the density of FPGA is increasing, and the configuration data is also increasing, reaching tens of megabits or even hundreds of megabits. Multiple flash chips are required to store these configuration data, resulting in increased complexity and additional hardware costs, such as FLASH chip and controller chip cost

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
  • An online upgrade method of FPGA based on nios II
  • An online upgrade method of FPGA based on nios II
  • An online upgrade method of FPGA based on nios II

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The embodiment provides a kind of FPGA online upgrade method based on NIOS II, and the IP core of the NIOS II processor is embedded in the embodiment FPGA as a controller, and integrates peripherals such as serial port and network port; FPGA adopts the form of secondary loader to start and upgrade ,Such as image 3 As shown, the FPGA divides the configuration FLASH chip into four storage areas, and the four storage areas are areas 1, 2, 3 and 4 respectively. Area 1 stores the configuration file of the FPGA secondary loader program (factory mode program), area 2 stores FPGA configuration file 1, area 3 stores FPGA configuration file 2, and area 4 stores user data. The steps of FPGA online upgrade are as follows: Figure 4 Shown: When the system is powered on or reset, the NIOS II processor starts the timer and closes the watchdog program; Area 2 reads FPGA configuration file 1 and enters user mode 1; if data is received, and the received data is instruction data for sw...

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 relates to the field of FPGA chips, and discloses a NIOS II-based FPGA online upgrade method, so that the FPGA can be reconfigured online in an AS configuration mode without resorting to an external controller chip. The IP core embedded in the NIOS II processor of the present invention is used as a controller, and integrates external serial ports and network ports; when the system is powered on or reset, the NIOS II processor starts the timer and closes the watchdog program. If the internal NIOS II processor does not receive data from the serial port or network port, it reads the FPGA configuration file data from the configuration FLASH chip and enters the user mode; if it receives data and the received data is upgrade data, write the upgrade data to Enter and configure the FLASH chip, start the watchdog program after receiving and writing the upgrade data, trigger the system reset, and complete the online upgrade of the FPGA. The present invention is applicable to FPGA configuration.

Description

technical field [0001] The invention relates to the field of FPGA chips, in particular to an FPGA online upgrade method based on NIOS II. Background technique [0002] FPGA has the characteristics of flexible programming and can be used as a development platform for the prototype design of special satellite navigation chips. The configuration data of the FPGA based on the SRAM process will be lost after power-off, and it is necessary to add an external configuration FLASH chip to save the FPGA configuration data, such as EPCS64, EPCQ256, etc. After power-on, the configuration data stream needs to be read from the configuration FLASH chip and loaded into the FPGA, so that the FPGA can run normally. [0003] Commonly used FPGA configuration methods include active serial mode (AS) and passive serial mode (PS). In AS mode, FPGA provides configuration clock signal DCLK, and in PS mode, other devices provide configuration clock signal DCLK to FPGA. AS configuration mode box fig...

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 Patents(China)
IPC IPC(8): G06F8/654
Inventor 陈建国李金全王绍新赵兰保
Owner 成都华力创通科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products