CN102253846A - Method for upgrading embedded system software - Google Patents
Method for upgrading embedded system software Download PDFInfo
- Publication number
- CN102253846A CN102253846A CN2010101804261A CN201010180426A CN102253846A CN 102253846 A CN102253846 A CN 102253846A CN 2010101804261 A CN2010101804261 A CN 2010101804261A CN 201010180426 A CN201010180426 A CN 201010180426A CN 102253846 A CN102253846 A CN 102253846A
- Authority
- CN
- China
- Prior art keywords
- upgrade
- upgrading
- embedded system
- system software
- need
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a method for upgrading embedded system software, which comprises the following steps of: operating a system guide program; judging whether a system is needed to be upgraded or not by using the system guide program; reading an upgraded file code from a memory card to a system memory when the system is needed to be upgraded; and ensuring that a system processor jumps to the system memory to execute the upgraded file code. The upgrading method has the advantages of high flexibility and upgrading efficiency.
Description
Technical field
The present invention relates to the embedded system field, particularly a kind of method of updating embedded system software.
Background technology
Embedded system has been widely used in the various fields such as the communications field, testing apparatus, Medical Instruments and information household appliances at present.Along with user's demand constantly increases, the function of embedded system is also more and more abundanter, thereby the software version of system is also more and more, needs frequent upgrading, to satisfy the function that increases.
Present general upgrading mode major part is the actions such as position, the old system of backup that realize the validity check of new procedures in the boot program, new procedures is updated to existed system, thereby reaches the purpose of upgrade-system.If but the program point layout of system or the variation of having introduced new upgrade mode generation essence, so old boot program just can't realize, boot program that can only be new and old.Thereby cause the dirigibility of system upgrade not high, and upgrade step is loaded down with trivial details.
Summary of the invention
The purpose of this invention is to provide a kind of upgrading method of updating embedded system software flexibly.
For solving technical matters of the present invention, the invention provides a kind of method of updating embedded system software, it comprises: the step of operational system boot; System bootstrap routine need to judge whether the step of upgrading; When system need upgrade, from storage card, read the step of upgrade file code to Installed System Memory; And system processor jumps to Installed System Memory to carry out the step of described upgrade file code.
Compared with prior art, the method for updating embedded system software of the present invention does not rely on the limitation on the boot function of original curing, and dirigibility is strengthened greatly; In addition, utilize the upgrade code program file of storage card can directly upgrade the boot of original curing, reduce intermediate steps, improved the upgrading efficient of system.
Description of drawings
Fig. 1 is the process flow diagram of method for updating embedded system software of the present invention.
Embodiment
This method is utilized a system bootstrap routine (boot program), import according to the user and to trigger or to be checked through that to authenticate to software systems imperfect, thereby the code that directly reads the ROMPaq file in the storage card card is in RAM, jump to this section of RAM relaying reforwarding row program in machine code then, allow upgrade function that unlimited expansion is arranged.
See also Fig. 1, be the process flow diagram of method for updating embedded system software of the present invention, the step of this method is as follows:
Step S1: system start-up, operational system boot (boot program);
Step S2: judge whether system needs upgrading;
The process of judging upgrading is as follows: at first the boot program detects user whether by button or GPIO (General Purpose Input/Output that certain is specific, general I/O) expression needs initiatively upgrade-system, if do not have, the validity by mode checks code system such as whether version number correct then, if it is invalid, then showing needs upgrading, enters step S3; If effectively, illustrating does not need upgrading, then enters step S4, operational system;
Step S3: from storage card, read ROMPaq to Installed System Memory RAM;
Check whether the ROMPaq file in the storage card exists, if exist and passed through validity check, so with this document copying in RAM;
Step S5: carry out ROMPaq; Control PC pointer, system processor jumps among the RAM that preserves the ROMPaq file and carries out, and this program file will be carried out operations such as upgrade-system, boot program, finishes remaining upgrade step.
Compared with prior art, the method for updating embedded system software of the present invention does not rely on the limitation on the boot function of original curing, and dirigibility is strengthened greatly; In addition, utilize the upgrade code program file of storage card can directly upgrade the boot of original curing, reduce intermediate steps, improved the upgrading efficient of system.
Claims (4)
1. the method for a updating embedded system software is characterized in that comprising:
The step of operational system boot;
System bootstrap routine judges whether system needs the step of upgrading;
When system need upgrade, from storage card, read the step of upgrade file code to Installed System Memory; And
System processor jumps to Installed System Memory to carry out the step of described upgrade file code.
2. the method for updating embedded system software according to claim 1, it is characterized in that, in the described step that judges whether to upgrade, adopt detect user whether by button or GPIO that certain is specific represent needs initiatively upgrade-system need to judge whether to upgrade.
3. the method for updating embedded system software according to claim 1 is characterized in that, in the described step that judges whether to upgrade, adopt to detect modes such as version number is whether correct and need to judge whether upgrading.
4. the method for updating embedded system software according to claim 1 is characterized in that, when the judgement system does not need to upgrade, moves this system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101804261A CN102253846A (en) | 2010-05-21 | 2010-05-21 | Method for upgrading embedded system software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101804261A CN102253846A (en) | 2010-05-21 | 2010-05-21 | Method for upgrading embedded system software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102253846A true CN102253846A (en) | 2011-11-23 |
Family
ID=44981126
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101804261A Pending CN102253846A (en) | 2010-05-21 | 2010-05-21 | Method for upgrading embedded system software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102253846A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102841802A (en) * | 2012-07-27 | 2012-12-26 | 锐迪科科技有限公司 | Software upgrading method for mobile terminal |
CN104598284A (en) * | 2015-02-05 | 2015-05-06 | 深圳市成为信息技术有限公司 | Method for starting embedded equipment |
CN105573797A (en) * | 2015-12-18 | 2016-05-11 | 广州市中海达测绘仪器有限公司 | Reversible off-line upgrade method and device for embedded system |
CN106775674A (en) * | 2016-11-29 | 2017-05-31 | 深圳市恒扬数据股份有限公司 | A kind of equipment and its startup method based on universal guiding loading procedure |
CN111880827A (en) * | 2020-07-29 | 2020-11-03 | 珠海安联锐视科技股份有限公司 | Embedded software upgrading method |
CN112667264A (en) * | 2021-01-15 | 2021-04-16 | 广州路派电子科技有限公司 | Method and system for upgrading off-line downloaded software |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020083427A1 (en) * | 2000-12-26 | 2002-06-27 | Chen-Pang Li | Embedded system capable of rapidly updating software and method for rapidly updating software of embedded system |
US20060129793A1 (en) * | 2004-12-09 | 2006-06-15 | Ruey-Yuan Tzeng | Embedded system and related method capable of automatically updating system software |
CN101169729A (en) * | 2007-12-06 | 2008-04-30 | 三一重工股份有限公司 | Embedded type system and method for renewing application program |
CN101183312A (en) * | 2007-12-12 | 2008-05-21 | 中兴通讯股份有限公司 | Method for realizing version upgrade and backup of terminal by switch-in USB memory apparatus |
CN100561433C (en) * | 2006-09-30 | 2009-11-18 | 四川长虹电器股份有限公司 | Embedded system and upgrade method thereof |
-
2010
- 2010-05-21 CN CN2010101804261A patent/CN102253846A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020083427A1 (en) * | 2000-12-26 | 2002-06-27 | Chen-Pang Li | Embedded system capable of rapidly updating software and method for rapidly updating software of embedded system |
US20060129793A1 (en) * | 2004-12-09 | 2006-06-15 | Ruey-Yuan Tzeng | Embedded system and related method capable of automatically updating system software |
CN100561433C (en) * | 2006-09-30 | 2009-11-18 | 四川长虹电器股份有限公司 | Embedded system and upgrade method thereof |
CN101169729A (en) * | 2007-12-06 | 2008-04-30 | 三一重工股份有限公司 | Embedded type system and method for renewing application program |
CN101183312A (en) * | 2007-12-12 | 2008-05-21 | 中兴通讯股份有限公司 | Method for realizing version upgrade and backup of terminal by switch-in USB memory apparatus |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102841802A (en) * | 2012-07-27 | 2012-12-26 | 锐迪科科技有限公司 | Software upgrading method for mobile terminal |
CN102841802B (en) * | 2012-07-27 | 2016-03-02 | 锐迪科科技有限公司 | The method for upgrading software of mobile terminal |
CN104598284A (en) * | 2015-02-05 | 2015-05-06 | 深圳市成为信息技术有限公司 | Method for starting embedded equipment |
CN105573797A (en) * | 2015-12-18 | 2016-05-11 | 广州市中海达测绘仪器有限公司 | Reversible off-line upgrade method and device for embedded system |
CN105573797B (en) * | 2015-12-18 | 2019-10-18 | 广州市中海达测绘仪器有限公司 | The reversible upgraded in offline method and device of embedded system |
CN106775674A (en) * | 2016-11-29 | 2017-05-31 | 深圳市恒扬数据股份有限公司 | A kind of equipment and its startup method based on universal guiding loading procedure |
CN106775674B (en) * | 2016-11-29 | 2020-06-05 | 深圳市恒扬数据股份有限公司 | Equipment based on universal boot loader and starting method thereof |
CN111880827A (en) * | 2020-07-29 | 2020-11-03 | 珠海安联锐视科技股份有限公司 | Embedded software upgrading method |
CN112667264A (en) * | 2021-01-15 | 2021-04-16 | 广州路派电子科技有限公司 | Method and system for upgrading off-line downloaded software |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wang et al. | Uroboros: Instrumenting stripped binaries with static reassembling | |
CN102253846A (en) | Method for upgrading embedded system software | |
CN110990019B (en) | Java class analysis method and device, storage medium and electronic equipment | |
CN103106092A (en) | System software updating method and device in terminal appliance | |
CN104781785A (en) | Generating native code from intermediate language code for an application | |
EP2196934A1 (en) | Method for securing java bytecode | |
KR20120063456A (en) | Method for generating delta file using basic blocks | |
CN109947449A (en) | Method for upgrading system, device, storage medium and electronic equipment | |
US11327739B2 (en) | Method and apparatus for improving runtime performance after application update in electronic device | |
CN102200920A (en) | Program compiler, program installer and program install method | |
CN103136002A (en) | Automatic upgrade control method based on UBoot instruction and system | |
CN105159732A (en) | Method for installing or updating application program in mobile terminal and mobile terminal | |
CN112130926B (en) | Application program running method, device, terminal equipment and storage medium | |
CN109240720A (en) | A kind of firmware upgrade method of Android system and a kind of storage equipment | |
CN102346677A (en) | Method for upgrading field programmable gate array (FPGA) program | |
KR101882759B1 (en) | Method and apparatus for stabilized binary differencing | |
CN110569058B (en) | System upgrading method, device, terminal and computer readable storage medium | |
CN104428751A (en) | Program data updating method and equipment | |
CN113238790B (en) | Firmware program updating method and system based on SD card and EEPROM | |
CN105468420B (en) | Operating system update method and apparatus | |
CN103119558A (en) | Operation verification support device, operation verification support method, and operation verification support program | |
CN102681819B (en) | Realize flexibly and the instruction replacement method of low cost and device | |
CN111857785B (en) | MCU starting method and device and terminal equipment | |
CN103077066A (en) | Method and system for embedding product key information during compiling | |
CN104035776A (en) | Operating system starting 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 | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20111123 |