CN100570558C - A kind of chip firmware updating method - Google Patents
A kind of chip firmware updating method Download PDFInfo
- Publication number
- CN100570558C CN100570558C CNB2006100670672A CN200610067067A CN100570558C CN 100570558 C CN100570558 C CN 100570558C CN B2006100670672 A CNB2006100670672 A CN B2006100670672A CN 200610067067 A CN200610067067 A CN 200610067067A CN 100570558 C CN100570558 C CN 100570558C
- Authority
- CN
- China
- Prior art keywords
- chip
- firmware
- duty
- updating method
- upgrade
- 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 kind of chip firmware updating method, be used for the chip firmware of chip is upgraded, comprise the duty of preserving chip; Obtain the firmware bag, and the chip firmware is upgraded; And the duty that chip is returned to this preservation.Thereby can carry out on-the-spot firmware upgrade to chip from client, and behind chip firmware updating, can normally use immediately, and need not restarting operating systems.
Description
Technical field
The present invention relates to the chip technology field, relate in particular to a kind of chip firmware updating method that need not the reboot operation system.
Background technology
As everyone knows, owing to there is firmware, therefore there are two kinds of duties and normal operating conditions and firmware upgrade state in the chip.And the chip firmware is the software section that is stored in the chip internal nonvolatile storage, itself is software, but owing to be cured in the nonvolatile storage (Flash/EEPROM etc.) of chip, is commonly referred to firmware " Firmware ".
These nonvolatile storage just are integrated into chip internal when chip manufacturing, and chip application is to be welded on usually on the application apparatus, therefore, the firmware upgrade of chip can not be passed through cd-rom recorder direct burning firmware updating, can not come firmware updating by the chip development plate of special use, the upgrading tool (for example, with the Software tool brushing BIOS in the floppy disk) that can only develop software is finished the firmware upgrade of chip.
At present, known have many methods of utilizing software to come the updating apparatus firmware program.Fig. 1 has shown and has utilized the synoptic diagram of software upgrade tool to chip firmware updating.As shown in Figure 1, chip 2 and computer platform 1 binding, and become one-to-one relationship.When chip manufacturing, retain the software interface (not shown) that upgrading communication is arranged in the chip, thereby the host software on the computer platform can be upgraded to the chip firmware of chip internal by this interface.
But said method all needs reboot operation system (computing machine) normally to use updated firmware after implementing, and this use aspect for operating system is very inconvenient, especially for the platform that server etc. is inconvenient to restart.Because these servers all need continual use usually, do not calculate iff just restart system for the firmware updating program, therefore be necessary to design a kind of new chip firmware updating method, thereby avoid the system behind the chip firmware updating to restart.
Summary of the invention
The object of the present invention is to provide a kind of chip firmware updating method that need not the reboot operation system.
According to purpose of the present invention, a kind of chip firmware updating method is provided, be used for the chip firmware of chip is upgraded, comprise the duty of preserving chip; Obtain the firmware bag, and the chip firmware is upgraded; And the duty that chip is returned to this preservation.
According to chip firmware updating method provided by the invention on the other hand, wherein, the duty of this chip is kept in the predetermined nonvolatile storage of chip.
According to chip firmware updating method provided by the invention on the other hand, wherein, the duty of this chip comprises that all can rebuild the register value of the duty of this chip.
According to chip firmware updating method provided by the invention on the other hand, wherein, this firmware bag comprises the firmware function that increases newly or to the optimization of former firmware function or revise the bug of former chip firmware.
According to chip firmware updating method provided by the invention on the other hand, wherein, according to the instruction that the client host with the chip binding sends, the duty of preserving chip.
According to chip firmware updating method provided by the invention on the other hand, wherein, before the duty of preserving chip, further whether checking has legitimacy from the instruction of client host.
According to chip firmware updating method provided by the invention on the other hand, wherein, obtain the firmware bag from CD-ROM drive, floppy drive, hard disk or the internet network of client.
According to chip firmware updating method provided by the invention on the other hand, wherein, before the chip firmware is upgraded, further verify the legitimacy of the firmware bag that obtains.
The invention has the beneficial effects as follows: according to a kind of method for upgrading software that need not the chip firmware of reboot operation system provided by the invention, utilize software upgrade tool just can carry out on-the-spot firmware upgrade to chip from client, and behind chip firmware updating, can normally use immediately, and need not restarting operating systems.And, also can further guarantee to realize the security of chip firmware updating.
Description of drawings
Fig. 1 has shown according to the synoptic diagram that utilizes software upgrade tool to chip firmware updating;
Fig. 2 has shown according to chip internal module map of the present invention;
Fig. 3 has shown the process flow diagram according to chip firmware updating method of the present invention.
Embodiment
Fig. 2 has shown according to chip internal module map of the present invention.
As shown in Figure 2, chip 2 according to client of the present invention (computing machine or server or handheld mobile device etc.) comprises interface 21 and nonvolatile memory (Flash/EPROM etc.) 22, this nonvolatile memory 22 comprises firmware zone and data area two parts, this firmware zone is used for the firmware of storage chip 2, and the data area is used for the duty before the storage chip firmware updating when chip 2 is in the firmware upgrade state.Simultaneously, in the present embodiment, the firmware zone of nonvolatile memory 22 further comprises the firmware upgrade control program, is used for the firmware upgrade of control chip.It should be understood that this firmware upgrade control program also can be stored in other storage area of chip 2.
Simultaneously, the Software tool to chip firmware updating has been installed in the client host, this Software tool comprise to chip 2 send firmware upgrade instructions, firmware upgrade bag and with the function of chip 2 exchange firmware upgrade control signals.
Wherein, the interface 21 of this chip 2 links to each other with client host, when main frame moves above-mentioned Software tool the chip firmware is upgraded (for example, with the Software tool brushing BIOS in the floppy disk), firmware upgrade control program in the chip 2 is according to the instruction of Software tool in the client host, with the chip operation state storage before the chip firmware updating in the data area of nonvolatile memory 12, firmware in the nonvolatile memory 12 is upgraded, and after firmware upgrade, chip 1 is returned to duty before the chip upgrade, thereby guarantee normally to use immediately behind the chip firmware updating, need not the reboot operation system.
Below, will describe the flow process of firmware upgrade method of the present invention in detail.
Fig. 3 has shown the process flow diagram according to chip firmware updating method of the present invention, and it is as follows that the method comprising the steps of:
Step 1: the Software tool in the running client main frame (for example operator operating software instrument brushing BIOS) on computers sends the firmware upgrades instruction to the chip 2 that is in normal operating conditions.
Step 2: the firmware upgrade control program in the chip 2 detects from after the firmware upgrade of the main frame instruction by interface 21, judges whether the indication into upgrading chip firmware;
If this instruction is not the indication of upgrading chip firmware, chip firmware updating method then of the present invention is directly to step 7, and promptly chip 1 enters duty, and in other words, this chip 1 continues to keep its duty,
If this instruction is the indication of upgrading chip firmware, then enter step 3.
Step 3: after the indication that receives this upgrading chip firmware, firmware upgrade control program in this chip 2 is with this chip 2 duty (duty before the upgrading) at this moment, be kept in the data area of predetermined nonvolatile memory 22, comprise the register value of the normal operating conditions that all can rebuild this chip 2 etc., the control program of firmware upgrade simultaneously sends the signal that has been ready to firmware upgrade by interface 21 to main frame, and chip 2 enters the firmware upgrade state, prepares to receive new firmware.
Step 4: after main frame receives the signal that is ready to firmware upgrade, positions such as CD-ROM drive, floppy drive, hard disk or internet network from main frame, obtain the firmware bag that chip firmware development merchant provides, this firmware bag comprises the firmware function that increases newly or to the optimization of original firmware function or revise bug of former chip firmware etc., afterwards, main frame sends new firmware updating bag to the interface 21 of chip 2.
Step 5: the new firmware updating bag that this firmware upgrade procedure obtains according to interface 21, former chip firmware is carried out updating operation, be about to new firmware updating and replace former firmware in the firmware zone of leaving nonvolatile memory 22 in.
Step 6: the duty before the chip upgrade of storing in this firmware upgrade control program data area according to nonvolatile memory 22, chip 2 is returned to the preceding duty of upgrading, the above-mentioned register value of i.e. reduction upgrading back firmware, rebulid the preceding duty of firmware upgrade, send firmware upgrade by interface 21 to main frame simultaneously and become function signal.
Step 7: on the basis of the step 1-6 of above-mentioned execution, this chip 1 enters normal operating conditions immediately, thereby need not reboot operation system (computing machine).
Therefore, the chip firmware updating method that provides according to the invention described above, by preserving the duty of chip, the firmware bag that utilizes the developer to provide, the firmware that is stored in the chip nonvolatile storage (nonvolatile memory 22) is upgraded, after the duty before reverting to upgrading, use updated firmware immediately, thereby need not the reboot operation system.
In addition, on the basis of the flow process of above-mentioned firmware upgrade method shown in Figure 3, chip firmware updating method provided by the invention also can be further carried out following operation in step 2: after the interface 21 of chip 2 receives firmware upgrade instruction from main frame, whether checking has legitimacy from the instruction of main frame, verifies promptly whether the user of main frame has the right to carry out firmware upgrade; And after judging that instruction from main frame has legitimacy, judge whether indication, thereby carry out subsequent step into upgrading chip firmware.
And, in step 4, chip firmware updating method provided by the invention also can further be verified from the legitimacy of the firmware bag of positions such as optical driver of computer, floppy drive, hard disk or internet network input, for example verify that the firmware bag is to be provided by specific developer, verify that perhaps the firmware bag meets requirements such as predetermined type, version or safety, carries out firmware upgrade according to legal firmware bag afterwards.
Thereby chip firmware updating method provided by the invention can further guarantee to realize the security of chip firmware updating.
In sum, according to the method for upgrading software that need not the chip firmware of reboot operation system provided by the invention, client only needs the operating software instrument just can carry out the field upgrade of chip firmware, and upgrading finish after chip can come into operation immediately, need not the reboot operation system.And, also can further guarantee to realize the security of chip firmware updating.
Concerning those skilled in the art, can associate other advantage and distortion easily according to above embodiment.Therefore, the present invention is not limited to above-mentioned specific embodiment, and it carries out detailed, exemplary explanation as just example to a kind of form of the present invention.In the scope that does not deviate from aim of the present invention, those of ordinary skills can replace resulting technical scheme by various being equal to according to above-mentioned specific embodiment, but these technical schemes all should be included in the scope of claim of the present invention and the scope that is equal within.
Claims (7)
1. a chip firmware updating method is used for the chip firmware of chip is upgraded, and described chip comprises data area and firmware zone at least, and described upgrade method is documented in the firmware upgrade control program, and comprises step:
In the data area of described chip, preserve the duty of this chip; Described duty comprises at least: write down each register of the state of described chip, the register value of the current time when executing the task;
Obtain the firmware bag, and the chip firmware in the firmware zone that is arranged in described chip is upgraded; And
Each described register value is covered each described register one by one, rebulid the preceding duty of firmware upgrade, make chip return to the duty of being preserved.
2. chip firmware updating method as claimed in claim 1, wherein,
The duty of this chip is kept in the predetermined nonvolatile storage of this chip.
3. chip firmware updating method as claimed in claim 2, wherein,
This firmware bag comprises the firmware function that increases newly or to the optimization of former firmware function or revise the bug of former chip firmware.
4. chip firmware updating method as claimed in claim 3, wherein,
According to the instruction that the client host with the chip binding sends, the duty of preserving chip.
5. chip firmware updating method as claimed in claim 4, wherein,
Before the duty of preserving chip, further whether checking has legitimacy from the instruction of client host.
6. chip firmware updating method as claimed in claim 5, wherein,
Obtain the firmware bag from CD-ROM drive, floppy drive, hard disk or the internet network of client.
7. chip firmware updating method as claimed in claim 6, wherein,
Before the chip firmware is upgraded, further verify the legitimacy of the firmware bag that obtains.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100670672A CN100570558C (en) | 2006-03-31 | 2006-03-31 | A kind of chip firmware updating method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100670672A CN100570558C (en) | 2006-03-31 | 2006-03-31 | A kind of chip firmware updating method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101046749A CN101046749A (en) | 2007-10-03 |
CN100570558C true CN100570558C (en) | 2009-12-16 |
Family
ID=38771386
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100670672A Expired - Fee Related CN100570558C (en) | 2006-03-31 | 2006-03-31 | A kind of chip firmware updating method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100570558C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9934120B2 (en) | 2016-02-10 | 2018-04-03 | Western Digital Technologies, Inc. | Method and apparatus for updating a system on chip (SOC) image from a host computer system without using DMA |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101770376B (en) * | 2008-12-31 | 2014-03-12 | 华为技术有限公司 | Software updating method and control device |
CN101777995A (en) * | 2009-12-16 | 2010-07-14 | 中兴通讯股份有限公司 | Working state maintenance method and system of network elements |
CN101854498A (en) * | 2010-05-24 | 2010-10-06 | 中兴通讯股份有限公司 | Method and device for switching off multimedia broadcasting chip |
CN102541582A (en) * | 2010-12-30 | 2012-07-04 | 上海三旗通信科技股份有限公司 | Optimization method for firmware updating based on high-pass baseband chip |
WO2011157175A2 (en) * | 2011-06-03 | 2011-12-22 | 华为技术有限公司 | Method and chip for controlling update of communication device, and communication device thereof |
CN105159699B (en) * | 2011-06-07 | 2022-01-25 | Lsi公司 | Management of device firmware update effects as seen by a host |
CN102890636A (en) * | 2011-07-20 | 2013-01-23 | 中兴通讯股份有限公司 | Firmware upgrade method and system under Android system |
CN102945177B (en) * | 2012-11-16 | 2015-09-02 | 深圳市汇川控制技术有限公司 | PLC firmware upgrade system and method |
CN103902298B (en) * | 2012-12-24 | 2017-03-01 | 联想(北京)有限公司 | Method to set up and the device of status information write with a brush dipped in Chinese ink by a kind of instruction set firmware |
CN105095126B (en) | 2014-04-30 | 2018-02-13 | 华为技术有限公司 | control method and control device |
CN106293824A (en) * | 2016-08-04 | 2017-01-04 | 青岛海信电器股份有限公司 | A kind of from the method and device processing chip upgrade |
CN108108177B (en) * | 2018-01-02 | 2020-10-27 | 联想(北京)有限公司 | Firmware upgrading method of physical host, physical host and virtual machine |
CN109766113B (en) * | 2019-01-09 | 2022-02-01 | 深圳忆联信息系统有限公司 | Firmware updating method and device of solid state hard disk controller |
CN111079124B (en) * | 2019-12-21 | 2023-02-10 | 广州小鹏汽车科技有限公司 | Security chip activation method and device, terminal equipment and server |
CN113778496A (en) * | 2021-09-16 | 2021-12-10 | 联想(北京)有限公司 | Firmware upgrading method and device, electronic equipment and storage medium |
-
2006
- 2006-03-31 CN CNB2006100670672A patent/CN100570558C/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9934120B2 (en) | 2016-02-10 | 2018-04-03 | Western Digital Technologies, Inc. | Method and apparatus for updating a system on chip (SOC) image from a host computer system without using DMA |
Also Published As
Publication number | Publication date |
---|---|
CN101046749A (en) | 2007-10-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100570558C (en) | A kind of chip firmware updating method | |
US7966612B2 (en) | Method, system and computer program for installing shared software components | |
CN103559052B (en) | The apparatus and method for that firmware updates | |
US9582262B2 (en) | Systems and methods for installing upgraded software on electronic devices | |
US20140201726A1 (en) | Updating firmware compatibility data | |
CN104199706A (en) | Firmware upgrade method and device for eMMC | |
JP6089064B2 (en) | Method, computer system and memory device for updating software components | |
CN105573807A (en) | ECU online program upgrading system and method based on CAN bus | |
CN103164238A (en) | Method for automatically and continuously installing operating system | |
CN102945173A (en) | User program on-line upgrading system and method | |
CN111813428A (en) | Method and device for upgrading terminal firmware, electronic equipment and storage medium | |
CN107608681A (en) | Installation method of operating system, device and server | |
CN112068852B (en) | Method, system, equipment and medium for installing open-source software based on domestic server | |
CN104407878A (en) | On-line upgrading method of C6000 digital signal processor | |
CN108762797A (en) | A kind of SSD firmwares online updating method, system and SSD | |
CN107567629A (en) | Dynamic firmware module loader in credible performing environment container | |
CN104978530A (en) | Application security management method, application security management device, application management server and application security management system | |
US20130080751A1 (en) | Method and device for updating bios program for computer system | |
CN104021011A (en) | Program upgrading system and method for embedded device | |
CN105468390A (en) | BOOT online upgrade apparatus and method | |
CN104699500A (en) | Method for realizing automatic upgrading of bootstrap program in intelligent equipment | |
KR102106449B1 (en) | Method, device and server for checking a defective function | |
CN114610355A (en) | Upgrading method and device suitable for power chip control software | |
CN112416379B (en) | Application program installation method and device, computing equipment and readable storage medium | |
CN114265603A (en) | System upgrading method and device based on asymmetric partition and electronic equipment |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091216 Termination date: 20210331 |