CN102779056A - Long-distance program updating method and system - Google Patents

Long-distance program updating method and system Download PDF

Info

Publication number
CN102779056A
CN102779056A CN2012102186415A CN201210218641A CN102779056A CN 102779056 A CN102779056 A CN 102779056A CN 2012102186415 A CN2012102186415 A CN 2012102186415A CN 201210218641 A CN201210218641 A CN 201210218641A CN 102779056 A CN102779056 A CN 102779056A
Authority
CN
China
Prior art keywords
hardware
program
platform
simulation
version information
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.)
Granted
Application number
CN2012102186415A
Other languages
Chinese (zh)
Other versions
CN102779056B (en
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.)
Chipsea Technologies Shenzhen Co Ltd
Original Assignee
Chipsea Technologies Shenzhen 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 Chipsea Technologies Shenzhen Co Ltd filed Critical Chipsea Technologies Shenzhen Co Ltd
Priority to CN201210218641.5A priority Critical patent/CN102779056B/en
Publication of CN102779056A publication Critical patent/CN102779056A/en
Application granted granted Critical
Publication of CN102779056B publication Critical patent/CN102779056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a long-distance program updating method and system. The long-distance program updating method comprises the following steps that a software platform accesses a long-distance download server, searches an updating configuration file of a hardware simulation platform, and obtains updated version information and an updating program of a current hardware program; the software platform is interacted with the hardware simulation platform according to a pre-set communication protocol instruction, and sends the updated version information and the updating program to the hardware simulation platform; and the hardware simulation platform updates the current hardware program according to the updated version information and the updating program. The method provided by the invention comprises the following steps that the software platform accesses the long-distance download server, searches the updating configuration file of the hardware simulation platform, and obtains the updated version information and the updating program of the current hardware program; the software platform is interacted with the hardware simulation platform according to the pre-set communication protocol instruction; and the hardware simulation platform updates the current hardware program according to the relevant information, so that the method has the beneficial effect of updating long-distance hardware without manually downloading and installing; the system properties can be improved; and the user experience is enhanced.

Description

Remote hardware method for updating program and system
Technical field
The present invention relates to technical field of integrated circuits, relate in particular to a kind of remote hardware method for updating program and system.
Background technology
At present, the emulation platform of SOC (System on a Chip, SOC(system on a chip)) family chip is changed more frequent; At the MCU of prior art (Microprogrammed Control Unit; Microprogram control unit) in the designing technique of development platform; The program updates of remote hardware platform can not real time automatic update or automatically prompting user download and upgrade; And need technical support engineer's field maintemance or artificially notify the user to carry out down loading updating, this brings huge inconvenience for slip-stick artist and user.With reference to Fig. 1, Fig. 1 is that prior art medium-long range hardware program update method is implemented block diagram; As shown in Figure 1; Adopt the remote hardware method for updating program of prior art, most of technical support engineers can only check the more new situation of resource in website, the side of no longer holding an official post, and need own manually the download to install; Prolonged the Products Development cycle; Have a strong impact on the popularization time of products scheme, and increased the Products Development cost, unfavorable to product development; Adopt remote hardware method for updating program of the prior art shown in Figure 1, the user can not know in time when employed simulation hardware platform need upgrade, and this needs technical support engineer and user to upgrade hardware program artificially through linking up; When the user need upgrade employed simulation hardware platform, need the user with this simulation hardware platform company of posting back sometimes even also, after upgrading by the technical support personnel, return to the user again.So operation has not only prolonged the update cycle of product greatly, and more the use to the user has caused great inconvenience.
Summary of the invention
Fundamental purpose of the present invention provides a kind of remote hardware method for updating program and system, is intended to solve the problem that the remote hardware program updates need manually download and install.
The invention discloses a kind of method of remote hardware program updates, may further comprise the steps:
Software platform access remote Download Server, the upgrading configuration of inquiry simulation hardware platform is obtained the upgraded version information and the refresh routine of current hardware program;
Said software platform carries out alternately with said simulation hardware platform according to the communication protocol instruction of presetting, and said upgraded version information and refresh routine are sent to said simulation hardware platform;
Said simulation hardware platform upgrades current hardware program according to said upgraded version information and refresh routine.
Preferably, said software platform carries out alternately with said simulation hardware platform according to the communication protocol instruction of presetting, and said upgraded version information and refresh routine is sent to said simulation hardware platform also comprise step before:
Preset the communication protocol instruction; Said communication protocol instruction comprises the first protocol instructions group and the second protocol instructions group.
Preferably, said software platform specifically comprises with said simulation hardware platform according to the communication protocol instruction of presetting alternately:
The said communication protocol instruction that said software platform will preset sends to said simulation hardware platform;
According to the said first protocol instructions group, said simulation hardware platform switches to the main control chip with general serial usb bus and memory bus by PLD.
Preferably, said simulation hardware platform is according to said upgraded version information and refresh routine, and the step of upgrading current hardware program specifically comprises:
According to said upgraded version information and refresh routine, download new hardware program file;
Judge in said upgraded version information and the refresh routine data whether with said new hardware program file in data consistent;
If not, then, upgrade current hardware program according to said new hardware program file and the instruction of said communication protocol;
According to the said second protocol instructions group, said usb bus and memory bus are switched to said PLD by said main control chip.
Preferably, the said communication protocol instruction that will preset of said software platform sends to said simulation hardware platform and specifically comprises:
Said software platform sends to said PLD with the said first protocol instructions group, and the said second protocol instructions group is sent to said main control chip.
The present invention also discloses a kind of remote hardware program updating system, comprising:
Software platform is used for the access remote Download Server, inquires about the upgrading configuration of said simulation hardware platform, obtains the upgraded version information and the refresh routine of current hardware program; According to the communication protocol instruction of presetting, carry out alternately with said simulation hardware platform, said upgraded version information and refresh routine are sent to said simulation hardware platform;
The simulation hardware platform is used for upgrading current hardware program according to said upgraded version information and refresh routine.
Preferably, said remote hardware program updating system also comprises:
Protocol instructions is provided with module, is used to preset the communication protocol instruction; Said communication protocol instruction comprises the first protocol instructions group and the second protocol instructions group.
Preferably, said software platform also is used for, and the said communication protocol instruction of presetting is sent to said simulation hardware platform;
Said simulation hardware platform also is used for, and according to the said first protocol instructions group, general serial usb bus and memory bus is switched to the main control chip by PLD.
Preferably, said simulation hardware platform specifically comprises:
The program file download module is used for downloading new hardware program file according to said upgraded version information and refresh routine;
Data consistency judge module, the data that are used for judging said upgraded version information and refresh routine whether with said new hardware program file in data consistent;
The hardware program update module is used for data in the data of said upgraded version information and refresh routine and said new hardware program file when inconsistent, according to said new hardware program file and the instruction of said communication protocol, upgrades current hardware program;
The bus handover module is used for according to the said second protocol instructions group said usb bus and memory bus being switched to said PLD by said main control chip.
Preferably, said software platform also is used for, and the said first protocol instructions group is sent to said PLD, and the said second protocol instructions group is sent to said main control chip.
The present invention is through software platform access remote Download Server, and the upgrading configuration of inquiry simulation hardware platform is obtained the upgraded version information and the refresh routine that afford to work as hardware program; According to the communication protocol instruction of presetting; Software platform and simulation hardware platform carry out alternately, and according to upgraded version information and refresh routine, the simulation hardware platform upgrades the method for current hardware program; Have remote hardware and upgrade the beneficial effect that need not manually to download and install; Remote hardware is upgraded have intellectuality, improved system performance, promoted user experience.
Description of drawings
Fig. 1 is that prior art medium-long range hardware program update method is implemented block diagram;
Fig. 2 is the remote hardware method for updating program first embodiment schematic flow sheet of the present invention;
Fig. 3 is the remote hardware method for updating program second embodiment schematic flow sheet of the present invention;
Fig. 4 is that remote hardware method for updating program of the present invention is implemented block diagram;
Fig. 5 is that the simulation hardware platform upgrades current hardware program one embodiment schematic flow sheet in the remote hardware method for updating program of the present invention;
Fig. 6 is the remote hardware program updating system first example structure synoptic diagram of the present invention;
Fig. 7 is the remote hardware program updating system second example structure synoptic diagram of the present invention;
Fig. 8 is simulation hardware platform one an example structure synoptic diagram in the remote hardware program updating system of the present invention.
The realization of the object of the invention, functional characteristics and advantage will combine embodiment, further specify with reference to accompanying drawing.
Embodiment
Further specify technical scheme of the present invention below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
With reference to Fig. 2, Fig. 2 is the remote hardware method for updating program first embodiment schematic flow sheet of the present invention; As shown in Figure 2, remote hardware method for updating program of the present invention may further comprise the steps:
Step S01, software platform access remote Download Server, the upgrading configuration of inquiry simulation hardware platform is obtained the upgraded version information and the refresh routine of current hardware program;
In a preferred embodiment, this software platform operates on individual PC (Personal Computer, the PC) machine.At the software platform of individual PC operation in case start, the configuration file on the remote download server of access internet automatically then, thereby the latest edition and the refresh routine of inquiry simulation hardware platform, prompting user's refresh routine and version.Said remote download server is appreciated that the company's official website server into this simulation hardware platform.The user can inquire about the upgrading configuration of simulation hardware platform through operating in the software platform access remote Download Server on the individual PC, obtains the upgraded version information and the refresh routine of current hardware program.
Step S02, software platform carry out alternately upgraded version information and refresh routine being sent to the simulation hardware platform with the simulation hardware platform according to the communication protocol instruction of presetting;
The simulation hardware platform carries out emulation to refresh routine; Carry out associative operations such as in-circuit emulation or burning; At this moment; According to the communication protocol instruction of design in advance, software platform and simulation hardware plate on the simulation hardware platform carry out mutual with communicate by letter, said upgraded version information and refresh routine are sent to said simulation hardware platform.
Step S03, simulation hardware platform upgrade current hardware program according to upgraded version information and refresh routine.
According to said upgraded version information and refresh routine; Said simulation hardware platform is known the version number of up-to-date simulation hardware plate on the current corporate server through the communication protocol instruction of presetting; This moment, the simulation hardware platform was downloaded new hardware program file automatically, and judged whether the data in the new hardware program file of data and the automatic download of simulation hardware platform in upgraded version information that software platform sends and the refresh routine are consistent; Under the two inconsistent situation, explain that then the simulation hardware platform need upgrade the hardware program of current use, the simulation hardware platform upgrades according to the new hardware program file of downloading automatically at this moment, finally realizes the renewal of remote hardware program.
Present embodiment is through software platform access remote Download Server, and the upgrading configuration of inquiry simulation hardware platform is obtained the upgraded version information and the refresh routine that afford to work as hardware program; According to the communication protocol instruction of presetting; Software platform and simulation hardware platform carry out alternately; And then the simulation hardware platform upgrades the method for current hardware program, has remote hardware and upgrades the beneficial effect that need not manually to download and install, and remote hardware upgraded have intellectuality; Improve system performance, promoted user experience.
With reference to Fig. 3, Fig. 3 is the remote hardware method for updating program second embodiment schematic flow sheet of the present invention; The difference of remote hardware method for updating program second embodiment of the present invention and first embodiment is only before step S02, to have increased step S04; Present embodiment only specifically describes step S04, and related other steps of present embodiment repeat no more at this please with reference to the foregoing description.
As shown in Figure 3; Remote hardware method for updating program of the present invention instructs according to the communication protocol that presets at step S02, software platform; Carry out alternately with said simulation hardware platform, upgraded version information and refresh routine are sent to also comprise step before the simulation hardware platform:
Step S04, preset communication protocol instruction;
The communications packets of communication protocol instruction mainly comprises: packet header, data and verification; Wherein, packet header mainly comprises the length of synchronizing information, instruction, communications packets.In a preferred embodiment, said communication protocol instruction comprises the first protocol instructions group and the second protocol instructions group.Particularly; Above-mentionedly carry out when mutual at software platform and simulation hardware platform; Software platform sends to the PLD in the simulation hardware platform with the first protocol instructions group; Be used for USB (Universal Serial Bus, USB) bus and memory bus are switched to the main control chip by PLD; Because after the simulation hardware platform powers on, PLD takies usb bus and memory bus under the default conditions.Software emulation platform sends to main control chip MCU (Microprogrammed Control Unit with the second protocol instructions group; Microprogram control unit); Be used for after the simulation hardware platform carries out the end of remote hardware program updates, usb bus and memory bus being switched to PLD by the main control chip.
Specify the communication protocol instruction of presetting with specific embodiment below.In this specific embodiment; PLD is preferably FPGA (Field Programmable Gata Array; Field programmable gate array), memory bus is preferably EPCS (Electronic Propulsion Control System, Electronic Propulsion Control System) bus.In this concrete embodiment, in advance communication protocol is designed, concrete 6 instructions that remote hardware program updates scheme need be used are as shown in the table:
Figure BDA0000182489041
The said first protocol instructions group is the 1st, 2,3 instruction, sends to FPGA by software platform, is used for switching to MCU to usb bus and EPCS bus from FPGA; Particularly, software platform at first sends PSFRSTSYS instruction, and resetting system then sends the PSFEPCS instruction, and receives FSPOACK and reply, if receive correct replying, then switches to MCU to usb bus and EPCS bus from FPGA; If do not receive correct replying, then software reports an error.4th, 5,6 instructions are the second protocol instructions group.Send to MCU by PC, be used for writing the configuration of FPGA among the EPCS, and switch to FPGA to USB and EPCS bus from MCU.
Describe the overall process that remote hardware method for updating program of the present invention is implemented in detail with concrete embodiment below.With reference to Fig. 4, Fig. 4 is that remote hardware method for updating program of the present invention is implemented block diagram.As shown in Figure 4, in a preferred embodiment, the simulation hardware platform of present embodiment mainly is made up of the MCU of independent research and the Cyclone III of altera corp; Said software platform comprises the IDE (Integrated Development Environment, IDE) of independent research; When the user clicked IDE on individual PC, the automatic visited company of the IDE of operation official website server obtained the configuration file (like update.ini) on the server, and inquires about up-to-date hardware program information; In case lastest imformation is arranged, then points out the user whether to download up-to-date installation procedure; And in the process of user's download, the prompting of this program download progress is arranged, so that let user real time understand the download situation.Particularly; After the simulation hardware plate of simulation hardware platform powers on; Default conditions are that FPGA takies usb bus and EPCS bus; When the user when beginning to get into in-circuit emulation or burning window, the IDE of software platform and simulation hardware plate communicate, and just can know the version number of current simulation hardware plate (ICE); If current emulation board is not a latest edition, then point out the user to find the latest hardware refresh routine, when the user need upgrade ICE, PC sent and upgrades the ICE communication instruction, and usb bus, EPCS bus change MCU into and take.Subsequently, PC all writes the EPCS storer to the hex content of hardware latest edition; Software platform sends relevant communication protocol and instructs to the simulation hardware platform, and the simulation hardware platform is finally realized the remote hardware program updates according to the relevant communication protocol instruction FPGA that resets.The simulation hardware platform is through the use of communication protocol instruction control simulation hardware plate to usb bus and EPCS bus, the trouble of having avoided emulation board to re-power.
Present embodiment carries out the protocol instructions of interactive communication through design software platform and simulation hardware platform in advance; And according to this communication protocol instruction completion remote hardware Automatic Program method for updating; Have the beneficial effect that the remote hardware program updates need not manually to download and install, make the remote hardware program updates have more intellectuality.
With reference to Fig. 5, Fig. 5 is that the simulation hardware platform upgrades current hardware program one embodiment schematic flow sheet in the remote hardware method for updating program of the present invention; Present embodiment only specifically describes step S03, and related other steps of remote hardware method for updating program of the present invention repeat no more at this please with reference to related embodiment.
As shown in Figure 5, in the remote hardware method for updating program of the present invention, step S03, simulation hardware platform are according to said upgraded version information and refresh routine, and the step of upgrading current hardware program specifically comprises:
Step S11, according to said upgraded version information and refresh routine, download new hardware program file;
The upgraded version information and the refresh routine of the hardware program that the simulation hardware platform provides according to software platform are downloaded new hardware program file automatically;
Step S12, judge in said upgraded version information and the refresh routine data whether with said new hardware program file in data consistent; If not, execution in step S13 then; If, execution in step S14 then;
Step S13, according to the instruction of said new hardware program file and said communication protocol, upgrade current hardware program;
Step S14, transmission are replied to software platform;
According to the instruction of the communication protocol that presets, the simulation hardware platform judges whether the data in the new hardware program file of data and self download in upgraded version information that software platform sends and the refresh routine are identical; If the two is inequality, explain that current hardware program need upgrade, then, upgrade current hardware program according to said new hardware program file and communication protocol instruction.Particularly, in a preferred embodiment, after the simulation hardware platform switched to MCU with usb bus and EPCS bus, software platform sent PSFDEPCS and instructs to the simulation hardware platform; The simulation hardware platform is among the configuration write store EPCS of FPGA; Software platform receives that the simulation hardware platform returns correct reply FSPODACK after, send the next frame data to the simulation hardware platform again, all among the write store EPCS, promptly accomplish the automatic renewal of remote hardware program until the simulation hardware platform to all data.If the data in the new hardware program file of data and hardware platform self download in the upgraded version information that software platform sends and the refresh routine are consistent; Explain that then the presently used hardware program of this hardware platform is new version program, need not upgrade present procedure; At this moment, the simulation hardware platform sends replying to software platform of not upgrading, and informs that software platform does not upgrade.
Step S15, according to the said second protocol instructions group, said usb bus and memory bus are switched to said PLD by said main control chip.
After the remote hardware program was accomplished renewal automatically, software platform sent the PSFDEPCSE instruction to the simulation hardware platform; The simulation hardware platform instructs according to PSFDEPCSE, the transmission of end data, and switch to FPGA to usb bus and EPCS bus once more from MCU, recover usb bus and the default conditions of EPCS bus after the simulation hardware platform powers on.
Present embodiment passes through according to upgraded version information and refresh routine; Download new hardware program file and the data in upgraded version information and refresh routine when the same with data in the new hardware program file; According to new hardware program file and the instruction of said communication protocol; Upgrade the method for current hardware program, have the current hardware program of automatic renewal and need not manually to download and install the beneficial effect of renewal.
With reference to Fig. 6, Fig. 6 is the remote hardware program updating system first example structure synoptic diagram of the present invention; As shown in Figure 6, remote hardware program updating system of the present invention comprises:
Software platform 01 is used for the access remote Download Server, inquires about the upgrading configuration of said simulation hardware platform, obtains the upgraded version information and the refresh routine of current hardware program; According to the communication protocol instruction of presetting, carry out alternately with said simulation hardware platform, said upgraded version information and refresh routine are sent to said simulation hardware platform;
In a preferred embodiment, this software platform 01 operates on the individual PC.At the software platform 01 of individual PC operation in case start, the configuration file on the remote download server of access internet automatically then, thereby the latest edition and the refresh routine of inquiry simulation hardware platform 02, prompting user's refresh routine and version.With reference to Fig. 3, Fig. 3 is that remote hardware method for updating program of the present invention is implemented block diagram; As shown in Figure 3, the remote download server is company's official website server of this simulation hardware platform 02 shown in Figure 3.The user can inquire about the upgrading configuration of simulation hardware platform 02 through operating in the software platform 01 access remote Download Server on the individual PC, obtains the upgraded version information and the refresh routine of current hardware program.02 pair of refresh routine of simulation hardware platform carries out emulation; Carry out associative operations such as in-circuit emulation or burning; At this moment; According to the communication protocol instruction of design in advance, software platform 01 and simulation hardware plate on the simulation hardware platform 02 carry out mutual with communicate by letter, said upgraded version information and refresh routine are sent to said simulation hardware platform 02.
Simulation hardware platform 02 is used for upgrading current hardware program according to said upgraded version information and refresh routine.
According to said upgraded version information and refresh routine; Said simulation hardware platform 02 is known the version number of up-to-date simulation hardware plate on the current corporate server through the communication protocol instruction of presetting; This moment, the simulation hardware platform 02 was downloaded new hardware program file automatically, and judged whether the data in the new hardware program file of data and the 02 automatic download of simulation hardware platform in upgraded version information that software platform 01 sends and the refresh routine are consistent; Under the two inconsistent situation, explain that then simulation hardware platform 02 needs to upgrade the hardware program of current use, this moment, the simulation hardware platform 02 new hardware program file according to download upgraded automatically, finally realized the renewal of remote hardware program.
Present embodiment is through software platform access remote Download Server, and the upgrading configuration of inquiry simulation hardware platform is obtained the upgraded version information and the refresh routine that afford to work as hardware program; According to the communication protocol instruction of presetting, software platform and simulation hardware platform carry out alternately, and then the simulation hardware platform upgrades current hardware program; Have remote hardware and upgrade the beneficial effect that need not manually to download and install; Remote hardware is upgraded have intellectuality, improved system performance, promoted user experience.
With reference to Fig. 7, Fig. 7 is the remote hardware program updating system second example structure synoptic diagram of the present invention; The difference of remote hardware program updating system second embodiment of the present invention and first embodiment is only to have increased protocol instructions module 03 is set; Present embodiment only is provided with module 03 to protocol instructions and specifically describes, and related other modules of present embodiment repeat no more at this please with reference to the specific descriptions of related embodiment.
As shown in Figure 7, in the remote hardware program updating system of the present invention, also comprise:
Protocol instructions is provided with module 03, is used to preset the communication protocol instruction; Said communication protocol instruction comprises the first protocol instructions group and the second protocol instructions group.
The communications packets that protocol instructions is provided with the communication protocol instruction that module 03 is provided with in advance mainly comprises: packet header, data and verification; Wherein, packet header mainly comprises the length of synchronizing information, instruction, communications packets.In a preferred embodiment, said communication protocol instruction comprises the first protocol instructions group and the second protocol instructions group.Particularly; Above-mentionedly carry out when mutual at software platform 01 and simulation hardware platform 02; Software platform 01 sends to the PLD in the simulation hardware platform 02 with the first protocol instructions group that protocol instructions is provided with module 03 setting; Be used for USB (Universal Serial Bus, USB) bus and memory bus are switched to the main control chip by PLD; Because after the simulation hardware platform powers on, PLD takies usb bus and memory bus under the default conditions.Software emulation platform 01 sends to main control chip MCU with the second protocol instructions group that protocol instructions is provided with module 03 setting; Be used for after simulation hardware platform 02 carries out the end of remote hardware program updates, usb bus and memory bus being switched to PLD by the main control chip.
Protocol instructions is provided with the concrete setting of 03 pair of communication protocol instruction of module please with reference to the specific descriptions that instruction is provided with to communication protocol among Fig. 4 embodiment, repeats no more at this.
Remote hardware program updating system of the present invention carries out the overall process of remote hardware program updates enforcement please with reference to the said embodiment of Fig. 3, repeats no more at this.
The protocol instructions that software platform that present embodiment designs in advance and simulation hardware platform carry out interactive communication be system carry out efficiently, in order, the important prerequisite correctly upgraded automatically, have the intelligentized beneficial effect of remote hardware program updates.
With reference to Fig. 8, Fig. 8 is simulation hardware platform one an example structure synoptic diagram in the remote hardware program updating system of the present invention.Present embodiment only further describes simulation hardware platform 02, and other modules that remote hardware program updating system of the present invention is related please with reference to above-mentioned related embodiment, repeat no more at this.
As shown in Figure 8, in the remote hardware program updating system of the present invention, simulation hardware platform 02 specifically comprises:
Program file download module 021 is used for downloading new hardware program file according to said upgraded version information and refresh routine;
The upgraded version information and the refresh routine of the hardware program that program file download module 021 provides according to software platform are downloaded new hardware program file automatically;
Data consistency judge module 022, the data that are used for judging said upgraded version information and refresh routine whether with said new hardware program file in data consistent;
Hardware program update module 023; Be used for data in the data of said upgraded version information and refresh routine and said new hardware program file when inconsistent; According to said new hardware program file and the instruction of said communication protocol, upgrade current hardware program;
According to the instruction of the communication protocol that presets, data consistency judge module 022 judges whether the data in the new hardware program file of data and 021 download of program file download module in upgraded version information that software platform 01 sends and the refresh routine are identical; If the two is inequality, explain that current hardware program need upgrade, then hardware program update module 023 is upgraded current hardware program according to said new hardware program file and communication protocol instruction.Particularly, in a preferred embodiment, after usb bus and EPCS bus were switched to MCU, software platform 01 sent the PSFDEPCS instruction, hardware program update module 023 according to the PSFDEPCS instruction among the configuration write store EPCS of FPGA; Software platform 01 receive that simulation hardware platform 02 returns correct reply FSPODACK after; The software platform 01 next frame data of redispatching; All among the write store EPCS, promptly accomplish the automatic renewal of remote hardware program until hardware program update module 023 to all data.If data consistency judge module 022 judges that the data in the new hardware program file of data and 021 download of program file download module in upgraded version information that software platform 01 sends and the refresh routine are identical; Explain that then the presently used hardware program of this hardware platform is new version program, need not upgrade present procedure; At this moment, the simulation hardware platform sends replying to software platform of not upgrading, and informs that software platform does not upgrade.
Bus handover module 024 is used for according to the said second protocol instructions group said usb bus and memory bus being switched to said PLD by said main control chip.
After hardware program update module 023 was accomplished the automatic renewal of remote hardware program, software platform 01 sent PSFDEPCSE instruction, the transmission of end data; Instruction switches to FPGA to usb bus and EPCS bus from MCU to bus handover module 024 once more according to PSFDEPCSE, recovers usb bus and the default conditions of EPCS bus after the simulation hardware platform powers on.
Present embodiment passes through according to upgraded version information and refresh routine; Download data in new hardware program file and the data in upgraded version information and refresh routine and the new hardware program file when inequality; According to new hardware program file and the instruction of said communication protocol; Upgrade current hardware program, have the current hardware program of automatic renewal and need not manually to download and install the beneficial effect of renewal.
The above is merely the preferred embodiments of the present invention; Be not so limit its claim; Every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; Directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. a remote hardware method for updating program is characterized in that, may further comprise the steps:
Software platform access remote Download Server, the upgrading configuration of inquiry simulation hardware platform is obtained the upgraded version information and the refresh routine of current hardware program;
Said software platform carries out alternately with said simulation hardware platform according to the communication protocol instruction of presetting, and said upgraded version information and refresh routine are sent to said simulation hardware platform;
Said simulation hardware platform upgrades current hardware program according to said upgraded version information and refresh routine.
2. remote hardware method for updating program as claimed in claim 1; It is characterized in that; Said software platform carries out alternately with said simulation hardware platform according to the communication protocol instruction of presetting, and said upgraded version information and refresh routine is sent to said simulation hardware platform also comprise step before:
Preset the communication protocol instruction; Said communication protocol instruction comprises the first protocol instructions group and the second protocol instructions group.
3. according to claim 1 or claim 2 remote hardware method for updating program is characterized in that, said software platform specifically comprises with said simulation hardware platform according to the communication protocol instruction of presetting alternately:
The said communication protocol instruction that said software platform will preset sends to said simulation hardware platform;
According to the said first protocol instructions group, said simulation hardware platform switches to the main control chip with general serial usb bus and memory bus by PLD.
4. according to claim 1 or claim 2 remote hardware method for updating program is characterized in that said simulation hardware platform is according to said upgraded version information and refresh routine, and the step of upgrading current hardware program specifically comprises:
According to said upgraded version information and refresh routine, download new hardware program file;
Judge in said upgraded version information and the refresh routine data whether with said new hardware program file in data consistent;
If not, then, upgrade current hardware program according to said new hardware program file and the instruction of said communication protocol;
According to the said second protocol instructions group, said usb bus and memory bus are switched to said PLD by said main control chip.
5. remote hardware method for updating program as claimed in claim 3 is characterized in that, the said communication protocol instruction that said software platform will preset sends to said simulation hardware platform and specifically comprises:
Said software platform sends to said PLD with the said first protocol instructions group, and the said second protocol instructions group is sent to said main control chip.
6. a remote hardware program updating system is characterized in that, comprising:
Software platform is used for the access remote Download Server, inquires about the upgrading configuration of said simulation hardware platform, obtains the upgraded version information and the refresh routine of current hardware program; According to the communication protocol instruction of presetting, carry out alternately with said simulation hardware platform, said upgraded version information and refresh routine are sent to said simulation hardware platform;
The simulation hardware platform is used for upgrading current hardware program according to said upgraded version information and refresh routine.
7. remote hardware program updating system as claimed in claim 6 is characterized in that, also comprises:
Protocol instructions is provided with module, is used to preset the communication protocol instruction; Said communication protocol instruction comprises the first protocol instructions group and the second protocol instructions group.
8. like claim 6 or 7 described remote hardware program updating systems, it is characterized in that said software platform also is used for, the said communication protocol instruction of presetting is sent to said simulation hardware platform;
Said simulation hardware platform also is used for, and according to the said first protocol instructions group, general serial usb bus and memory bus is switched to the main control chip by PLD.
9. like claim 6 or 7 described remote hardware program updating systems, it is characterized in that said simulation hardware platform specifically comprises:
The program file download module is used for downloading new hardware program file according to said upgraded version information and refresh routine;
Data consistency judge module, the data that are used for judging said upgraded version information and refresh routine whether with said new hardware program file in data consistent;
The hardware program update module is used for data in the data of said upgraded version information and refresh routine and said new hardware program file when inconsistent, according to said new hardware program file and the instruction of said communication protocol, upgrades current hardware program;
The bus handover module is used for according to the said second protocol instructions group said usb bus and memory bus being switched to said PLD by said main control chip.
10. remote hardware program updating system as claimed in claim 8 is characterized in that said software platform also is used for, and the said first protocol instructions group is sent to said PLD, and the said second protocol instructions group is sent to said main control chip.
CN201210218641.5A 2012-06-28 2012-06-28 Remote hardware method for updating program and system Active CN102779056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210218641.5A CN102779056B (en) 2012-06-28 2012-06-28 Remote hardware method for updating program and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210218641.5A CN102779056B (en) 2012-06-28 2012-06-28 Remote hardware method for updating program and system

Publications (2)

Publication Number Publication Date
CN102779056A true CN102779056A (en) 2012-11-14
CN102779056B CN102779056B (en) 2016-02-24

Family

ID=47123976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210218641.5A Active CN102779056B (en) 2012-06-28 2012-06-28 Remote hardware method for updating program and system

Country Status (1)

Country Link
CN (1) CN102779056B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881301A (en) * 2014-02-28 2015-09-02 北京谊安医疗***股份有限公司 Burning method and device for DSP (digital signal processing) chip program upgrading
CN104881302A (en) * 2014-02-28 2015-09-02 北京谊安医疗***股份有限公司 Burning method and device for DSP chip program upgrading
CN105988389A (en) * 2015-03-18 2016-10-05 中山市巨创电子科技有限公司 Method for function design, function configuration and parameter setting of microcomputer controller
CN106293786A (en) * 2015-05-25 2017-01-04 特变电工新疆新能源股份有限公司 A kind of FPGA configuration file update method and equipment
CN106354966A (en) * 2016-09-06 2017-01-25 芯海科技(深圳)股份有限公司 Method for converting chip IDE project files and rapidly configuring simulation debugging environment
CN108875318A (en) * 2018-05-28 2018-11-23 哈尔滨工程大学 A kind of FPGA property right protection and remote update system and its method based on MCU
CN109086089A (en) * 2018-08-27 2018-12-25 郑州云海信息技术有限公司 A kind of method, system and equipment that hardware configuration limits
CN112445509A (en) * 2020-11-27 2021-03-05 四川明槊科技有限公司 Parking stall lock hardware program automatic updating method
CN112910948A (en) * 2021-01-12 2021-06-04 拉扎斯网络科技(上海)有限公司 Protocol upgrading method, device, electronic equipment, storage medium and program product
CN115499520A (en) * 2022-11-21 2022-12-20 北京蓝天航空科技股份有限公司 Interface control file updating method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889162A (en) * 2005-07-02 2007-01-03 群康科技(深圳)有限公司 Liquid crystal display device tough body renewal system and method
US7318151B1 (en) * 2004-11-04 2008-01-08 Network Appliance, Inc. Method and system for firmware management
US20080161951A1 (en) * 2007-01-03 2008-07-03 Morris Jeffrey M Portable memory device with dynamically loaded audio content
CN101330399A (en) * 2007-06-19 2008-12-24 上海风格信息技术有限公司 Method for upgrading built-in equipment
CN202150871U (en) * 2010-09-30 2012-02-22 晟瀚科技有限公司 Download device for remote control mode database

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7318151B1 (en) * 2004-11-04 2008-01-08 Network Appliance, Inc. Method and system for firmware management
CN1889162A (en) * 2005-07-02 2007-01-03 群康科技(深圳)有限公司 Liquid crystal display device tough body renewal system and method
US20080161951A1 (en) * 2007-01-03 2008-07-03 Morris Jeffrey M Portable memory device with dynamically loaded audio content
CN101330399A (en) * 2007-06-19 2008-12-24 上海风格信息技术有限公司 Method for upgrading built-in equipment
CN202150871U (en) * 2010-09-30 2012-02-22 晟瀚科技有限公司 Download device for remote control mode database

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881301A (en) * 2014-02-28 2015-09-02 北京谊安医疗***股份有限公司 Burning method and device for DSP (digital signal processing) chip program upgrading
CN104881302A (en) * 2014-02-28 2015-09-02 北京谊安医疗***股份有限公司 Burning method and device for DSP chip program upgrading
CN105988389A (en) * 2015-03-18 2016-10-05 中山市巨创电子科技有限公司 Method for function design, function configuration and parameter setting of microcomputer controller
CN106293786A (en) * 2015-05-25 2017-01-04 特变电工新疆新能源股份有限公司 A kind of FPGA configuration file update method and equipment
CN106354966A (en) * 2016-09-06 2017-01-25 芯海科技(深圳)股份有限公司 Method for converting chip IDE project files and rapidly configuring simulation debugging environment
CN108875318A (en) * 2018-05-28 2018-11-23 哈尔滨工程大学 A kind of FPGA property right protection and remote update system and its method based on MCU
CN109086089A (en) * 2018-08-27 2018-12-25 郑州云海信息技术有限公司 A kind of method, system and equipment that hardware configuration limits
CN112445509A (en) * 2020-11-27 2021-03-05 四川明槊科技有限公司 Parking stall lock hardware program automatic updating method
CN112910948A (en) * 2021-01-12 2021-06-04 拉扎斯网络科技(上海)有限公司 Protocol upgrading method, device, electronic equipment, storage medium and program product
CN115499520A (en) * 2022-11-21 2022-12-20 北京蓝天航空科技股份有限公司 Interface control file updating method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN102779056B (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN102779056A (en) Long-distance program updating method and system
CN103024773B (en) Wireless router method for upgrading software, management devices and system
CN103024074B (en) DSP (digital signal processor) remote wireless upgrading method based on GPRS (general packet radio service)
CN103716390A (en) Method and terminal for data sharing
CN102291424A (en) Vehicle-mounted GPRS (general packet radio service) communication system with FTP (file transfer protocol) remote wireless upgrading function and method thereof
CN102855152A (en) Method and system for upgrading resource files in application programs
CN102054045B (en) System and method for updating resources of electronic device
CN106411619A (en) Wireless equipment upgrading method based on low-power-consumption wide area network
CN104506367A (en) Updating management system
CN105049502A (en) Method of upgrading equipment software in cloud network management system and device
CN105553684B (en) A kind of communication system and its router upgrade method of application
CN104537119A (en) Update method of cache data, data use terminal and system
CN103905574A (en) DNS service access method and DNS data synchronization method and device
CN102624875A (en) Method for replacing or updating language packs of terminal equipment
CN104991806A (en) Remote firmware upgrading system and method for single-chip microcomputer program
CN102546811A (en) Method and device for arranging browser plugin on mobile terminal
CN104243429A (en) Method, device and system for achieving browser bookmark synchronization
CN101482883B (en) Method and system for on-line updating characteristic character library
CN202094943U (en) GPRS vehicle-mounted communication system having FTP remote wireless upgrade function
CN102685155B (en) The method that content transmits, content delivering server and content transmit proxy server
CN101556583B (en) Method for efficiently controlling embedded linux file system version
CN101502149B (en) A network managing system for completing customized operation automatically and a method thereof
CN103354505A (en) Method for batch upgrading of electronic device cluster software
CN102681876A (en) Online distributed system updating method
CN103686685A (en) Wireless communication module over-the-air upgrading method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Nanhai Road No. 1079 Garden City digital building block A No. 901A

Patentee after: Chipsea Technology (Shenzhen) Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Nanhai Road No. 1079 Garden City digital building block A No. 901A

Patentee before: Xinhai Science and Technology Co., Ltd., Shenzhen City