Unlock instant, AI-driven research and patent intelligence for your innovation.

A configuration file loading device and method

A configuration file and loading device technology, applied in the circuit field, can solve problems such as board function failure, system process failure, configuration file loading failure, etc., and achieve the effect of improving efficiency

Active Publication Date: 2017-03-15
DATANG MOBILE COMM EQUIP CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Since the PCIe link must establish a link (link) within 100ms of power-on, the PCIe link is vulnerable to the failure of the system process and / or the damage of the SPI flash loading file. When these conditions occur, the board function will fail
After the board fails to load the configuration file through PCIe, the current solution is to reset the board and restart the loading process; if the SPI flash loading file is damaged and the configuration file fails to load, the board can only be returned to the factory for maintenance

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
  • A configuration file loading device and method
  • A configuration file loading device and method
  • A configuration file loading device and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] refer to figure 2 , shows a loading device of a configuration file of the present application, including: FPGA chip 204 and MCU202, the FPGA chip 204 is used to establish a PCIe link between the MCU202 and the FPGA chip 204 after the FPGA chip 204 is powered on , so as to load the configuration file through the PCIe link; after determining that the establishment of the PCIe link fails, trigger the reset of the MCU2024; obtain the configuration file from the MCU202 through the data bus between the MCU202 and the FPGA chip 204, and load the configuration file.

[0027] In the prior art, when the establishment of the PCIe link fails, the configuration file of the FPGA chip needs to be reloaded by resetting the board or returning it to the factory for maintenance. In this embodiment, when the establishment of the PCIe link fails, the configuration file is obtained through the data bus between the MCU and the FPGA chip, without resetting the board or returning it to the fac...

Embodiment 2

[0033] refer to Figure 4 , shows a configuration file loading device of the present application. The device in this embodiment can automatically switch the loading mode. When the PCIe loading method fails, the board can automatically load the configuration file through the Slave SelectMAP method without requiring the board reset the card or return it to the factory for repair. like Figure 4As shown, the device includes: MCU, FPGA chip, SPIFlash and tri-state chip. Wherein, the MCU is connected to the FPGA chip, the FPGA chip is connected to the SPI flash, the output terminal of the tri-state chip is connected to the mode configuration pin of the FPGA chip, and the input of the tri-state chip is the first instruction information sent by the FPGA chip. The first indication information is used to indicate whether the PCIe link is successfully established. The first indication signal can be a link_ok signal, which can be used as a POR signal of the MCU and a chip with a low-le...

Embodiment 3

[0041] refer to Figure 5 , shows a method for loading a configuration file in the present application, the method can be executed by the device in the above device embodiment, for example, executed by the FPGA chip in the above device embodiment, therefore, the features in the above device embodiment are all can be combined into this embodiment. like Figure 5 As shown, the method includes:

[0042] Step 502, after the FPGA chip is powered on, establish a PCIe link between the MCU and the FPGA chip, so as to load configuration files through the PCIe link;

[0043] Step 504, when the PCIe link fails to be established, the MCU is triggered to reset;

[0044] In a preferred example of the embodiment of the present invention, when the PCIe link fails to be established, a low-level first indication signal may be sent to the MCU, where the first indication signal is used to trigger the MCU to reset. For example, the first indication signal may be a link_ok signal, and the link_...

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 provides a loading device and method of a configuration file. The device comprises a micro processing unit FPGA chip and an MCU, wherein the FPGA chip is used for establishing a PCIe link between the MCU and the FPGA chip after the FPGA chip is powered on so that the configuration file can be loaded through the PCIe link; under the condition that establishment of the PCIe link fails, the MCU is triggered to reset; the configuration file is obtained from the MCU through a data bus between the MCU and the FPGA chip, and the configuration file is loaded. The efficiency for loading the configuration file can be improved with the device and method.

Description

technical field [0001] The present application relates to the field of circuits, in particular to a configuration file loading device and method. Background technique [0002] Currently, for multiprocessor boards containing field-programmable gate array (Field-Programmable Gate Array, FPGA) chips, the FPGA chip can be configured through the Peripheral Component Interconnection Express (PCI Express, PCIe) channel File loading (bit file loading). [0003] figure 1 Shown is a multiprocessor board including an FPGA chip, and the board includes a micro control unit (MicroControl Unit, MCU), an FPGA chip, and a serial peripheral interface flash memory (serial peripheral interface flash, SPI flash). If you choose to use the PCIe link (PCIe link) to load the configuration file, the FPGA chip needs to first load a small bit file that only contains the PCIe link through the SPI flash, that is, load part of the configuration file through the SPI flash, and then, with the processor (...

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): G06F9/445
Inventor 赵剑冯亮刘艳雷
Owner DATANG MOBILE COMM EQUIP CO LTD