CN101807149B - Firmware updating method capable of restoring firmware safely and embedded electronic device of firmware - Google Patents

Firmware updating method capable of restoring firmware safely and embedded electronic device of firmware Download PDF

Info

Publication number
CN101807149B
CN101807149B CN 200910006488 CN200910006488A CN101807149B CN 101807149 B CN101807149 B CN 101807149B CN 200910006488 CN200910006488 CN 200910006488 CN 200910006488 A CN200910006488 A CN 200910006488A CN 101807149 B CN101807149 B CN 101807149B
Authority
CN
China
Prior art keywords
firmware
update
new firmware
module
update mode
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.)
Active
Application number
CN 200910006488
Other languages
Chinese (zh)
Other versions
CN101807149A (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.)
Novatek Microelectronics Corp
Original Assignee
Novatek Microelectronics Corp
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 Novatek Microelectronics Corp filed Critical Novatek Microelectronics Corp
Priority to CN 200910006488 priority Critical patent/CN101807149B/en
Publication of CN101807149A publication Critical patent/CN101807149A/en
Application granted granted Critical
Publication of CN101807149B publication Critical patent/CN101807149B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a firmware updating method of a remote embedded electronic device, which comprises: reading an update state in a read-only memory and differentiating the update state; if the update state is a default state, executing default firmware; if the update state is a non-default state, judging if the update state is an updated state; if the update state is the updated state, setting a setting area in a starting state and executing new firmware; if the updating state is a non-updated state, judging if the update state is a new firmware executing state; if the update state is the new firmware executing state, executing the new firmware and executing an update confirmation method; if an update completion message is obtained after the update confirmation method is executed, setting the update state as the new firmware executing state; if the update state is not the new firmware executing state, executing the default firmware.

Description

The firmware update that can restore safely and embedded electronic device thereof
Technical field
The present invention is about a kind of firmware method for updating substantially, and particularly relevant for a kind of firmware update that can restore safely and embedded electronic device thereof for embedded electronic device.
Background technology
After embedded electronic device (embedded electronic device) can allow the user manually new firmware (firmware) be downloaded by the Internet (Internet) by many modes at present, be updated on the embedded electronic device.Common embedded electronic device firmware update comprises the firmware of confirming to have above the server (server) redaction earlier by the Internet, downloads this redaction firmware then, is installed to above the device of appointment.Also can store the new firmware of download by a particular storage device on device in addition, and judge whether and to upgrade with a mark (flag), and remove this mark in successfully upgrading the back.Moreover, whether also can judge the user by key combination special on the lower device, the firmware by USB (universal serial bus) (universal serial bus is called for short USB) line actuating unit upgrades again.But mostly these update methods are directly to download the redaction firmware and remove to cover old firmware, do not having under the back mechanism situation, if in firmware renewal, write store process abnormal problem takes place, for example the system failure (crash), power failure or this redaction firmware itself have problem, and this device can't normal operation after the firmware renewal process.Most of embedded electronic devices can't allow that (for example hanging the digital camera of surveillance on the wall) takes place to upgrade wrong situation, just possibly can't normally start in case renewal is wrong, also just can't upgrade again.Take place but but always have many abnormal error situations on stream, so need there be a cover mechanism can upgrade firmware safely.
Can't normal operation after firmware upgrades for fear of embedded electronic device, also there are some corresponding methods to adopt.For example, use two block storage zones to deposit old firmware and redaction firmware, and by special mark, for example verification and (checksum) judge whether firmware upgrades correct.If firmware upgrades when incorrect, can drive old firmware by button control by the user and start shooting again.In addition, also can be introduced into a special pattern before the firmware renewal process, when firmware upgrades when incorrect, the default System Monitor (watchdog) of device drives old firmware again and starts shooting again when Preset Time arrives thus.But these need extra hardware circuit or hardware to reach, and still can't guarantee can normally start after firmware upgrades at every turn, even need fetch this embedding by manual type after upgrading the firmware failure and show that electronic installation upgrades firmware with additive method.
Summary of the invention
For solving the above problems, the invention provides a kind of firmware update, be applicable to a far-end embedded electronic device.
The present invention provides a kind of firmware update in addition, is applicable to embedded electronic device.
The present invention provides a kind of far-end embedded electronic device in addition, is applicable to above-mentioned firmware update.
In order to reach above-mentioned or other purposes, according to embodiments of the invention, the invention provides a kind of firmware update, be applicable to the far-end embedded electronic device.Firmware update comprises carries out start-up routine carrying out initialized setting, to read the update mode of the setting regions in the ROM (read-only memory), and judges update mode.If update mode is default conditions, then carry out default firmware.If update mode is non-to be default conditions, judge that then whether this update mode is update mode.If update mode is update mode, then this setting regions is set at starting state, and carries out new firmware.If update mode is not to be update mode, judge further then whether update mode is to carry out new firmware state.If update mode is then carried out new firmware for carrying out new firmware state, and carry out and upgrade confirmation method, obtain confirming to upgrade finishing message if upgrade confirmation method, then this update mode is set at the new firmware state of carrying out.If update mode is not for carrying out new firmware state, then represent renewal failure last time, can carry out default firmware at this moment, being returned to initial default pattern.
According to embodiments of the invention, the present invention provides a kind of firmware update of embedded electronic device in addition.Wherein, the firmware update of embedded electronic device comprises the execution start-up routine, carries out initialized setting, confirms whether the update mode of the setting regions of embedded electronic device enters update mode, and carry out and upgrade confirmation method.Enter update mode if confirm the update mode of the setting regions of embedded electronic device, then update mode is set at starting state, and carries out new firmware.Obtain confirming to upgrade finishing message if upgrade confirmation method, then update mode is set at and carries out new firmware state, when starting again afterwards, this embedded electronic device just can use new firmware.On the contrary, do not obtain confirming to upgrade finishing message if upgrade confirmation method, then update mode is starting state still, just can carry out default firmware when restarting, and is returned to initial default pattern.
According to embodiments of the invention, the present invention provides a kind of far-end embedded electronic device in addition, in order to carry out above-mentioned firmware update.This far-end embedded electronic device comprises processor, random access memory, ROM (read-only memory) and IO interface.Wherein, ROM (read-only memory) is divided into four zones, and these four zones are respectively in order to store start-up routine, setup parameter, default firmware and new firmware.And IO interface comprises network interface.
Based on above-mentioned, embodiments of the invention provide a firmware update that can restore safely, by update mode and the affirmation firmware success method for updating of confirming embedded electronic device, to allow this embedded electronic device when firmware upgrades mistake, select default firmware to start shooting again to guarantee and to upgrade again.
For above-mentioned feature and advantage of the present invention can be become apparent, embodiment cited below particularly, and cooperate appended graphic being described in detail below.
Description of drawings
Fig. 1 is the system construction drawing of a kind of embedded electronic device of proposing according to embodiments of the invention.
Fig. 2 is a kind of process flow diagram of embedded electronic device boot program.
Fig. 3 is the process flow diagram of a kind of embedded electronic device firmware update of proposing according to embodiments of the invention.
Fig. 4 is the process flow diagram of selecting to use the method for firmware in a kind of embedded electronic device firmware update that proposes according to embodiments of the invention.
Fig. 5 is the detail flowchart that the method for affirmation program is upgraded in the execution of hookup four.
Fig. 6 is the synoptic diagram of an IP video camera environment for use proposing according to embodiments of the invention.
The main element symbol description:
100: embedded electronic device
110,610: processor
120,620: ROM module
122,622: the start-up routine zone
124,624: setting regions
126,626: the default firmware zone
128,628: new firmware zone
130: random access memory modules
140: input and output interfaces
142: network interface
The 144:USB interface
146: mass storage device interfaces
148: other input-output device interfaces
S202~S206: according to the step of the embedded electronic device boot program of embodiment of the invention explanation
S302~S312: according to the step of the embedded electronic device firmware update of embodiment of the invention explanation
S402~S418: according to the step of the method for selecting the use firmware in the firmware update of embodiment of the invention explanation
S502~S516: the step of confirming program according to the renewal of embodiment of the invention explanation
The 600:IP camera device
612: random access memory modules
620: flash memory module
630: network interface
632: sensor interface
640: the firmware downloads server
650: user's set
660: the Internet
Embodiment
Now will in detail with reference to embodiments of the invention, the example is illustrated in the accompanying drawing, and subsidiary one what carry is that identical reference marker is used for representing same or analogous parts in the whole accompanying drawing.
Fig. 1 illustrates the system block diagrams of a kind of embedded electronic device 100 that proposes according to embodiments of the invention.This embedded electronic device 100 comprises processor 110, ROM module (Read OnlyMemory Module, abbreviate the ROM module as) 120, random access memory modules (RandomAccess Memory Module abbreviates the RAM module as) 130 and input and output interfaces 140.The RAM module 130 program storage modules of this embedded electronic device 100, described program module is carried out the one or more processes that produce media program when being carried out by processor 110.RAM module 130 can be one or more storage arrangements, in order to data on file and software program, and one of also can for example comprise in RAM, magnetic storage apparatus, flash memory storage (Flash Memory Storage) equipment or the optical storage apparatus or many persons.Processor 110 can be provided as one or more being configured (configuration) with the processor of execution of program modules.
As shown in Figure 1, the ROM module 120 of this embedded electronic device 100 is divided into four zones, and these four zones are respectively start-up routine (Boot Loader) zone 122, setting regions 124, default firmware zone 126 and new firmware zone 128.In addition, the input and output interfaces 140 of this embedded electronic device 100 comprises network interface 142, USB (universal serial bus) (Universal Serial BusInterface abbreviates USB interface as) 144, mass storage device interfaces 146 and other input-output device interfaces 148.
In the present embodiment, the start-up routine 122 of ROM module 120 is to start (BootLoader) program in order to storage.This start-up routine is in order to carrying out the action of some initialization (Initialization), and main firmware program module is written in the RAM module 130 carries out.
In one embodiment of this invention, the setting regions 124 of ROM module 120 is in order to store setup parameter.This setup parameter comprises the update mode of firmware.Wherein update mode can be divided into four kinds of states, is respectively acquiescence (DEFAULT) state, upgrades (UPDATED) state, startup (BOOTING) state and carry out new firmware (RUNNEW) state.
In the present embodiment, the default firmware zone 126 of ROM module 120 is in order to store default firmware.This default firmware possesses the ability that makes embedded electronic device 100 normal operations and be updated firmware.
In addition, the new firmware zone 128 of ROM module 120 is in order to store new firmware.
What deserves to be mentioned is that at this above-described firmware can be to comprise operating system, archives economy, firmware refresh routine, firmware renewal scrutiny program and other relevant application programs.
Continue above-mentioned present embodiment, the network interface 142 of input and output interfaces 140 can be a local network interface, in order to link embedded electronic device 100 to a server (Server) of the new firmware of storage.Moreover this local network interface also can be attached to this embedded electronic device 100 the Internet (Internet), in order to link embedded electronic device 100 to a server (Server) of the new firmware of storage.In addition, the network interface 142 of the embedded electronic device among the present invention 100 also can be one and dials and connects network connectivity interface, radio network interface, a MAN (Metropolitan AreaNetwork) interface, Wide Area Network (Wide Area Network) interface or a fiber optic network (Optical Fiber Network) interface.
The USB (universal serial bus) 144 of input and output interfaces 140 is downloaded new firmware in order to this embedded electronic device 100 is linked to other electronic installations.For example, these other electronic installations can be portable memory modules, can be one or more storage arrangements, in order to data on file and software program, and one of also can for example comprise in RAM, magnetic storage apparatus, flash memory storage equipment or the optical storage apparatus or many persons.Again for example, these other electronic installations can be mobile computers (Computer).
The mass storage device interfaces 146 of input and output interfaces 140 is downloaded new firmware in order to this embedded electronic device 100 is linked to an external storage device.For example, this external storage device can be a portable storage card (Memory Card).Again for example, this external storage device can be a portable memory module, can be one or more storage arrangements, in order to data on file and software program, and one of also can for example comprise in RAM, magnetic storage apparatus, flash memory storage equipment or the optical storage apparatus or many persons.
In addition, input and output interfaces 140 also comprises other input-output device interface 148.For example, these other input-output device interfaces can be high-effect serial bus interface (organize to set up for ieee standard, abbreviate IEEE 1394 interfaces as).
Fig. 2 has illustrated a kind of process flow diagram of embedded electronic device boot program.At first, in step S202, processor 110 copies to the start-up routine in the ROM (read-only memory) 120 in the RAM module 130 and carries out this start-up routine.
Then, in step S204, start-up routine copies to firmware program in the RAM module 130 and carries out this firmware program.
Then, in step S206, firmware program carries out initialization action to peripheral hardware and carries out related application in the firmware archives.When needs upgrade firmware, then need carry out a firmware refresh routine.Below will be with a kind of technological means of upgrading the firmware method in Fig. 3~5 explanation one embodiment of the invention.
Fig. 3 illustrates the process flow diagram of a kind of embedded electronic device firmware update that proposes according to embodiments of the invention.At first, in step 302, the firmware refresh routine that processor 110 is carried out in the ROM (read-only memory) 120.
Then, in step 304, this firmware refresh routine is obtained new firmware archives.The method that obtains these new firmware archives comprises by network interface 142 and a server of input and output interfaces 140 sets up line, and this server has the new firmware archives that can download.In addition, this firmware refresh routine can be obtained new firmware archives by other approach, and for example, this firmware refresh routine can be connected to another server by the usb 1 44 of input and output interfaces 140 and come the following new firmware archives that are loaded in the server.Again for example, this firmware refresh routine can be connected to a circumscribed storage card and come to be loaded in down the new firmware archives that connect in addition in the formula storage card by the mass storage device interfaces 146 of input interface 140.Again for example, this firmware refresh routine can be connected to an optical memory module by an IEEE 1394 interfaces, and the optical memory module is downloaded new firmware archives thus.
Moreover in step S306, this firmware refresh routine is removed the new firmware zone 128 in the ROM module 120.
Then, in step S308, this firmware refresh routine will be written in the new firmware zone 128 to download successful new firmware archives.
In step S310, whether the new firmware that this firmware refresh routine reads in this new firmware zone 128 is identical with the new firmware of obtaining before.If the new firmware in the new firmware zone 128 is identical with the new firmware of obtaining before, then carry out follow-up step S312.On the contrary, if the new firmware in the new firmware zone 128 is different with the new firmware of obtaining before, then re-execute step S304.
In step S312, this firmware refresh routine is set at " upgrading " state with the update mode in the setting regions 124 of ROM module 120.
In the present embodiment, can't restart after firmware upgrades failure for fear of embedded electronic device, provide a method in addition when firmware upgrades the back startup, selection will use default firmware or new firmware to start this embedded electronic device.Below will the technological means that this selects the method for firmware be described with Fig. 4.
Fig. 4 has illustrated the process flow diagram that the method for firmware is used in the selection that proposes according to embodiments of the invention, and this method of selecting the use firmware is to carry out when starting embedded electronic device.At first, in step S402, processor 110 is carried out start-up routine.
Then, in step among the S404, start-up routine reads in the update mode in the setting regions 124 of ROM module 120.
Moreover among the S406, start-up routine checks whether this update mode is " acquiescence " state in step.If update mode is " acquiescence " state, then execution in step S414 carries out default firmware.If update mode is not " acquiescence " state, then carry out next step S408.
In step S408, start-up routine checks whether this update mode is " upgrading " state.If update mode is " upgrading " state, then execution in step S412.If update mode is not " upgrading " state, then execution in step S410.
In step S410, start-up routine checks whether this update mode is " carrying out new firmware " state.If update mode is " carrying out new firmware " state, then execution in step S416.If update mode is not " carrying out new firmware " state, then execution in step S414.
In step S412, start-up routine is set at " startup " with the update mode in the setting regions 124 of ROM module 120.
Then, in step S416, system carries out new firmware.
At last, in step S418, carry out and upgrade the affirmation program.Below will illustrate that this upgrades the technological means of affirmation program with Fig. 5.
Fig. 5 is the detail flowchart that the affirmation program is upgraded in the execution of Fig. 4.At first, in step S502, processor 110 is carried out and is upgraded the affirmation program.
Then, in step S504, upgrade the update mode in the setting regions 124 that the affirmation program reads ROM module 120.
Moreover, in step S506, upgrade and confirm whether this update mode of program checkout is " startup ".If update mode is " startup ", then carry out next step S508.If update mode is not " startup ", then finish this flow process.
Then, in step S508, upgrade and confirm whether program checkout has enough available random access memory.If enough available random access memory is arranged, then carry out next step S510.If there is not enough available random access memory, then finish this flow process.
In step S510, upgrade and confirm whether program checkout system peripherals (System Peripheral) state is normal, and this system peripherals state can be network interface, USB interface or mass storage device interfaces.If the system peripherals state is normal, then carry out next step S512.If it is normal that the system peripherals state is not running, then finish this flow process.
In step S512, upgrade and confirm whether the program checkout ROM (read-only memory) operates normally.If the ROM (read-only memory) running is normal, then carry out next step S514.If it is normal that ROM (read-only memory) is not running, then finish this flow process.
In step S514, upgrade and confirm whether other correlation functions of program checkout operate normally.This mutually his correlation function can be the major function of this embedded electronic device, for example transmission control protocol (Transport Control Protocol abbreviates TCP as), procotol (Internet Protocol abbreviates IP as), User Datagram Protoco (UDP) (User Datagram Protocol abbreviates UDP as), streaming media service (Streaming Service) function or with streaming media server (Streaming Server) function that line is relevant.If these correlation function runnings are normal, then carry out next step S516.If it is normal that these correlation functions are not running, then finish this flow process.
At last, in step S516, upgrade the affirmation program update mode in the setting regions 124 of ROM module 120 is set at " carrying out new firmware ".
With reference to Fig. 4 and Fig. 5, mention among the present invention and how to select to use default firmware or the mode of new firmware, mainly be to be judged by the update mode in the setting regions 124.When wherein critical step was carried out for upgrading the back for the first time, start-up routine temporarily changed update mode into " startup ", then carries out new firmware.In this new firmware, need comprise and upgrade the affirmation program, it is all no problem to have only when upgrade confirming that the major function of storage space size, system peripherals unit state, ROM (read-only memory) access status and this embedded electronic device is crossed in program test, also be this new firmware when having again the ability of upgrading, update mode could be set for " carrying out new firmware " afterwards.Also can use new firmware when so, this embedded electronic device is started shooting again.But if any mistake takes place in system in the new firmware implementation, causing upgrading the affirmation program can't normally finish, update mode just still is left " startup ", and when starting shooting next time, start-up routine just can remove to carry out default firmware according to the flow process that Fig. 4 illustrates.A kind of far-end embedded electronic device and the applied environment thereof of using a kind of embedded electronic device firmware update of the present invention below will be described with the embodiment of Fig. 6.
Fig. 6 is the synoptic diagram of IP camera device 600 environments for use according to an embodiment of the invention.The environment that this IP camera device uses comprises this IP camera device 600, firmware downloads server 640, user's set 650 and the Internet 660.Wherein, this IP camera device 600, firmware downloads server 640 and user's set 650 link together by the Internet 660.
This IP camera device 600 has the image that video camera is shot with video-corder, and after handling through suitable compression, is sent to default customer set up 650 by network.This customer set up 650 can be a computing machine or the device with the function that supervises IP camera device 600 image of shooting with video-corder.The user can utilize this customer set up 650 IP camera device 600 image of shooting with video-corder that supervises or make video recording.In addition, the user also can manual type download the new firmware of this IP camera device 600 by firmware downloads server 640, and uploads this new firmware to IP camera device 600 and carry out the firmware refresh routine.When upgrading, IP camera device 600 namely resets automatically after firmware is finished, and the firmware that flow performing is new as described in Figure 4 and renewal affirmation program.
In the present embodiment, except the coherence check flow process of above-mentioned Fig. 5, this IP camera device 600 checks also whether correlation function operates normally, for example: application programs such as sensor interface 632, network connectivity state, web service, streaming media server etc.
If above-mentioned check result all just often, will use new firmware when this IP camera device 600 restarts next time, if above-mentioned check result is not all just often, then can carry out default firmware when restarting next time.
In sum, the update mode of the present invention by confirming embedded electronic device, confirms successfully to upgrade the method for firmware, and the firmware renewal of selecting default firmware to start shooting again to reach when making a mistake can to restore safely.Therefore can not use under the general situation of special circuit, allow the firmware after upgrading when making a mistake, be unlikely to and to save, can start shooting again and automatically perform default firmware, and can upgrade again by default firmware.
Though the present invention discloses as above with embodiment; so it is not in order to limit the present invention; have in the technical field under any and know the knowledgeable usually; without departing from the spirit and scope of the present invention; when doing a little change and retouching, so protection scope of the present invention is as the criterion when looking the accompanying Claim person of defining.

Claims (28)

1. a firmware update is applicable to electronic installation, and wherein this method comprises:
Carry out a start-up routine, carry out initialized setting;
Read the update mode of the setting regions in the storer; And
Judge this update mode, if default conditions are then carried out a default firmware start-up system, if not be default conditions, the judgement under then carrying out:
Judge that whether this update mode is a update mode,
If this update mode is this update mode, then this setting regions is set at starting state, and carries out a new firmware,
If this update mode is not this update mode, then carry out following judgement:
Judge whether this update mode is the new firmware state of an execution,
If this update mode is carried out new firmware state for this, then carry out this new firmware, and upgrade confirmation method in starting back execution one,
If this update mode is not that this carries out new firmware state, then carry out this default firmware,
Wherein this renewal confirmation method comprises:
Read the update mode of the setting regions in this storer; And
Judge whether this update mode is this starting state,
If this update mode is not this starting state, then finish to upgrade confirmation method,
If this update mode is this starting state, then check the condition of downloading this new firmware again that whether meets,
If meet the condition that those download this new firmware again, then send one and confirm to finish message, and this update mode is set at this carries out new firmware state.
2. firmware update as claimed in claim 1, wherein those conditions of downloading this new firmware again comprise the line path of setting up this electronic installation and a server, to reach the ability of downloading this new firmware again.
3. firmware update as claimed in claim 2, wherein those download the condition of this new firmware again, in order to the running of the system peripherals device that checks this electronic installation, this storer, this storage space size one of them or its combination.
4. firmware update as claimed in claim 1, wherein this method comprises that also this electronic installation sets up the line path via a Internet and a server, and downloads this new firmware by this server.
5. firmware update as claimed in claim 1, wherein this method comprises that also this electronic installation is dialed and connected network via one and a server is set up the line path, and downloads this new firmware by this server.
6. firmware update as claimed in claim 1, wherein this method comprises that also this electronic installation sets up the line path via a local network interface and a server, and downloads this new firmware by this server.
7. firmware update as claimed in claim 1, wherein this method comprises that also this electronic installation sets up the line path via a radio network interface and a server, and downloads this new firmware by this server.
8. firmware update as claimed in claim 1, wherein this storer be in this electronic installation a plurality of ROM (read-only memory) one of them.
9. firmware update as claimed in claim 8, wherein this ROM (read-only memory) is flash ROM.
10. a firmware update is applicable to electronic installation, and its method comprises:
Carry out a start-up routine, carry out initialized setting;
Whether a update mode of confirming a setting regions of the storer in this electronic installation enters a update mode,
If the update mode of this setting regions of this storer is to enter this update mode, then this update mode is set at a starting state, and carries out a new firmware; And
Carry out one and upgrade confirmation method,
If this renewal confirmation method obtains an affirmation renewal and finishes message, then this update mode is set at this and carries out new firmware state, and allow this electronic installation use new firmware,
Wherein this renewal confirmation method comprises judging whether this update mode is this starting state,
If this update mode is not this starting state, then finish to upgrade confirmation method,
If this update mode is this starting state, then check the condition of downloading this new firmware again that whether meets,
If meet the condition that this downloads this new firmware again, then send this affirmations renewal and finish message, and this update mode is set at this carries out new firmware state.
11. firmware update as claimed in claim 10, wherein those download the condition of this new firmware again, in order to set up the line path of this electronic installation and a server, to reach the ability of downloading this new firmware again.
12. firmware update as claimed in claim 11, wherein those conditions of downloading this new firmware again also comprise running, this storage space size one of them or its combination of the system peripherals device that checks this electronic installation, this storer.
13. firmware update as claimed in claim 10, wherein this method comprises that also this electronic installation sets up the line path via a Internet and a server, and downloads this new firmware by this server.
14. firmware update as claimed in claim 10, wherein this method comprises that also this electronic installation is via this new firmware of USB (universal serial bus) download.
15. firmware update as claimed in claim 10, wherein this method comprises that also this electronic installation is via this new firmware of memory device interface download.
16. firmware update as claimed in claim 10, wherein this method comprises that also this electronic installation sets up the line path via a local network interface and a server, and downloads this new firmware by this server.
17. firmware update as claimed in claim 10, wherein this method comprises that also this electronic installation sets up the line path via a radio network interface and a server, and downloads this new firmware by this server.
18. a firmware update system is applicable to electronic installation, it is characterized in that, comprising:
Be used for carrying out a start-up routine, the module of carrying out initialized setting;
Whether a update mode that be used for to confirm a setting regions of the storer in this electronic installation enters the module of update mode;
Be used for then this update mode being set at a starting state, and carrying out the module of a new firmware if the update mode of this setting regions of this storer is to enter this update mode;
Be used for carrying out the module of a renewal confirmation method; And
Be used for confirming that renewal finishes message if this renewals confirmation method obtains one, then this update mode be set at this and carry out new firmware state, and allow this electronic installation use the module of new firmware,
The module that wherein is used for this renewal confirmation method of execution comprises;
Be used for judging whether this update mode is the module of this starting state;
Be used for then finishing the module of this renewal confirmation method if this update mode is not this starting state;
Be used for if this update mode is this starting state, then check the module that whether meets the condition of downloading this new firmware again; And
Be used for if meet the condition that this downloads this new firmware again, then send this affirmation renewal and finish message, and this update mode is set at the module that this carries out new firmware state.
19. firmware update system as claimed in claim 18, be used for wherein checking that the module that whether meets the condition of downloading this new firmware again also comprises: in order to set up the line path of this electronic installation and a server, to reach the module of the ability of downloading this new firmware again.
20. firmware update system as claimed in claim 19 be used for to check that wherein the module that whether meets the condition of downloading this new firmware again also comprises: the module that is used for checking running, storage space size one of them or its combination of running, the storer of IO interface, the random access memory of this electronic installation.
21. firmware update system as claimed in claim 20, wherein this IO interface of this device comprises:
USB (universal serial bus); And
The circumscribed mass storage device interfaces.
22. firmware update system as claimed in claim 18, be used for wherein checking that the module that whether meets the condition of downloading this new firmware again comprises: be used for setting up the line path via a Internet and a server, to reach the module of the ability of downloading this new firmware again.
23. firmware update system as claimed in claim 18, be used for to check that wherein the module that whether meets the condition of downloading this new firmware again comprises: be used for dialing and connecting network and a server is set up the line path via one, to reach the module of the ability of downloading this new firmware again.
24. firmware update system as claimed in claim 18, be used for wherein checking that the module that whether meets the condition of downloading this new firmware again comprises: be used for setting up the line path via a Local Area Network and a server, to reach the module of the ability of downloading this new firmware again.
25. firmware update system as claimed in claim 18, be used for wherein checking that the module that whether meets the condition of downloading this new firmware again comprises: be used for setting up the line path via a wireless network and a server, to reach the module of the ability of downloading this new firmware again.
26. firmware update system as claimed in claim 18, be used for wherein checking that the module that whether meets the condition of downloading this new firmware again comprises: be used for setting up the line path via a MAN and a server, to reach the module of the ability of downloading this new firmware again.
27. firmware update system as claimed in claim 18, be used for wherein checking that the module that whether meets the condition of downloading this new firmware again comprises: be used for setting up the line path via a Wide Area Network and a server, to reach the module of the ability of downloading this new firmware again.
28. firmware update system as claimed in claim 18, be used for wherein checking that the module that whether meets the condition of downloading this new firmware again comprises: be used for setting up the line path via a fiber optic network and a server, to reach the module of the ability of downloading this new firmware again.
CN 200910006488 2009-02-18 2009-02-18 Firmware updating method capable of restoring firmware safely and embedded electronic device of firmware Active CN101807149B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910006488 CN101807149B (en) 2009-02-18 2009-02-18 Firmware updating method capable of restoring firmware safely and embedded electronic device of firmware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910006488 CN101807149B (en) 2009-02-18 2009-02-18 Firmware updating method capable of restoring firmware safely and embedded electronic device of firmware

Publications (2)

Publication Number Publication Date
CN101807149A CN101807149A (en) 2010-08-18
CN101807149B true CN101807149B (en) 2013-08-21

Family

ID=42608955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910006488 Active CN101807149B (en) 2009-02-18 2009-02-18 Firmware updating method capable of restoring firmware safely and embedded electronic device of firmware

Country Status (1)

Country Link
CN (1) CN101807149B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662706A (en) * 2012-04-01 2012-09-12 西安合众思壮导航技术有限公司 Method for remotely reliably upgrading XIP (execute in place) chip software
CN103677862A (en) * 2012-09-04 2014-03-26 中兴通讯股份有限公司 Upgrading method and device of EPLD program
DE102015202791A1 (en) * 2015-02-17 2016-08-18 Robert Bosch Gmbh A firmware update process wirelessly in a wide area network
CN106528326B (en) * 2016-09-22 2019-05-17 维沃移动通信有限公司 A kind of switching method and mobile terminal of baseband chip software
US20190056929A1 (en) * 2017-08-17 2019-02-21 Ability Enterprise Co., Ltd. Data transmission method and communication system
CN110113207A (en) * 2019-05-08 2019-08-09 广州创想云科技有限公司 A kind of method for updating protocol based on Internet of Things, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1734422A (en) * 2004-08-03 2006-02-15 松下电器产业株式会社 Data processing apparatus and firmware update method
CN1734418A (en) * 2004-08-09 2006-02-15 上海乐金广电电子有限公司 Memory program update method
CN1936844A (en) * 2005-09-23 2007-03-28 三星电子株式会社 Method and system for updating software
CN101004691A (en) * 2007-01-23 2007-07-25 北京映翰通网络技术有限公司 Method and device for updating firmware program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1734422A (en) * 2004-08-03 2006-02-15 松下电器产业株式会社 Data processing apparatus and firmware update method
CN1734418A (en) * 2004-08-09 2006-02-15 上海乐金广电电子有限公司 Memory program update method
CN1936844A (en) * 2005-09-23 2007-03-28 三星电子株式会社 Method and system for updating software
CN101004691A (en) * 2007-01-23 2007-07-25 北京映翰通网络技术有限公司 Method and device for updating firmware program

Also Published As

Publication number Publication date
CN101807149A (en) 2010-08-18

Similar Documents

Publication Publication Date Title
TWI386847B (en) Method of safe and recoverable firmware update and device using the same
JP6390644B2 (en) Program update system, program update method, and computer program
CN101807149B (en) Firmware updating method capable of restoring firmware safely and embedded electronic device of firmware
EP2096538A1 (en) Communication device and firmware update method thereof
CN109634645B (en) Firmware upgrading method and terminal
CN101770372B (en) Firmware update system, method and building method of firmware of firmware update system
US20070169129A1 (en) Automated application configuration using device-provided data
CN102667716A (en) Methods and devices for updating firmware of a component using a firmware update application
KR100952585B1 (en) Method and system for automatic recovery of an embedded operating system
JP5895385B2 (en) Image output apparatus and program thereof
JP2005242691A (en) Program downloading/switching method and device for it
CN109582372A (en) A kind of starting method and device of system
JP2001331327A (en) Electronic equipment
CN106484442B (en) Server system and method for updating startup mapping file
JP2011175352A (en) Firmware updating device, communication apparatus, electronic apparatus, firmware updating system, firmware updating method and program
KR20160006495A (en) Booting image restoration system and restoration method thereof
CN114237722A (en) System starting method, device, equipment and engineering vehicle
CN110659052B (en) Method and system for updating system software in network equipment and readable storage medium
EP1519270A1 (en) Information processing unit and method, recording medium, and program
CN113138785A (en) Application program updating method and device
JP2005092708A (en) Software update system and method, and computer program
CN111464321A (en) Information acquisition device, firmware updating method and system of embedded system device
JP5435648B2 (en) File sharing device, firmware update method for file sharing device, and computer program
TWI792147B (en) Management system and device operation method with preloaded user interface
EP1768411A1 (en) Television camera system and respective configuring 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