CN112600937A - FPGA logic remote downloading method - Google Patents

FPGA logic remote downloading method Download PDF

Info

Publication number
CN112600937A
CN112600937A CN202011607358.2A CN202011607358A CN112600937A CN 112600937 A CN112600937 A CN 112600937A CN 202011607358 A CN202011607358 A CN 202011607358A CN 112600937 A CN112600937 A CN 112600937A
Authority
CN
China
Prior art keywords
fpga
field
client
logic
server
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
CN202011607358.2A
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.)
Beijing Shenzhou Feihang Technology Co ltd
Original Assignee
Beijing Shenzhou Feihang 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 Beijing Shenzhou Feihang Technology Co ltd filed Critical Beijing Shenzhou Feihang Technology Co ltd
Priority to CN202011607358.2A priority Critical patent/CN112600937A/en
Publication of CN112600937A publication Critical patent/CN112600937A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a remote downloading method for FPGA (field programmable gate array) logic, which comprises a server and a client, wherein the client is connected with the server through an Ethernet, the client is connected with the FPGA through a circuit, and the FPGA is also connected with a Flash memory; the method comprises the following steps: step (1), the client runs on a Windows operating system and sends an FPGA logic remote downloading request to the server; and (2) the server runs on a PowerPC chip and a VxWorks operating system, analyzes the FPGA logic remote downloading request sent by the client after receiving the FPGA logic remote downloading request, sends a command to the client, and returns a response state to the client after the command is sent. The invention can solve the problem of inflexible FPGA configuration brought by local FPGA logic downloading based on the JTAG mode at present to a certain extent.

Description

FPGA logic remote downloading method
Technical Field
The invention belongs to the field of electronic engineering and computer science, and particularly relates to a remote FPGA logic downloading method.
Background
As a highly parallel chip, FPGA is widely used in situations where real-time requirements are stringent. In the aspect of downloading FPGA logic programs, a JTAG local downloading method is generally adopted at present, but for many occasions without local downloading, the JTAG mode brings inconvenience, and therefore the invention provides an FPGA logic remote downloading method which can solve the problem of inflexible FPGA configuration brought by the current JTAG mode-based local FPGA logic downloading to a certain extent.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the invention provides a method for remotely downloading FPGA (field programmable gate array) logic, which is used for solving the problem of inflexible FPGA configuration brought by local FPGA logic downloading based on a JTAG (joint test action group) mode to a certain extent.
The technical problem to be solved by the invention is realized by adopting the following technical scheme: a remote FPGA logic downloading method comprises a server and a client, wherein the client is connected with the server through an Ethernet, the client is connected with an FPGA through a circuit, and the FPGA is also connected with a Flash memory; the method comprises the following steps:
step (1), the client runs on a Windows operating system and sends an FPGA logic remote downloading request to the server;
the server side runs on a PowerPC chip and a VxWorks operating system, analyzes the FPGA logic remote downloading request sent by the client side after receiving the FPGA logic remote downloading request, sends a command to the client side, and returns a response state to the client side after the command is sent;
and (3) the client side performs information returning, logic erasing, logic writing and reading operations on the FPGA according to the command.
Further, the server communicates with the client based on a predetermined protocol, where the predetermined protocol includes a frame header field, an operation code field, a data length field, a data field, a check code field, and a frame tail field, where the frame header field is hexadecimal 5AA5, and the length is two bytes; the operation code fields are hexadecimal 80, 81, 82 and 83 and respectively represent four functions of FPGA information, logic erasing, logic writing and logic reading; the data length field is two bytes and represents the length of the data field; the content of the data field is the effective load of the frame, and the unit is byte; the check code field is the lower sixteen bits of the mathematical sum of the operation code field, the data length field and the data field, and the length is 2 bytes; the end of frame field is hexadecimal a 55A.
Has the advantages that:
compared with the prior art, the invention has the advantages that: compared with a local FPGA logic downloading mode based on a JTAG mode, the method can realize the configuration of the FPGA in a remote mode and improve the flexibility of FPGA program downloading.
Drawings
FIG. 1 is a block diagram of the system architecture of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, rather than all embodiments, and all other embodiments obtained by a person skilled in the art based on the embodiments of the present invention belong to the protection scope of the present invention without creative efforts.
The invention provides a FPGA logic remote downloading method, as shown in figure 1, a system comprises a server and a client, wherein the client is connected with the server through an Ethernet, the client is connected with the FPGA through a circuit, and the FPGA is also connected with a Flash memory; the method comprises the following steps:
step (1), the client runs on a Windows operating system and sends an FPGA logic remote downloading request to the server;
the server side runs on a PowerPC chip and a VxWorks operating system, analyzes the FPGA logic remote downloading request sent by the client side after receiving the FPGA logic remote downloading request, sends a command to the client side, and returns a response state to the client side after the command is sent;
and (3) the client side performs information returning, logic erasing, logic writing and reading operations on the FPGA according to the command.
The server side and the client side communicate based on a predetermined protocol, wherein the predetermined protocol comprises a frame header field, an operation code field, a data length field, a data field, a check code field and a frame tail field, the frame header field is hexadecimal 5AA5, and the length of the frame header field is two bytes; the operation code fields are hexadecimal 80, 81, 82 and 83 and respectively represent four functions of FPGA information, logic erasing, logic writing and logic reading; the data length field is two bytes and represents the length of the data field; the content of the data field is the effective load of the frame, and the unit is byte; the check code field is the lower sixteen bits of the mathematical sum of the operation code field, the data length field and the data field, and the length is 2 bytes; the end of frame field is hexadecimal a 55A.
In summary, the present invention discloses a method for downloading FPGA logic remotely, which can solve the problem of inflexible FPGA configuration caused by the current local FPGA logic downloading based on the JTAG method to a certain extent.
Those skilled in the art will appreciate that the invention may be practiced without these specific details.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (2)

1. A remote FPGA logic downloading method comprises a server and a client, wherein the client is connected with the server through an Ethernet, the client is connected with an FPGA through a circuit, and the FPGA is also connected with a Flash memory; the method is characterized by comprising the following steps:
step (1), the client runs on a Windows operating system and sends an FPGA logic remote downloading request to the server;
the server side runs on a PowerPC chip and a VxWorks operating system, analyzes the FPGA logic remote downloading request sent by the client side after receiving the FPGA logic remote downloading request, sends a command to the client side, and returns a response state to the client side after the command is sent;
and (3) the client side performs information returning, logic erasing, logic writing and reading operations on the FPGA according to the command.
2. The FPGA logic remote downloading method of claim 1,
the server side and the client side communicate based on a predetermined protocol, wherein the predetermined protocol comprises a frame header field, an operation code field, a data length field, a data field, a check code field and a frame tail field, the frame header field is hexadecimal 5AA5, and the length of the frame header field is two bytes; the operation code fields are hexadecimal 80, 81, 82 and 83 and respectively represent four functions of FPGA information, logic erasing, logic writing and logic reading; the data length field is two bytes and represents the length of the data field; the content of the data field is the effective load of the frame, and the unit is byte; the check code field is the lower sixteen bits of the mathematical sum of the operation code field, the data length field and the data field, and the length is 2 bytes; the end of frame field is hexadecimal a 55A.
CN202011607358.2A 2020-12-29 2020-12-29 FPGA logic remote downloading method Pending CN112600937A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011607358.2A CN112600937A (en) 2020-12-29 2020-12-29 FPGA logic remote downloading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011607358.2A CN112600937A (en) 2020-12-29 2020-12-29 FPGA logic remote downloading method

Publications (1)

Publication Number Publication Date
CN112600937A true CN112600937A (en) 2021-04-02

Family

ID=75206186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011607358.2A Pending CN112600937A (en) 2020-12-29 2020-12-29 FPGA logic remote downloading method

Country Status (1)

Country Link
CN (1) CN112600937A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431441A (en) * 2008-12-12 2009-05-13 北京邮电大学 Method for on-line updating FPGA system embedded with CPU
CN101493770A (en) * 2008-01-23 2009-07-29 中兴通讯股份有限公司 Method for remote downloading erasable programming logic device EPLD
CN101783812A (en) * 2009-12-01 2010-07-21 深圳市蓝韵实业有限公司 FPGA configuration system and configuration method based on network
CN102053850A (en) * 2010-12-17 2011-05-11 天津曙光计算机产业有限公司 Method for on-line FPGA logic upgrade
US8594850B1 (en) * 2012-09-30 2013-11-26 Nest Labs, Inc. Updating control software on a network-connected HVAC controller
CN104063257A (en) * 2014-07-23 2014-09-24 武汉邮电科学研究院 System and method for FPGA automatic loading
CN104133802A (en) * 2014-08-14 2014-11-05 哈尔滨工业大学 Data exchange method between Vxworks embedded operating system and motion control card of double-workpiece-platform scanning mask aligner
CN105098975A (en) * 2014-05-14 2015-11-25 国家电网公司 Power grid remote intelligent monitoring system based on Beidou short message communication and monitoring method
CN207008595U (en) * 2017-04-17 2018-02-13 中国电子科技集团公司第三十四研究所 A kind of device that configuration is remotely updated for FPGA device
CN111198704A (en) * 2019-12-13 2020-05-26 南京理工大学 FPGA remote upgrading system based on TCP protocol
CN111934931A (en) * 2020-08-10 2020-11-13 中国科学院高能物理研究所 XVC (extensible virtual Circuit) protocol based server and FPGA (field programmable Gate array) firmware updating and debugging method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101493770A (en) * 2008-01-23 2009-07-29 中兴通讯股份有限公司 Method for remote downloading erasable programming logic device EPLD
CN101431441A (en) * 2008-12-12 2009-05-13 北京邮电大学 Method for on-line updating FPGA system embedded with CPU
CN101783812A (en) * 2009-12-01 2010-07-21 深圳市蓝韵实业有限公司 FPGA configuration system and configuration method based on network
CN102053850A (en) * 2010-12-17 2011-05-11 天津曙光计算机产业有限公司 Method for on-line FPGA logic upgrade
US8594850B1 (en) * 2012-09-30 2013-11-26 Nest Labs, Inc. Updating control software on a network-connected HVAC controller
CN105098975A (en) * 2014-05-14 2015-11-25 国家电网公司 Power grid remote intelligent monitoring system based on Beidou short message communication and monitoring method
CN104063257A (en) * 2014-07-23 2014-09-24 武汉邮电科学研究院 System and method for FPGA automatic loading
CN104133802A (en) * 2014-08-14 2014-11-05 哈尔滨工业大学 Data exchange method between Vxworks embedded operating system and motion control card of double-workpiece-platform scanning mask aligner
CN207008595U (en) * 2017-04-17 2018-02-13 中国电子科技集团公司第三十四研究所 A kind of device that configuration is remotely updated for FPGA device
CN111198704A (en) * 2019-12-13 2020-05-26 南京理工大学 FPGA remote upgrading system based on TCP protocol
CN111934931A (en) * 2020-08-10 2020-11-13 中国科学院高能物理研究所 XVC (extensible virtual Circuit) protocol based server and FPGA (field programmable Gate array) firmware updating and debugging method

Similar Documents

Publication Publication Date Title
US10817460B2 (en) RDMA data sending and receiving methods, electronic device, and readable storage medium
TW200304312A (en) Communicating message request transaction types between agents in a computer system using multiple message groups
CN110620637B (en) Data decompression device and method based on FPGA
WO2014135038A1 (en) Packet transmission method and device based on pcie bus
CN110769002A (en) LabVIEW-based message analysis method, system, electronic device and medium
CN111917753B (en) Modbus TCP message analysis method based on bit field
CN106201605B (en) FPGA start-up loading FLASH upgrade-system and method based on FPGA and PowerPC
CN105897689B (en) Embedded system and method thereof
CN113704002A (en) RPC component realization method based on private protocol and RPC component
CN109902055B (en) SLIP coding data stream transmission method suitable for narrow-band data network
CN112911024B (en) Method and system for collecting data of Internet of things, electronic device and storage medium
CN112600937A (en) FPGA logic remote downloading method
CN113259273B (en) Switch control method, switch, computer device, and storage medium
US6647480B1 (en) Data block update utilizing flash memory having unused memory size smaller than the data block size
CN105847190A (en) Data transmission method and processor
CN106911530B (en) Key test instruction transmission system and method based on serial port redundancy strategy
CN115878351B (en) Message transmission method and device, storage medium and electronic device
US7359405B2 (en) Burst transfer mechanism of network packets having MAC frames over USB bus
CN112312396B (en) NoC tracking data generation method and related device
CN110704361A (en) RDMA (remote direct memory Access) data transmitting and receiving method, electronic equipment and readable storage medium
CN114116375A (en) Data transmission method and device based on PLDM protocol
CN111835686A (en) Data compression method, data decompression method, data compression device, data decompression device, electronic equipment and storage medium
CN101576866B (en) Method for expanding T card by utilization of NandFlash bus
CN112147918A (en) Asynchronous data interaction method and system based on ARM + FPGA + DSP architecture
CN115334169B (en) Communication protocol coding method capable of saving network bandwidth

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: 20210402

RJ01 Rejection of invention patent application after publication