CN100367207C - Firmware updating method - Google Patents
Firmware updating method Download PDFInfo
- Publication number
- CN100367207C CN100367207C CNB2004100459057A CN200410045905A CN100367207C CN 100367207 C CN100367207 C CN 100367207C CN B2004100459057 A CNB2004100459057 A CN B2004100459057A CN 200410045905 A CN200410045905 A CN 200410045905A CN 100367207 C CN100367207 C CN 100367207C
- Authority
- CN
- China
- Prior art keywords
- firmware
- program code
- firmware program
- update
- file
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The present invention relates to a firmware updating method for updating a plurality of electronic devices. Firstly, providing a firmware updating file with a plurality of firmware program codes, and describing the firmware program codes to respectively correspond to the electronic devices; then, decompressing a part of the firmware updating file and writing the electronic device; thirdly, checking whether the electronic device has write errors or not; finally, checking whether updating is finished or not, if not, repeating write steps.
Description
Technical field
The present invention relates to a kind of update method, and be particularly related to a kind of update method of firmware.
Background technology
Because the speed of electronic product progress is very fast, often product arrive the user on hand after, need add new function again, or find some mistake.Generally be to right a wrong or increase new function in the mode of upgrading firmware.
In the process of firmware update, firmware update execute file and firmware program code (firmwarecode) need be arranged.The firmware update execute file is to carry out in operating system, and operating system for example is Windows, DOS or Linux, firmware program code is write the flash memory in the electronic product.
Yet, in the general firmware update process, once only can upgrade with regard to an electronic product, in the time of therefore need upgrading as if the electronic product that several different models are arranged, the time that needs cost to upgrade for several times.
In addition, the firmware of recent electronic product is also more and more big, for example is the DVD CD writers, and therefore its firmware program code can't be upgraded under dos operating system promptly greater than 1M bits.
Summary of the invention
In view of this, purpose of the present invention is exactly to carry out providing under a kind of operating system in memory-limited, and can once upgrade the firmware update of multinomial electronic product.
According to purpose of the present invention, a kind of firmware update is proposed, in order to upgrade a plurality of electronic installations.At first, provide a firmware update file with a plurality of firmware program code, these a little firmware program code are the so far a little electronic installations of correspondence respectively.Then, the part of decompression firmware update file, and write corresponding electronic installation.Then, check whether write error is arranged.At last, check whether to upgrade to finish, if not, then repeat write step.
According to another object of the present invention, a kind of firmware update documenting method is proposed.At first, provide a plurality of firmware program code.Then, import a Release parameter and a model parameter of each firmware program file, and confirm.At last, whether decision will be compressed these firmware program code, and produce the firmware update file according to this.
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, a preferred embodiment cited below particularly, and conjunction with figs. are described in detail below.
Description of drawings
Fig. 1 shows the process flow diagram according to a kind of firmware update documenting method of a preferred embodiment of the present invention.
Fig. 2 shows a kind of firmware update process flow diagram according to embodiments of the invention.
Fig. 3 shows the computer system synoptic diagram of the method for using present embodiment.
The reference numeral explanation
300: computer system
310,312,314,316: CD-ROM drive
320: main frame
Embodiment
Please refer to Fig. 1, it shows a kind of firmware update documenting method flow diagram according to a preferred embodiment of the present invention.Method for making in the present embodiment is to make automatically with a program to comprise the updating file of a plurality of firmware program code, so that upgrade a plurality of electronic installations at the same time, for example is DVD ROM, DVD CD writers, motherboard or the like.At first, shown in step 10, receive a plurality of firmware program code, the user can import a plurality of firmware program code in this program.Then, shown in step 12, confirm the parameter such as manufacturer, model of the version of each firmware program code and pairing electronic installation.Because the different employed firmware program code of electronic installation is inequality, therefore when making this updating file, need be confirmed the electronic installation that firmware program code is suitable for, so that when upgrading backward, avoid being updated to wrong version or wrong model.
Then, shown in step 14, whether decision will be with these firmware program code compression.The benefit of compression is that one side can be carried out under the DOS environment, can make updating file can hold more kinds of firmware program code on the other hand.Under the DOS environment, have only the internal memory of 640Kbytes to use, still the firmware of general DVD CD writers is promptly greater than 1Mbytes, and therefore the words of not compressing can't be used under the DOS environment.Therefore the user can be according to the operating system of carrying out when upgrading, or the number of required firmware program code and do the consideration of whether compressing.In the present embodiment, therefore half when not compressing of the firmware program code after the compression can hold more firmware program code.
At last, shown in step 16, produce the updating file that comprises above-mentioned firmware program code.This updating file is can more comprise or do not comprise the renewal execute file, looks closely user's consideration and decides.
After generation comprises the updating file of a plurality of firmware program code, can begin to upgrade according to this firmware of electronic product.Fig. 2 shows a kind of firmware update process flow diagram according to embodiments of the invention.At first, whether shown in step 20, checking needs the firmware program code in this updating file is decompressed, check just whether this updating file compresses firmware program code in manufacturing process.If need to decompress, then execution in step 21, otherwise execution in step 25.
In step 21, the firmware program code in the decompression updating file.This action that decompresses is to separate some earlier, or a complete solution: for example may only separate some earlier under the DOS environment.Then, in step 22, the data that step 21 decompressed are write corresponding electronic installation.More can check the version of firmware program code and the firmware version in the electronic installation in this step, and check that whether firmware program code is consistent with corresponding electronic installation.
Then, whether in step 23, checking has write error.In this step is that the data that will write in step 22 read out, and is compared, to confirm whether to be written to merit.If write error is arranged, then get back to writing again after step 21 decompresses this partial data again, or getting back to step 22 writes again.Then in step 24, check to upgrade whether finish.Do not finish if upgrade as yet, then get back to step 21 and continue the decompression firmware program code.Renewal is a method ends after finishing.
Under the situation of the firmware program code that need not decompress, execution in step 25 directly writes the firmware program code in the updating file corresponding electronic product.Be the mode that to use multithreading (multi-thread) in the step 25, simultaneously a plurality of firmware program code write corresponding electronic product respectively.Then, whether in step 26, checking has write error.If have, then get back to step 25 firmware program code of mistake is write again, otherwise method ends.
Fig. 3 is a computer system synoptic diagram of using the method for present embodiment.Computer system 300 comprises main frame 320 and many CD-ROM drives 310,312,314 and 316.If these CD-ROM drives 310-316 is different model, and need carry out firmware update, utilize the method for present embodiment can once upgrade the firmware of all CD-ROM drives, saving manual operation and valuable time.For example be the production division of computer maintenance department or electronic installation, utilize the method for present embodiment can promote work efficiency and then reduce cost.
The disclosed firmware update of the above embodiment of the present invention can once upgrade many electronic installations, saves manual operation and time, and can carry out under the interior operating system that has a limitation.
In sum; though the present invention discloses as above with a preferred embodiment; right its is not in order to limit the present invention; anyly have the knack of this skill person; without departing from the spirit and scope of the present invention; when can being used for a variety of modifications and variations, so protection scope of the present invention is as the criterion when looking the accompanying Claim book person of defining.
Claims (18)
1. firmware update, in order to upgrade a plurality of electronic installations, this method comprises:
(a) provide a firmware update file with a plurality of firmware program code, these firmware program code correspond to these electronic installations respectively;
(b) part of this firmware update file that decompresses, and write this corresponding electronic installation;
(c) check whether write error is arranged; And
(d) check whether to upgrade and finish, if not, repeating step (b) then,
Wherein, respectively in this firmware program code, has a model parameter, according to the i.e. pairing electronic installation of this firmware program code as can be known of this model parameter.
2. update method as claimed in claim 1 wherein, in the step (c), is to read out in this part that is write in the step (b) from this electronic installation of correspondence, to have judged whether write error.
3. update method as claimed in claim 1, wherein, in step (c), if find to have write error then this part to be re-writed this corresponding electronic installation.
4. update method as claimed in claim 1 wherein, in this firmware program code, is to have a Release parameter respectively, and relatively whether this firmware program code is also newer than the firmware version in the electronic installation of correspondence according to this Release parameter.
5. update method as claimed in claim 1, wherein, the method for making of this firmware update file comprises:
Those firmware program files are provided; One Release parameter and a model parameter of each those firmware program file of input, and confirm;
Compress those firmware program files; And
Firmware program file according to those compressions produces this firmware update file.
6. update method as claimed in claim 5, wherein, this firmware update file more comprises a firmware update execute file.
7. update method as claimed in claim 1 is to be used for dos operating system.
8. firmware update, in order to upgrade a plurality of electronic installations, this method comprises:
Firmware update file with a plurality of firmware program code is provided, and these firmware program code correspond to these electronic installations respectively;
In the mode of multithreading, respectively this firmware program code writes this corresponding electronic installation simultaneously; And
Whether check has write error,
Wherein, in this firmware program code, be to have a model parameter respectively, according to the i.e. pairing electronic installation of this firmware program code as can be known of this model parameter.
9. update method as claimed in claim 8 wherein, checks that step is this firmware program code that reads out in the write step to be write, to have judged whether write error from this electronic installation of correspondence.
10. update method as claimed in claim 8, wherein, in checking step, if find to have write error then this firmware program code to be re-writed this corresponding electronic installation.
11. update method as claimed in claim 8 wherein, in this firmware program code, is to have a Release parameter respectively, relatively whether this firmware program code is also newer than the firmware version in the electronic installation of correspondence according to this Release parameter.
12. update method as claimed in claim 8, wherein, the method for making of this firmware update file comprises:
These firmware program files are provided;
One Release parameter and a model parameter of each those firmware program file of input, and confirm; And
Produce this firmware update file according to these firmware program files.
13. update method as claimed in claim 12, wherein, this firmware update file more comprises a firmware update execute file.
14. update method as claimed in claim 8 is to be used for Windows operating system.
15. a firmware update documenting method comprises:
A plurality of firmware program code are provided;
One Release parameter and a model parameter of each those firmware program file of input, and confirm; And
Whether decision will be compressed those firmware program code, and produces this firmware update file according to this decision.
16. method for making as claimed in claim 15 wherein, in the decision compression step, is to determine whether compress according to the applied operating system of this updating file.
17. method for making as claimed in claim 16 wherein, if this operating system is Windows, does not then need these firmware program code are compressed.
18. method for making as claimed in claim 16 wherein, if this operating system is DOS, then needs these firmware programs are compressed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100459057A CN100367207C (en) | 2004-05-24 | 2004-05-24 | Firmware updating method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100459057A CN100367207C (en) | 2004-05-24 | 2004-05-24 | Firmware updating method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1702618A CN1702618A (en) | 2005-11-30 |
CN100367207C true CN100367207C (en) | 2008-02-06 |
Family
ID=35632381
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100459057A Expired - Fee Related CN100367207C (en) | 2004-05-24 | 2004-05-24 | Firmware updating method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100367207C (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9116774B2 (en) * | 2013-05-14 | 2015-08-25 | Sandisk Technologies Inc. | Firmware updates for multiple product configurations |
CN103425508A (en) * | 2013-05-27 | 2013-12-04 | 林永宗 | Zigbee firmware compressing and updating method |
CN103425515B (en) * | 2013-09-04 | 2016-09-07 | 珠海金山网络游戏科技有限公司 | A kind of method and system updating software client |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000004467A1 (en) * | 1998-07-15 | 2000-01-27 | Cybear, Inc. | Microfiche appendix reference |
JP2000207193A (en) * | 1999-01-13 | 2000-07-28 | Nec Ibaraki Ltd | Magnetic tape unit and firmware updating method for the same |
US6543010B1 (en) * | 1999-02-24 | 2003-04-01 | Hewlett-Packard Development Company, L.P. | Method and apparatus for accelerating a memory dump |
US6611902B2 (en) * | 2000-11-13 | 2003-08-26 | Matsushita Electric Industrial Co., Ltd. | Information processor and information processing method |
TW561345B (en) * | 2001-05-22 | 2003-11-11 | Benq Corp | Data processing system and method for embedded system |
-
2004
- 2004-05-24 CN CNB2004100459057A patent/CN100367207C/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000004467A1 (en) * | 1998-07-15 | 2000-01-27 | Cybear, Inc. | Microfiche appendix reference |
JP2000207193A (en) * | 1999-01-13 | 2000-07-28 | Nec Ibaraki Ltd | Magnetic tape unit and firmware updating method for the same |
US6543010B1 (en) * | 1999-02-24 | 2003-04-01 | Hewlett-Packard Development Company, L.P. | Method and apparatus for accelerating a memory dump |
US6611902B2 (en) * | 2000-11-13 | 2003-08-26 | Matsushita Electric Industrial Co., Ltd. | Information processor and information processing method |
TW561345B (en) * | 2001-05-22 | 2003-11-11 | Benq Corp | Data processing system and method for embedded system |
Also Published As
Publication number | Publication date |
---|---|
CN1702618A (en) | 2005-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10649769B2 (en) | Vehicle-mounted control device, program writing device, program generating device and program | |
CN106126290B (en) | Application program optimization method, apparatus and system | |
KR101467515B1 (en) | Apparatus and method for booting based on a snapshot image | |
US20170147329A1 (en) | Systems and methods for bios update optimization | |
WO2008007922A1 (en) | Program upgrade system and method for ota-capable mobile terminal | |
CN105302663A (en) | Mirror image starting method and terminal equipment | |
TW200537375A (en) | Firmware updating method | |
CN110825419B (en) | Firmware refreshing method and device, electronic equipment and storage medium | |
CN101957765A (en) | Method, system and equipment for updating equipment firmware | |
CN106293849B (en) | application updating method and terminal | |
CN112783558B (en) | Method for accelerating self-decompression phase of Linux kernel start | |
CN100367207C (en) | Firmware updating method | |
US8892856B2 (en) | Firmware flashing method and related computer system | |
US20040181777A1 (en) | Method and device for programming electronic devices using a uniform parameter format | |
CN103713922B (en) | A kind of method and system of dynamic replacement driver codes of modules of Android device | |
CN115033296A (en) | UEFI and Linux-based domestic operating system starting method and UEFI and Linux-based domestic operating system starting device | |
CN101996660B (en) | Data compression/decompression method, data decompression method, and optical disc drive utilizing the method | |
CN112527366B (en) | Update rollback fault tolerant design technique for embedded processor boot | |
CN114911533A (en) | NorFlash interface-based chip starting method | |
CN109710581B (en) | Method for decompressing compressed data in qcow image file | |
CN111552498B (en) | Method and system for realizing screen parameter upgrading of display screen | |
KR100652664B1 (en) | Operating program automatic restoration method for mobile communication device | |
KR100636518B1 (en) | Method for upgrade of firmware in mobile telecommunication terminal | |
CN1529236A (en) | Method for updating basic input-output system | |
JPH11175348A (en) | Device provided with central processing unit with risc architecture and method for operating the device |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080206 Termination date: 20130524 |