FPGA-based device and method for loading and upgrading object codes

A technology of object code and SPI interface, which is applied in the direction of program control device, program loading/starting, generation of response errors, etc., can solve system defects such as long FPGA loading time, low data transmission rate of single-line serial interface, and inability to upgrade FPGA again and other issues to achieve the effect of avoiding the limitation of device selection, optimizing the chip layout space, and optimizing the cost

Active Publication Date: 2016-03-16
GUANGZHOU HUIRUI SITONG INFORMATION SCI & TECH CO LTD
View PDF3 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantages of this mode are: 1. The content in the non-volatile memory is updated by the FPGA itself. If the wrong object code is obtained or the system is powered off during the update process, the incomplete or incorrect object code will be lost. Overwrite the original correct object code of the non-volatile memory, when the system restarts, the FPGA cannot work normally, and the FPGA object code cannot be upgraded again (unless other tools such as an emulator are connected), which will become a serious problem. System defects and hidden dangers; 2. The data transmission rate of the single-wire serial interface is low, which leads to a long loading time of the FPGA and increases the startup time of the entire system
This implementation scheme has system defects and hidden dangers, as well as long FPGA loading time and other deficiencies.

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-based device and method for loading and upgrading object codes
  • FPGA-based device and method for loading and upgrading object codes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be further described in detail below in conjunction with the embodiments and the accompanying drawings, but the embodiments of the present invention are not limited thereto.

[0029] Such as figure 1 Said, a device for loading and upgrading target code of FPGA includes MCU (MicroControlUnit, micro control unit), FPGA, SPIFLASH (serial interface flash memory), and BUFFER (two-way buffer).

[0030] As the main control processor, the MCU is used to communicate with the host computer, receive instructions and FPGA object code data, write the object code into FLASH, and control the realization of the entire process.

[0031] As a non-volatile memory, FLASH is used to store the target code of the FPGA, and is connected to the loading dedicated pin of the FPGA through the SPI interface mode of four data lines, and connected to the MCU through the SPI interface mode of the single data line. The BUFFER acts as an isolation switch.

[0032] Such as ...

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 FPGA-based device and method for loading and upgrading object codes. The device comprises a main control processor, an FPGA, a bidirectional buffer having the output enable control, and a non-volatile memory. The FPGA and the non-volatile memory are connected via four data signal lines, one clock signal line and one chip selection signal line. The main control processor and the non-volatile memory are connected, and the bidirectional buffer is arranged between the main control processor and the non-volatile memory for isolating switch. The main control processor also controls the output enable of the bidirectional buffer and the initial reset signal of the FPGA. Based on the above method and the above device, not only the upgrading function is realized, but also the loading rate of the FPGA is ensured. Meanwhile, the start-up time of the system is reduced.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a device and method for loading and upgrading target codes of FPGA. Background technique [0002] FPGA (Field Programmable Gate Array, Field Programmable Gate Array) is widely used in communication due to its advantages of parallel operation of internal logic, high-speed working clock, rich input and output pin resources, integrated high-speed serial transceiver module, and core resources of specific interface protocols. In the hardware equipment system, functions such as board-level logic control, interface conversion, data transmission, and algorithm processing are completed. Based on the characteristics of chips such as FPGA, the target code will be lost when the system is powered off, so the target code needs to be stored in the non-volatile memory outside the chip during system design, and the FPGA will be loaded every time the system starts. Operation of the object code. ...

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/445G06F11/10
CPCG06F9/44505G06F11/1096
Inventor 林克槟
Owner GUANGZHOU HUIRUI SITONG INFORMATION SCI & TECH CO LTD
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
Try Eureka
PatSnap group products