CN113360177A - Device and method for online upgrading firmware program of vector network analyzer - Google Patents

Device and method for online upgrading firmware program of vector network analyzer Download PDF

Info

Publication number
CN113360177A
CN113360177A CN202110629460.0A CN202110629460A CN113360177A CN 113360177 A CN113360177 A CN 113360177A CN 202110629460 A CN202110629460 A CN 202110629460A CN 113360177 A CN113360177 A CN 113360177A
Authority
CN
China
Prior art keywords
firmware program
unit
program code
vector network
network analyzer
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
CN202110629460.0A
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.)
CLP Kesiyi Technology Co Ltd
Original Assignee
CLP Kesiyi 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 CLP Kesiyi Technology Co Ltd filed Critical CLP Kesiyi Technology Co Ltd
Priority to CN202110629460.0A priority Critical patent/CN113360177A/en
Publication of CN113360177A publication Critical patent/CN113360177A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0008High speed serial bus, e.g. Fiber channel
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0026PCI express
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a vector network analyzer firmware program online upgrading device and method, comprising an embedded CPU unit, a DSP unit, an FPGA unit and N onboard FLASH units; the embedded CPU unit sends a firmware program code to the DSP unit through a PCIE bus, the DSP unit receives a new firmware program code sent by the embedded CPU, simultaneously analyzes and decodes a control command sent by the embedded CPU, then sends the new firmware program code and the command code to the FPGA unit through an SRIO bus, the FPGA unit receives the firmware program code, analyzes and decodes the command sent by the DSP unit to obtain an address and control information of an onboard FLASH unit of the firmware program to be upgraded, and then controls an onboard FLASH unit of the firmware program to be upgraded to receive the new firmware program code through a QPI bus. The invention does not need to repeatedly disassemble the case, saves manpower and material resources, ensures the service life of the instrument, reduces the production cost of the vector network analyzer and improves the production efficiency of the vector network analyzer.

Description

Device and method for online upgrading firmware program of vector network analyzer
Technical Field
The invention belongs to the technical field of vector network analyzers, and particularly relates to a device and a method for online upgrading of a firmware program of a vector network analyzer.
Background
Along with the increase of the productivity of radio frequency microwave device manufacturers, the demand of vector network analyzers in the processes of research, development, production and debugging is also increased sharply. The vector network analyzer belongs to a precise and precious scientific instrument, has long service life, and needs to be upgraded in function at all times in the service life, and at the moment, needs to be upgraded in firmware program version of corresponding circuit units in the vector network analyzer.
At present, mainstream manufacturers of vector network analyzers in the market adopt the traditional mode of a computer, a burner and a USB cable which are provided with development software and burning software when upgrading the internal firmware program of the vector network analyzer, the vector network analyzer needs to be disassembled from a case firstly, then a circuit board of the firmware program to be upgraded is connected with the computer by using the burner, and the computer downloads a new firmware program into a memory of the corresponding circuit board through the burner. And after the firmware program is upgraded, assembling and recovering the instrument case. The firmware program upgrading technology has the disadvantages that the case needs to be disassembled, and when the firmware program of the batch instruments is upgraded, the labor cost is high due to frequent disassembly and assembly of the instrument case; meanwhile, the firmware program can be upgraded only by a computer, a burner and a USB cable which are provided with development software and burning software, so that a plurality of matched devices are provided, the burning speed is low, and the cost is high and the efficiency is low.
Disclosure of Invention
In order to solve the problems, the invention provides a device and a method for upgrading a firmware program of a vector network analyzer on line, which do not need to be disassembled, do not need additional development software and corollary equipment, have reasonable design, overcome the defects of the prior art and have good effect.
In order to achieve the purpose, the invention adopts the following technical scheme:
an online upgrading device for a firmware program of a vector network analyzer comprises:
the embedded CPU unit is a host inside the vector network analyzer and has the functions of receiving a new firmware program code copied by an external flash memory and sending the firmware program code to the DSP unit through a PCIE bus;
the DSP unit is used as a controller and has the functions of receiving a new firmware program code sent by the embedded CPU unit, simultaneously analyzing and decoding a control command sent by the host, and then sending the new firmware program code and the host command to the FPGA unit through the SRIO bus after encoding;
n on-board FPGA units, wherein N is an integer greater than 1, the function of the FPGA units is to receive a firmware program, analyze and decode a command sent by the DSP unit to obtain an on-board FLASH unit of the firmware program to be upgraded, and then control the corresponding on-board FLASH unit to receive a new firmware program through a QPI bus;
the embedded CPU unit is connected with the DSP unit through a PCIE bus, the DSP unit is connected with the FPGA unit through an SRIO bus, and the FPGA unit is respectively connected with the N onboard FLASH units through a QPI bus.
Further, the on-board FLASH unit includes a radio frequency circuit board and an intermediate frequency circuit board.
The online upgrading method of the firmware program of the vector network analyzer adopts the online upgrading device of the firmware program of the vector network analyzer, and comprises the following steps:
s1, powering on each unit and initializing;
s2, the embedded CPU unit sends the new firmware program code to the DSP unit;
s3, the DSP unit forwards the new firmware program code to the FPGA unit;
s4, the FPGA unit forwards the new firmware program code to the corresponding onboard FLASH unit to complete firmware program upgrading;
s5, repeating the loop steps S1 to S4, and finishing the firmware program upgrade of other N-1 onboard FLASH units.
Further, step S2 includes the following sub-steps:
s21, copying the new firmware program code to the appointed position of the embedded CPU unit through the USB interface by using the USB flash disk;
s22, running firmware program upgrading software in the embedded CPU unit;
and S23, the firmware program upgrading software sends the new firmware program code and the corresponding control command to the DSP unit through the PCIE bus.
Further, step S3 includes the following sub-steps:
s31: the DSP unit receives a new firmware program code and a control command sent by the embedded CPU unit through the PCIE bus interface;
s32: analyzing and decoding the control command to obtain the address and control information of the onboard FLASH of the program to be upgraded;
and S33, encoding the new firmware program code, the onboard FLASH address and the control information and then sending the encoded information to the FPGA unit through the SRIO bus.
Further, step S4 includes the following sub-steps:
s41, the FPGA unit receives a new firmware program code, an onboard FLASH address and control information sent by the DSP unit through the SRIO bus;
s42, analyzing and decoding the onboard FLASH address and the control information to obtain the address and the control command of the onboard FLASH unit of the firmware program to be upgraded;
and S43, the FPGA unit controls the onboard FLASH unit of the firmware program to be upgraded to receive a new firmware program code through the QPI bus, and the firmware program upgrade is completed.
The invention has the following beneficial technical effects:
(1) the device and the method for updating the firmware program of the vector network analyzer on line do not need to repeatedly disassemble the case, save manpower and material resources and simultaneously ensure the service life of the analyzer.
(2) The firmware program upgrading does not need to be provided with external computers, special burners, USB cables and other matched equipment for installing development software and burning software, and the production cost of the vector network analyzer is reduced.
(3) The high-speed serial buses such as the PCIE bus, the SRIO bus, the QPI bus and the like improve the data transmission rate when a new firmware program is burnt, remarkably shorten the upgrading time and further improve the production efficiency of the vector network analyzer.
Drawings
FIG. 1 is a block diagram of an online upgrading device for firmware programs of a vector network analyzer according to the present invention;
Detailed Description
To facilitate understanding and practice of the invention by those of ordinary skill in the art, embodiments of the invention are further described below with reference to the accompanying drawings and specific examples:
as shown in fig. 1, an online upgrading apparatus for a firmware program of a vector network analyzer includes:
the embedded CPU unit is a host inside the vector network analyzer and has the functions of receiving a new firmware program code copied by an external flash memory and sending the firmware program code to the DSP unit through a PCIE bus;
the DSP unit is used as a controller and has the functions of receiving a new firmware program code sent by the embedded CPU unit, simultaneously analyzing and decoding a control command sent by the host, and then sending the new firmware program code and the host command to the FPGA unit through the SRIO bus after encoding;
n on-board FPGA units, wherein N is an integer greater than 1, the function of the FPGA units is to receive a firmware program, analyze and decode a command sent by the DSP unit to obtain an on-board FLASH unit of the firmware program to be upgraded, and then control the corresponding on-board FLASH unit to receive a new firmware program through a QPI bus;
the embedded CPU unit is connected with the DSP unit through a PCIE bus, the DSP unit is connected with the FPGA unit through an SRIO bus, and the FPGA unit is respectively connected with the N onboard FLASH units through a QPI bus.
Specifically, the on-board FLASH unit includes a radio frequency circuit board and an intermediate frequency circuit board.
The online upgrading method of the firmware program of the vector network analyzer adopts the online upgrading device of the firmware program of the vector network analyzer, and comprises the following steps:
s1, powering on each unit and initializing;
s2, the embedded CPU unit sends the new firmware program code to the DSP unit;
specifically, step S2 includes the following sub-steps:
s21, copying the new firmware program code to the appointed position of the embedded CPU unit through the USB interface by using the USB flash disk;
s22, running firmware program upgrading software in the embedded CPU unit;
and S23, the firmware program upgrading software sends the new firmware program code and the corresponding control command to the DSP unit through the PCIE bus.
S3, the DSP unit forwards the new firmware program code to the FPGA unit;
specifically, step S3 includes the following sub-steps:
s31: the DSP unit receives a new firmware program code and a control command sent by the embedded CPU unit through the PCIE bus interface;
s32: analyzing and decoding the control command to obtain the address and control information of the onboard FLASH of the program to be upgraded;
and S33, encoding the new firmware program code, the onboard FLASH address and the control information and then sending the encoded information to the FPGA unit through the SRIO bus.
S4, the FPGA unit forwards the new firmware program code to the corresponding onboard FLASH unit to complete firmware program upgrading;
specifically, step S4 includes the following sub-steps:
s41, the FPGA unit receives a new firmware program code, an onboard FLASH address and control information sent by the DSP unit through the SRIO bus;
s42, analyzing and decoding the onboard FLASH address and the control information to obtain the address and the control command of the onboard FLASH unit of the firmware program to be upgraded;
and S43, the FPGA unit controls the onboard FLASH unit of the firmware program to be upgraded to receive a new firmware program code through the QPI bus, and the firmware program upgrade is completed.
S5, repeating the loop steps S1 to S4, and finishing the firmware program upgrade of other N-1 onboard FLASH units.
It is to be understood that the above description is not intended to limit the present invention, and the present invention is not limited to the above examples, and those skilled in the art may make modifications, alterations, additions or substitutions within the spirit and scope of the present invention.

Claims (6)

1. A vector network analyzer firmware program online upgrading device is characterized by comprising an embedded CPU unit, a DSP unit, an FPGA unit and N onboard FLASH units, wherein N is an integer greater than 1;
the embedded CPU unit is connected with the DSP unit through a PCIE bus, the DSP unit is connected with the FPGA unit through an SRIO bus, and the FPGA unit is respectively connected with the N onboard FLASH units through a QPI bus.
2. The vector network analyzer firmware program online upgrade device of claim 1, wherein the onboard FLASH unit comprises a radio frequency circuit board and an intermediate frequency circuit board.
3. An online upgrading method for a firmware program of a vector network analyzer, which is characterized in that the online upgrading device for the firmware program of the vector network analyzer, as claimed in claim 1, is adopted, and comprises the following steps:
s1, powering on each unit and initializing;
s2, the embedded CPU unit sends the new firmware program code to the DSP unit;
s3, the DSP unit forwards the new firmware program code to the FPGA unit;
s4, the FPGA unit forwards the new firmware program code to the corresponding onboard FLASH unit to complete firmware program upgrading;
s5, repeating the loop steps S1 to S4, and finishing the firmware program upgrade of other N-1 onboard FLASH units.
4. The vector network analyzer firmware program online upgrading method according to claim 3, wherein the step S2 comprises the following sub-steps:
s21, copying the new firmware program code to the appointed position of the embedded CPU unit through the USB interface by using the USB flash disk;
s22, running firmware program upgrading software in the embedded CPU unit;
and S23, the firmware program upgrading software sends the new firmware program code and the corresponding control command to the DSP unit through the PCIE bus.
5. The vector network analyzer firmware program online upgrading method according to claim 3, wherein the step S3 comprises the following sub-steps:
s31: the DSP unit receives a new firmware program code and a control command sent by the embedded CPU unit through the PCIE bus interface;
s32: analyzing and decoding the control command to obtain the address and control information of the onboard FLASH of the program to be upgraded;
and S33, encoding the new firmware program code, the onboard FLASH address and the control information and then sending the encoded information to the FPGA unit through the SRIO bus.
6. The vector network analyzer firmware program online upgrading method according to claim 3, wherein the step S4 comprises the following sub-steps:
s41, the FPGA unit receives a new firmware program code, an onboard FLASH address and control information sent by the DSP unit through the SRIO bus;
s42, analyzing and decoding the onboard FLASH address and the control information to obtain the address and the control command of the onboard FLASH unit of the firmware program to be upgraded;
and S43, the FPGA unit controls the onboard FLASH unit of the firmware program to be upgraded to receive a new firmware program code through the QPI bus, and the firmware program upgrade is completed.
CN202110629460.0A 2021-06-07 2021-06-07 Device and method for online upgrading firmware program of vector network analyzer Pending CN113360177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110629460.0A CN113360177A (en) 2021-06-07 2021-06-07 Device and method for online upgrading firmware program of vector network analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110629460.0A CN113360177A (en) 2021-06-07 2021-06-07 Device and method for online upgrading firmware program of vector network analyzer

Publications (1)

Publication Number Publication Date
CN113360177A true CN113360177A (en) 2021-09-07

Family

ID=77532547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110629460.0A Pending CN113360177A (en) 2021-06-07 2021-06-07 Device and method for online upgrading firmware program of vector network analyzer

Country Status (1)

Country Link
CN (1) CN113360177A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101218588A (en) * 2005-05-05 2008-07-09 塞尔蒂卡姆公司 Retrofitting authentication onto firmware
GB0901570D0 (en) * 2008-02-13 2009-03-11 Fujitsu Ltd Apparatus having data installed and method of upgrading data
CN102722390A (en) * 2012-06-05 2012-10-10 上海联影医疗科技有限公司 Flash-sharing device for multiprocessors and firmware program loading and upgrading method
CN104636168A (en) * 2015-02-09 2015-05-20 南京国电南自美卓控制系统有限公司 SOC FPGA online upgrading method based on MLVDS buses
CN105373407A (en) * 2015-12-07 2016-03-02 中国船舶重工集团公司第七〇五研究所 DSP and FPGA online upgrading method for embedded system
CN106325817A (en) * 2016-08-25 2017-01-11 中山市天启智能科技有限公司 Embedded system automatic update method
CN108054904A (en) * 2017-12-20 2018-05-18 深圳市同安德方科技有限公司 A kind of transducer power unit firmware online updating method
FR3063861A1 (en) * 2017-03-07 2018-09-14 Appareillages, Bobinage Electrique Et Luminaires FLOOR CONTROL MODULE AND FLOOR MODEL COMPRISING THE SAME
US20190220602A1 (en) * 2018-12-11 2019-07-18 Intel Corporation Independently recoverable security for processor and peripheral communication
CN110471334A (en) * 2019-07-30 2019-11-19 珠海纳睿达科技有限公司 A kind of phased array beam control device and its control method
CN111506335A (en) * 2020-04-27 2020-08-07 湖北三江航天红峰控制有限公司 DSP + FPGA-based program online upgrading method and system
CN111562932A (en) * 2020-05-08 2020-08-21 北京计算机技术及应用研究所 High-reliability embedded software upgrading method and system
CN111831309A (en) * 2020-07-16 2020-10-27 深圳市朗科智能电气股份有限公司 Upgrading method, device, equipment and medium for multiple MCUs (micro control units) in Wifi (wireless fidelity) of Internet of things
CN112764785A (en) * 2020-12-24 2021-05-07 江苏云涌电子科技股份有限公司 Method for automatically upgrading multi-stage controller

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101218588A (en) * 2005-05-05 2008-07-09 塞尔蒂卡姆公司 Retrofitting authentication onto firmware
GB0901570D0 (en) * 2008-02-13 2009-03-11 Fujitsu Ltd Apparatus having data installed and method of upgrading data
CN102722390A (en) * 2012-06-05 2012-10-10 上海联影医疗科技有限公司 Flash-sharing device for multiprocessors and firmware program loading and upgrading method
CN104636168A (en) * 2015-02-09 2015-05-20 南京国电南自美卓控制系统有限公司 SOC FPGA online upgrading method based on MLVDS buses
CN105373407A (en) * 2015-12-07 2016-03-02 中国船舶重工集团公司第七〇五研究所 DSP and FPGA online upgrading method for embedded system
CN106325817A (en) * 2016-08-25 2017-01-11 中山市天启智能科技有限公司 Embedded system automatic update method
FR3063861A1 (en) * 2017-03-07 2018-09-14 Appareillages, Bobinage Electrique Et Luminaires FLOOR CONTROL MODULE AND FLOOR MODEL COMPRISING THE SAME
CN108054904A (en) * 2017-12-20 2018-05-18 深圳市同安德方科技有限公司 A kind of transducer power unit firmware online updating method
US20190220602A1 (en) * 2018-12-11 2019-07-18 Intel Corporation Independently recoverable security for processor and peripheral communication
CN110471334A (en) * 2019-07-30 2019-11-19 珠海纳睿达科技有限公司 A kind of phased array beam control device and its control method
CN111506335A (en) * 2020-04-27 2020-08-07 湖北三江航天红峰控制有限公司 DSP + FPGA-based program online upgrading method and system
CN111562932A (en) * 2020-05-08 2020-08-21 北京计算机技术及应用研究所 High-reliability embedded software upgrading method and system
CN111831309A (en) * 2020-07-16 2020-10-27 深圳市朗科智能电气股份有限公司 Upgrading method, device, equipment and medium for multiple MCUs (micro control units) in Wifi (wireless fidelity) of Internet of things
CN112764785A (en) * 2020-12-24 2021-05-07 江苏云涌电子科技股份有限公司 Method for automatically upgrading multi-stage controller

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李声飞等: "基于串口通信的DSP程序动态加载技术", 《电讯技术》 *

Similar Documents

Publication Publication Date Title
CN102591670A (en) Firmware upgrading system and method
CN105354070B (en) A method of passing through I2C updating apparatus firmware
CN105279127A (en) FPGA program downloading system based on PCI or PCIe bus, and method
CN104407878B (en) C6000 digital signal processor online upgrading methods
CN104679559B (en) The method of single-chip microcontroller online programming
CN105373407A (en) DSP and FPGA online upgrading method for embedded system
CN102999350A (en) FPGA (field-programmable gate array) program upgrading and online downloading method in digital signal processing platform
CN100498708C (en) Firmware download method and device using personal computer
CN105182210B (en) A kind of general-purpose interface and its implementation of computation chip test device
CN104035803A (en) Method, device and programmer for updating CPLD/FPGA firmware
CN102426528A (en) Online updating method for kernel program of navigation positioning receiver
CN103970565A (en) Method for implementing FPGA multi-path downloading configuration in server system
CN110727255B (en) Whole vehicle controller software upgrading test system and vehicle
CN113238787B (en) Ethernet-based DSP local online upgrading method
CN103324496B (en) One USB flash disk realizes centralized automatic meter-reading terminal local maintaining method
CN113360177A (en) Device and method for online upgrading firmware program of vector network analyzer
CN102591752A (en) On-line debugging method of peripheral equipment based on high pass platform
CN110708489A (en) Communication method, communication device, electronic device and storage medium
CN103677919A (en) Airborne software updating method based on serial port
CN111414182B (en) SPI-based FPGA remote upgrading method
CN205281471U (en) Printing terminal and system
CN105516745A (en) Terminal upgrading method and device
CN110262349A (en) A kind of the remote online programmed method and system of C8051F series monolithic
CN110162326A (en) The method of firmware upgrade and system comprising hard disk
CN114115957A (en) FPGA (field programmable Gate array) online updating method with backup and system thereof

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210907