CN107465542A - A kind of remote management FPGA method and system - Google Patents

A kind of remote management FPGA method and system Download PDF

Info

Publication number
CN107465542A
CN107465542A CN201710647718.3A CN201710647718A CN107465542A CN 107465542 A CN107465542 A CN 107465542A CN 201710647718 A CN201710647718 A CN 201710647718A CN 107465542 A CN107465542 A CN 107465542A
Authority
CN
China
Prior art keywords
firmware
fpga
flash memory
update
renewal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710647718.3A
Other languages
Chinese (zh)
Inventor
赵贺辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710647718.3A priority Critical patent/CN107465542A/en
Publication of CN107465542A publication Critical patent/CN107465542A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of remote management FPGA method and system, including:Establish and communicate between default logical code and server in FPGA foundation self communication parts;The FPGA receives the firmware for being used to update that the server is sent and is sent in the FLASH memory being connected with the FPGA and stores;The FPGA reads and updates corresponding firmware in itself according to the firmware for being used to update described in the FLASH memory.Using the present invention, it can realize and communicate between far-end server and FPGA, far-end server can carry out remote management by way of communication to FPGA, renewal to FPGA firmwares, the speed of FPGA renewal firmwares is so accelerated, improves operating efficiency, and be also convenient for managing.

Description

A kind of remote management FPGA method and system
Technical field
The present invention relates to microelectronics technology, more particularly to a kind of remote management FPGA method and system.
Background technology
FPGA (Field-Programmable Gate Array, field programmable gate array) is a kind of compileable device, It is that occur as a kind of semi-custom circuit in application specific integrated circuit field, has both solved the deficiency of custom circuit, again Overcome the shortcomings that original programming device gate circuit number is limited.FPGA employs such a new ideas of logical cell array, Inside includes three configurable logic blocks, output input module and interconnector parts.
FPGA logic function loads programming data to realize by internally static storage cell, is stored in storage Value in device unit determine logic unit logic function and modules between or module and I/O (Input/Output, Input port/output port) between connected mode, and finally determine the function achieved by FPGA, FPGA allows unlimited Programming.
It is said herein solid in order to change FPGA logic function, it is necessary to be updated to the firmware in FPGA memory cell Part, the programming data being stored in FPGA memory cell.The renewal of FPGA firmwares can only pass through local under currently available technology Pattern is carried out, i.e., FPGA is connected to programming device by technical staff by way of field conduct, and firmware is carried out more to FPGA Newly.This mode speed is slow, and efficiency is low, it is difficult to manages.
Therefore, how to provide a kind of remote management FPGA method and system is that those skilled in the art need to solve at present The problem of.
The content of the invention
It is an object of the invention to provide a kind of remote management FPGA method and system, it is possible to achieve in far-end server pair FPGA carries out firmware renewal, improves operating efficiency, is easy to manage.
In order to solve the above technical problems, the invention provides a kind of remote management FPGA method, including:
Establish and communicate between default logical code and server in FPGA foundation self communication parts;
The FPGA receives the firmware for being used to update that the server is sent and is sent to what is be connected with the FPGA Stored in FLASH memory;
The FPGA reads and updated according to the firmware for being used to update described in the FLASH memory corresponding in itself Firmware.
Preferably, the process of the communication component acquisition logical code includes:
When device power, by processor by the logical code programming in the FLASH memory to the communication In part.
Preferably, the processor is CPLD.
Preferably, the FLASH memory includes original firmware area and renewal firmware area, and the FPGA reads and according to institute Stating the firmware for being used to update in FLASH memory and updating the method for corresponding firmware in itself includes:
When electric on the FPGA, read the data in the renewal firmware area and to judge whether the renewal firmware area has legal Be used for update firmware;
If there is the legal firmware for being used to update in the renewal firmware area, it is used for from described in renewal firmware area loading The firmware of renewal;
If the renewal firmware area does not have the legal firmware, original firmware is loaded from the original firmware area.
In order to solve the above technical problems, present invention also offers a kind of remote management FPGA system, including:
The communication component being arranged in FPGA is logical for being established between the logical code and server that are stored according to itself Letter;
The server, for the firmware for renewal to be sent into the FPGA;
The FPGA, for receiving the firmware for being used for updating described in the server transmission and being sent to FLASH storages Stored in device;Read and update corresponding firmware in itself according to the firmware for being used to described in the FLASH memory update;
The FLASH memory, for receiving and storing the firmware for being used to update.
Preferably, the system also includes:
The processor being connected with the FLASH memory, for the logical code in the FLASH memory to be burnt It is written in the communication component;
Accordingly, the FLASH memory is additionally operable to store the logical code.
Preferably, the FLASH memory includes:
Judge module, for judging to update whether firmware area has the legal firmware for being used to update
Original firmware area, the original firmware being cured when being dispatched from the factory for depositing;
The renewal firmware area, for receiving and storing the firmware for being used to update.
A kind of remote management FPGA provided by the invention method and system, FPGA is according to the logic in self communication part Establish and communicate between code and server;The FPGA receive the firmware for being used to update that the server is sent and be sent to Stored in the FLASH memory of the FPGA connections;The FPGA reads and according to being used for described in the FLASH memory The firmware of renewal updates corresponding firmware in itself.In this way, can be realized between far-end server and FPGA logical Letter, far-end server can carry out remote management to FPGA by way of communication, the renewal to FPGA firmwares, so accelerate FPGA updates the speed of firmware, improves operating efficiency, and be also convenient for managing.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to institute in prior art and embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of remote management FPGA method provided by the invention;
Fig. 2 is a kind of structural representation of remote management FPGA system provided by the invention.
Embodiment
The core of the present invention is to provide a kind of remote management FPGA method and system, it is possible to achieve in far-end server 1 Firmware renewal is carried out to FPGA 2, operating efficiency is improved, is easy to manage.
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The invention provides a kind of remote management FPGA 2 method, as shown in figure 1, Fig. 1 is one kind provided by the invention The flow chart of the methods of remote management FPGA 2.
This method includes:
Step S1:FPGA 2 communicates according to being established between the default logical code in self communication part and server 1.
A communication component is encapsulated on FPGA 2, by default corresponding logical code in communication component so that logical Letter part can realize the function that external equipment communicates with FPGA 2, and establish and communicate between communication component and server 1.Its In, it is a kind of bus protocol that communication component, which includes I2c IP, I2c, and I2c buses are a kind of twin wire universal serial bus, main at present Apply in the management of server 1.
Step S2:The firmware for being used to update of the reception servers 1 of FPGA 2 transmission is simultaneously sent to what is be connected with FPGA 2 Stored in FLASH memory 4.
Specifically, server 1 includes BMC (Baseboard Management Controller, baseboard management controller) Module.During renewal, the firmware for renewal is transferred to the BMC terminals of server 1 by BMC control terminals, then will by I2c buses Firmware for renewal is sent to FPGA 2, just directly sent it to while FPGA 2 receives the firmware for renewal with Stored in the FLASH memory 4 of the connections of FPGA 2.
Step S3:FPGA 2 reads and updated according to the firmware for being used to update in FLASH memory 4 corresponding in itself Firmware.
FPGA 2 has three kinds of configuration modes, is active configuration mode, passive configuration and JTAG configuration modes respectively, FPGA 2 communication component is configured from active configuration mode in the embodiment of the present invention, certainly, the present invention does not limit FPGA 2 configuration mode.
As preferable, the process that communication component obtains logical code includes:
Step S101:When device power, by processor 3 by the logical code programming in FLASH memory 4 to logical Believe in part.
Wherein, processor 3 is programmable logic device (CPLD), and processor 3 is connected with FLASH memory 4, control logic generation The programming process of code.Certainly, other kinds of processor 3 can be also used, this is not limited by the present invention.
In order to ensure FPGA 2 all the time can normal work, in FLASH memory 4 to firmware carry out fragmented storage, will FLASH memory 4 is divided for original firmware area and renewal firmware area.
As preferable, FPGA 2 reads and updates phase in itself according to the firmware for being used to update in FLASH memory 4 The method for the firmware answered includes:
Step S301:When electric on FPGA 2, read the data in renewal firmware area and judging update firmware area whether have it is legal Be used for update firmware;If there is the legal firmware for being used to update in renewal firmware area, into step 302;If update firmware Area does not have legal firmware, then into step 303.
Step S302:The firmware for renewal is loaded from renewal firmware area.
Step S303:Original firmware is loaded from original firmware area.
It is understood that renewal firmware area stores the firmware for renewal, whenever FPGA 2 need to update firmware when To wait, the new firmware for being used for renewal can override the original firmware for being stored in renewal firmware area, if FPGA 2 reads renewal admittedly Find that the new firmware for being used to update goes wrong and can not loaded behind part area, then FPGA 2 can read original firmware area, original Firmware is the firmware just having been had been cured when equipment is dispatched from the factory, and the original firmware of original firmware area storage by new because be not used for The firmware covering of renewal, always consistent reason, no matter when loading original firmware can be so that FPGA 2 be normally opened It is dynamic, a backup firmware of the original firmware as FPGA 2, which ensure that FPGA 2 all the time can normal work, reduce to cause and set The factor of standby failure, improves operating efficiency.
A kind of remote management FPGA provided by the invention method, FPGA according to the logical code in self communication part with Communication is established between server;The firmware for being used to update of FPGA the reception servers transmission is simultaneously sent to what is be connected with FPGA Stored in FLASH memory;FPGA reads and updated according to the firmware for being used to update in FLASH memory corresponding in itself Firmware.In this way, it can realize and communicate between far-end server and FPGA, far-end server can pass through communication Mode carries out remote management to FPGA, the renewal to FPGA firmwares, so accelerates the speed of FPGA renewal firmwares, improves work Make efficiency, and be also convenient for managing.
Present invention also offers a kind of remote management FPGA system, as shown in Fig. 2 Fig. 2 is one kind provided by the invention The structural representation of remote management FPGA system, including:
The communication component being arranged in FPGA 2, for being established between the logical code and server 1 that are stored according to itself Communication;
Server 1, for the firmware for renewal to be sent into FPGA 2;
FPGA 2, stored for the firmware and being sent in FLASH memory 4 for being used to update that the reception server 1 is sent; Read and update corresponding firmware in itself according to the firmware for being used to update in FLASH memory 4;
FLASH memory 4, for receiving and storing the firmware for renewal.
As preferable, system also includes:
The processor 3 being connected with FLASH memory 4, for the logical code programming in FLASH memory 4 extremely to be communicated In part;
Accordingly, FLASH memory 4 is additionally operable to store logical code.
As preferable, FLASH memory 4 includes:
Judge module, for judging to update whether firmware area has the legal firmware for being used to update;
Original firmware area, the original firmware being cured when being dispatched from the factory for depositing;
Firmware area is updated, for receiving and storing the firmware for renewal.
A kind of remote management FPGA provided by the invention system, FPGA according to the logical code in self communication part with Communication is established between server;The firmware for being used to update of FPGA the reception servers transmission is simultaneously sent to what is be connected with FPGA Stored in FLASH memory;FPGA reads and updated according to the firmware for being used to update in FLASH memory corresponding in itself Firmware.In this way, it can realize and communicate between far-end server and FPGA, far-end server can pass through communication Mode carries out remote management to FPGA, the renewal to FPGA firmwares, so accelerates the speed of FPGA renewal firmwares, improves work Make efficiency, and be also convenient for managing.
A kind of remote management FPGA method and system provided by the present invention are described in detail above.Herein should The principle and embodiment of the present invention are set forth with specific case, the explanation of above example is only intended to help and managed Solve the method and its core concept of the present invention.It should be pointed out that for those skilled in the art, do not departing from On the premise of the principle of the invention, some improvement and modification can also be carried out to the present invention, these are improved and modification also falls into this hair In bright scope of the claims.

Claims (7)

  1. A kind of 1. remote management FPGA method, it is characterised in that methods described includes:
    Establish and communicate between default logical code and server in FPGA foundation self communication parts;
    The FPGA receives the firmware for being used to update that the server is sent and is sent to and deposited with the FPGA FLASH being connected Stored in reservoir;
    The FPGA reads and updated according to the firmware for being used to update described in the FLASH memory corresponding solid in itself Part.
  2. 2. according to the method for claim 1, it is characterised in that the communication component obtains the process bag of the logical code Include:
    When device power, by processor by the logical code programming in the FLASH memory to the communication component In.
  3. 3. according to the method for claim 2, the processor is CPLD.
  4. 4. according to the method for claim 1, it is characterised in that the FLASH memory includes original firmware area and renewal Firmware area, the FPGA read and updated according to the firmware for being used to update described in the FLASH memory corresponding in itself The method of firmware include:
    When electric on the FPGA, read the data in the renewal firmware area and judge whether the renewal firmware area has legal use In the firmware of renewal;
    If there is the legal firmware for being used to update in the renewal firmware area, it is used to update from renewal firmware area loading is described Firmware;
    If the renewal firmware area does not have the legal firmware, original firmware is loaded from the original firmware area.
  5. A kind of 5. remote management FPGA system, it is characterised in that including:
    The communication component being arranged in FPGA, for being communicated according to foundation between the logical code that itself is stored and server;
    The server, for the firmware for renewal to be sent into the FPGA;
    The FPGA, for receiving the firmware for being used for updating described in the server transmission and being sent in FLASH memory Storage;Read and update corresponding firmware in itself according to the firmware for being used to described in the FLASH memory update;
    The FLASH memory, for receiving and storing the firmware for being used to update.
  6. 6. system according to claim 5, it is characterised in that the system also includes:
    The processor being connected with the FLASH memory, for by the logical code programming in the FLASH memory extremely In the communication component;
    Accordingly, the FLASH memory is additionally operable to store the logical code.
  7. 7. system according to claim 5, it is characterised in that the FLASH memory includes:
    Judge module, for judging to update whether firmware area has the legal firmware for being used to update;
    Original firmware area, the original firmware being cured when being dispatched from the factory for depositing;
    The renewal firmware area, for receiving and storing the firmware for being used to update.
CN201710647718.3A 2017-08-01 2017-08-01 A kind of remote management FPGA method and system Pending CN107465542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710647718.3A CN107465542A (en) 2017-08-01 2017-08-01 A kind of remote management FPGA method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710647718.3A CN107465542A (en) 2017-08-01 2017-08-01 A kind of remote management FPGA method and system

Publications (1)

Publication Number Publication Date
CN107465542A true CN107465542A (en) 2017-12-12

Family

ID=60547297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710647718.3A Pending CN107465542A (en) 2017-08-01 2017-08-01 A kind of remote management FPGA method and system

Country Status (1)

Country Link
CN (1) CN107465542A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408099A (en) * 2018-09-13 2019-03-01 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Remote FPGA firmware code updating system, method and medium
CN109861981A (en) * 2018-12-28 2019-06-07 中科院计算技术研究所南京移动通信与计算创新研究院 A kind of signal frequency conversion sampling test control method, system, device and storage medium
CN111656416A (en) * 2018-01-31 2020-09-11 富士通先端科技株式会社 Paper processing apparatus and PLD configuration method for paper processing apparatus
CN113835770A (en) * 2021-11-30 2021-12-24 四川华鲲振宇智能科技有限责任公司 Online replacement method and system for server management module
CN114115955A (en) * 2021-10-19 2022-03-01 苏州浪潮智能科技有限公司 Method, system, terminal and storage medium for upgrading server resource box FPGA firmware
CN114567550A (en) * 2022-01-26 2022-05-31 山东云海国创云计算装备产业创新中心有限公司 Firmware upgrading method and device for FPGA in intelligent network card

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080098380A1 (en) * 2006-10-18 2008-04-24 Toby Klusmeyer System, method, and device for updating programmable electronic equipment with a transport device from a deployment server via the internet or other communication medium
CN101783812A (en) * 2009-12-01 2010-07-21 深圳市蓝韵实业有限公司 FPGA configuration system and configuration method based on network
CN102866900A (en) * 2012-08-03 2013-01-09 浙江昱能光伏科技集成有限公司 Method and system for updating configuration data of FPGA (Field Programmable Gate Array) control unit
CN106970778A (en) * 2017-03-20 2017-07-21 中国科学院长春光学精密机械与物理研究所 A kind of Configuration Online method and system of the embedded device based on FPGA

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080098380A1 (en) * 2006-10-18 2008-04-24 Toby Klusmeyer System, method, and device for updating programmable electronic equipment with a transport device from a deployment server via the internet or other communication medium
CN101783812A (en) * 2009-12-01 2010-07-21 深圳市蓝韵实业有限公司 FPGA configuration system and configuration method based on network
CN102866900A (en) * 2012-08-03 2013-01-09 浙江昱能光伏科技集成有限公司 Method and system for updating configuration data of FPGA (Field Programmable Gate Array) control unit
CN106970778A (en) * 2017-03-20 2017-07-21 中国科学院长春光学精密机械与物理研究所 A kind of Configuration Online method and system of the embedded device based on FPGA

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111656416A (en) * 2018-01-31 2020-09-11 富士通先端科技株式会社 Paper processing apparatus and PLD configuration method for paper processing apparatus
CN109408099A (en) * 2018-09-13 2019-03-01 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Remote FPGA firmware code updating system, method and medium
CN109861981A (en) * 2018-12-28 2019-06-07 中科院计算技术研究所南京移动通信与计算创新研究院 A kind of signal frequency conversion sampling test control method, system, device and storage medium
CN114115955A (en) * 2021-10-19 2022-03-01 苏州浪潮智能科技有限公司 Method, system, terminal and storage medium for upgrading server resource box FPGA firmware
CN114115955B (en) * 2021-10-19 2024-04-12 苏州浪潮智能科技有限公司 Method, system, terminal and storage medium for upgrading FPGA firmware of server resource box
CN113835770A (en) * 2021-11-30 2021-12-24 四川华鲲振宇智能科技有限责任公司 Online replacement method and system for server management module
CN113835770B (en) * 2021-11-30 2022-02-18 四川华鲲振宇智能科技有限责任公司 Online replacement method and system for server management module
CN114567550A (en) * 2022-01-26 2022-05-31 山东云海国创云计算装备产业创新中心有限公司 Firmware upgrading method and device for FPGA in intelligent network card
CN114567550B (en) * 2022-01-26 2024-07-26 山东云海国创云计算装备产业创新中心有限公司 Firmware upgrading method and device for FPGA in intelligent network card

Similar Documents

Publication Publication Date Title
CN107465542A (en) A kind of remote management FPGA method and system
CN104600792B (en) Address assignment method for energy storage battery management system
CN104407556B (en) Hot standby redundancy module switching device
CN103024074B (en) DSP (digital signal processor) remote wireless upgrading method based on GPRS (general packet radio service)
CN103209140B (en) Intelligence PoE switch and its implementation
CN104375860A (en) Method for refreshing high-density cabinet nodes BMC in batch
CN109687278A (en) A kind of method and apparatus for image intensifer online upgrading program
CN108088045A (en) Switching method, air conditioner and the readable storage medium storing program for executing of air conditioner communication mode
US11604635B2 (en) Online program updating method
CN104834543A (en) Method and device for externally refreshing BIOS (basic input/output system) firmware
CN103825764A (en) Data collecting instrument monitoring system based on cloud calculation and method for enhancing communication stability of data collecting instrument monitoring system based on cloud calculation
CN101286053A (en) Method and apparatus to facilitate logic control and interface communication
JP2017010556A (en) PLC system
CN105426334A (en) Parallel type large-scale USB extension device, working method and system
CN111679849A (en) Equipment upgrading method of multilayer topology management structure and charging pile system
CN213716948U (en) Battery management system
CN104572402A (en) Server and method for realizing power consumption management of server
CN207713201U (en) A kind of elevator control system having external memory
CN202939447U (en) Data acquisition controller
CN112939407A (en) Control system of edge terminal equipment for sludge dryer
KR102484220B1 (en) Mehtod of managing gateway power and system performing the same
CN107277191B (en) Network IP management method and system based on unified storage device
CN116743792B (en) Multichannel industrial Internet of things collector
CN206135416U (en) Confession receives electric mode switch equipment
CN103838191A (en) Distributed control system access method and distributed control system access device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171212

RJ01 Rejection of invention patent application after publication