CN101907997A - Method for generally starting embedded equipment - Google Patents
Method for generally starting embedded equipment Download PDFInfo
- Publication number
- CN101907997A CN101907997A CN2010102522544A CN201010252254A CN101907997A CN 101907997 A CN101907997 A CN 101907997A CN 2010102522544 A CN2010102522544 A CN 2010102522544A CN 201010252254 A CN201010252254 A CN 201010252254A CN 101907997 A CN101907997 A CN 101907997A
- Authority
- CN
- China
- Prior art keywords
- starting
- hardware
- equipment
- storage unit
- generally starting
- 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
Abstract
The invention discloses a method for generally starting embedded equipment. The method supports various hardware single boards which adopt the same CPU schemes and comprises the following steps of: adding a protection partition used for storing starting types and hardware identification codes of the equipment; writing a general starting program, and solidifying the general starting program in a flash storage unit, wherein the general starting program comprises same starting codes and different starting codes, the same starting codes support each hardware single board, and the different starting codes correspond to different equipment starting types and the hardware identification codes; configuring corresponding equipment starting types and the hardware identification codes according to the current hardware single boards, and storing the corresponding equipment starting types and the hardware identification codes into the protection partition when the equipment is electrified; and resetting a system, starting the equipment from the flash storage unit, and configuring the hardware single boards according to the different equipment starting types and the hardware identification codes. The method saves development time and development cost, reduces error rates of the development and compiling of software, and has the advantages of simple operation and convenient maintenance.
Description
[technical field]
The present invention relates to field of embedded technology, relate in particular to a kind of method for generally starting of embedded device, to support to adopt the multiple different hardware veneer of identical CPU scheme.
[background technology]
Continue deeply along with industry-by-industry is informationalized in recent years, embedded system has been widely used in a plurality of fields such as network service, consumer electronics, manufacturing, Industry Control, safety-protection system because of its customizability.Meanwhile, market competition is also more and more fierce, hardware updates such as MCU in the embedded system and peripheral hardware are regenerated very fast, in order to adapt to that the growing functional density of software, hardware flexible net connect and little power consumption and demand cheaply, the developer must produce the product of meeting the need of market in time and seize market.And the foundation stone of new-product development be to have one efficient and be easy to the hardware platform revising, safeguard, debug.
Because increasing of product, the type of hardware of embedded device support and scheme also can get more and more.In the prior art, usually each product of scheme of the same race is developed respectively, safeguarded, need the cost great deal of labor like this, increased the possibility that software is made mistakes worse.Thereby be necessary to propose a kind of method for generally starting of embedded device of the different product of supporting scheme of the same race.
[summary of the invention]
The technical problem to be solved in the present invention provides a kind of method for generally starting of embedded device, supports the multiple different hardware veneer of identical CPU scheme, saves time, and reduces cost and the software error rate.
In order to solve the problems of the technologies described above, the technical solution used in the present invention is:
A kind of method for generally starting of embedded device, the multiple different hardware veneer of identical CPU scheme is adopted in support, and the method comprising the steps of:
Set up the protection subregion, start type and hardware identifier sign indicating number in order to memory device;
Write the generally starting program and it is solidified in the flash storage unit, described generally starting program comprises the identical start-up code part of supporting described each hardware single board and different start-up code parts corresponding to different device start types and hardware identifier sign indicating number;
When device power, start type and hardware identifier sign indicating number and it is stored in described protection subregion according to the hardware single board of current application configuration corresponding apparatus;
System reset starts from described flash storage unit afterwards, and according to device start type of storing in the current protection subregion and hardware identifier sign indicating number current hardware single board is configured.
In the said method, the memory block on the exploitation hardware single board is as protection subregion as described in setting up on the nonvolatile random access memory.
In the said method,, from the flash storage unit, start again after then reconfiguring device start type and hardware identifier sign indicating number if described system starts failure from the flash storage unit.
The present invention has following beneficial effect:
Among the present invention,, only adopt a cover generally starting code, not only saved development time and cost of development, and reduced software development, the error rate when compiling, have simple to operate and advantage that be convenient to safeguard at the different hardware veneer of same scheme.
[description of drawings]
The present invention is further detailed explanation below in conjunction with the drawings and specific embodiments,
Fig. 1 is the method for generally starting process flow diagram of embedded device in the embodiment of the invention.
[embodiment]
Core concept of the present invention is: write the generally starting program of the different hardware veneer of supporting CPU scheme of the same race, move this generally starting program when system start-up, to carry out respective handling according to current hardware single board.
As shown in Figure 1, the method for generally starting of embedded device may further comprise the steps in the present embodiment:
101, on the NVRAM of circuitry plate (nonvolatile random access memory), set up EGIS (protection subregion), in order to storage bootType (device start type) and HwVersion (hardware identifier sign indicating number) parameter information.In this step, EGIS also can be located in other storage mediums.
102, write generally starting program and it is cured in the flash storage unit of circuit board; This generally starting program is the basic start-up code that the environmental parameter according to the different hardware veneer that belongs to same scheme generates, and comprises identical start-up code part and the different start-up code parts corresponding respectively with each hardware single board.
103, device power disposes corresponding bootType and HwGVersion parameter and it is stored among the EGIS according to the hardware single board of current application.
104, minimum system resets, and starts from the flash storage unit afterwards; In the process of operation generally starting program, can handle accordingly according to the bootType and the HwVersion parameter information of current storage.
Correctly realize if 105 start the desired function in back, as: the network interface configuration is correct, and led is normal or the like, then finishes debugging, finishes; Otherwise, return step 103, reset again after readjusting bootType and HwVersion.
In addition, can the matching network transfer protocol server be installed at computing machine (server) end, in order to upgrading generally starting program to be debugged.
To sum up, use said method, different product for same scheme, only need adopt a cover generally starting program, compare with prior art, shortened the construction cycle greatly, saved a large amount of labour cost, especially the different product in same scheme is many more, and superiority of the present invention can more obviously must embody.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, only with reference to preferred embodiment the present invention is had been described in detail.Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and scope of technical solution of the present invention, all should be encompassed in the middle of the claim scope of the present invention.
Claims (3)
1. the method for generally starting of an embedded device supports to adopt the multiple different hardware veneer of identical CPU scheme, it is characterized in that the method comprising the steps of:
Set up the protection subregion, start type and hardware identifier sign indicating number in order to memory device;
Write the generally starting program and it is solidified in the flash storage unit, described generally starting program comprises the identical start-up code part of supporting described each hardware single board and different start-up code parts corresponding to different device start types and hardware identifier sign indicating number;
When device power, start type and hardware identifier sign indicating number and it is stored in described protection subregion according to the hardware single board of current application configuration corresponding apparatus;
System reset starts from described flash storage unit afterwards, and according to device start type of storing in the current protection subregion and hardware identifier sign indicating number current hardware single board is configured.
2. method for generally starting according to claim 1 is characterized in that, in this method, sets up described protection subregion on nonvolatile random access memory.
3. method for generally starting according to claim 1 is characterized in that, in this method, if described system starts failure from the flash storage unit, starts from the flash storage unit after then reconfiguring device start type and hardware identifier sign indicating number again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102522544A CN101907997A (en) | 2010-08-11 | 2010-08-11 | Method for generally starting embedded equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102522544A CN101907997A (en) | 2010-08-11 | 2010-08-11 | Method for generally starting embedded equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101907997A true CN101907997A (en) | 2010-12-08 |
Family
ID=43263463
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102522544A Pending CN101907997A (en) | 2010-08-11 | 2010-08-11 | Method for generally starting embedded equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101907997A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102314364A (en) * | 2011-08-08 | 2012-01-11 | 北京登合科技有限公司 | Method for automatically adapting to mobile terminal |
WO2013075522A1 (en) * | 2011-11-24 | 2013-05-30 | 中兴通讯股份有限公司 | Method and device for implementing universality of boot program for embedded device |
CN103514001A (en) * | 2012-06-27 | 2014-01-15 | 中兴通讯股份有限公司 | Processor initialization method and device |
CN103677912A (en) * | 2013-12-06 | 2014-03-26 | 华为技术有限公司 | Chip and starting method thereof |
CN103777977A (en) * | 2012-10-25 | 2014-05-07 | 上海斐讯数据通信技术有限公司 | Starting method for embedded equipment and switch |
CN106681784A (en) * | 2016-12-23 | 2017-05-17 | 维沃移动通信有限公司 | System software management method and terminal |
CN107729179A (en) * | 2017-09-29 | 2018-02-23 | 烽火通信科技股份有限公司 | Unified Software Mirroring based on same processor different hardware realizes system and method |
CN110708193A (en) * | 2019-09-27 | 2020-01-17 | 烽火通信科技股份有限公司 | Ethernet service board card starting method and system |
CN111414316A (en) * | 2020-03-13 | 2020-07-14 | 海芯科技(厦门)有限公司 | Electronic scale system structure for improving safety of calibration data |
CN111552190A (en) * | 2020-04-24 | 2020-08-18 | 杭州涂鸦信息技术有限公司 | Method, system and device for controlling functions of hardware equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101221508A (en) * | 2008-01-31 | 2008-07-16 | 杭州华三通信技术有限公司 | Equipment starting method and device |
CN101510161A (en) * | 2009-03-30 | 2009-08-19 | 北京中星微电子有限公司 | Bootstrap implementing method, apparatus and portable electronic apparatus |
CN101763279A (en) * | 2010-01-15 | 2010-06-30 | 上海维宏电子科技有限公司 | BootLoader architectural design method |
-
2010
- 2010-08-11 CN CN2010102522544A patent/CN101907997A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101221508A (en) * | 2008-01-31 | 2008-07-16 | 杭州华三通信技术有限公司 | Equipment starting method and device |
CN101510161A (en) * | 2009-03-30 | 2009-08-19 | 北京中星微电子有限公司 | Bootstrap implementing method, apparatus and portable electronic apparatus |
CN101763279A (en) * | 2010-01-15 | 2010-06-30 | 上海维宏电子科技有限公司 | BootLoader architectural design method |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102314364B (en) * | 2011-08-08 | 2014-08-20 | 北京登合科技有限公司 | Method for automatically adapting to mobile terminal |
CN102314364A (en) * | 2011-08-08 | 2012-01-11 | 北京登合科技有限公司 | Method for automatically adapting to mobile terminal |
WO2013075522A1 (en) * | 2011-11-24 | 2013-05-30 | 中兴通讯股份有限公司 | Method and device for implementing universality of boot program for embedded device |
CN103135997A (en) * | 2011-11-24 | 2013-06-05 | 中兴通讯股份有限公司 | Method and device achieving embedded type device bootstrap program generality |
CN103514001A (en) * | 2012-06-27 | 2014-01-15 | 中兴通讯股份有限公司 | Processor initialization method and device |
CN103777977A (en) * | 2012-10-25 | 2014-05-07 | 上海斐讯数据通信技术有限公司 | Starting method for embedded equipment and switch |
CN103677912A (en) * | 2013-12-06 | 2014-03-26 | 华为技术有限公司 | Chip and starting method thereof |
US9411603B2 (en) | 2013-12-06 | 2016-08-09 | Huawei Technologies Co., Ltd. | Chip and starting method thereof |
CN106681784A (en) * | 2016-12-23 | 2017-05-17 | 维沃移动通信有限公司 | System software management method and terminal |
CN107729179A (en) * | 2017-09-29 | 2018-02-23 | 烽火通信科技股份有限公司 | Unified Software Mirroring based on same processor different hardware realizes system and method |
CN110708193A (en) * | 2019-09-27 | 2020-01-17 | 烽火通信科技股份有限公司 | Ethernet service board card starting method and system |
CN111414316A (en) * | 2020-03-13 | 2020-07-14 | 海芯科技(厦门)有限公司 | Electronic scale system structure for improving safety of calibration data |
CN111552190A (en) * | 2020-04-24 | 2020-08-18 | 杭州涂鸦信息技术有限公司 | Method, system and device for controlling functions of hardware equipment |
CN111552190B (en) * | 2020-04-24 | 2024-01-30 | 杭州涂鸦信息技术有限公司 | Method, system and device for controlling functions of hardware equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101907997A (en) | Method for generally starting embedded equipment | |
CN100511148C (en) | CPU system starting method and system | |
CN102662701B (en) | CPLD online upgrading method, device and service board | |
CN103793238A (en) | Rack and method for simultaneously updating multiple basic input output systems thereof | |
CN103186404B (en) | System firmware update method and the server system using the method | |
CN102855146A (en) | Firmware updating system and method | |
CN103744761A (en) | Method and system for controlling multiple mobile terminals to automatically execute tasks | |
CN101699402B (en) | Multi-mode startup embedded system | |
CN103513993A (en) | Firmware updating system and method | |
CN107526593A (en) | BMC customizing functions methods based on dynamic link library | |
CN102722394A (en) | Start upgrading method of embedded equipment | |
CN101673237B (en) | Network type method for debugging starting procedure | |
CN109189434A (en) | A kind of online upgrading method of electric energy meter | |
WO2016078263A1 (en) | Upgrading control device and terminal, terminal upgrading method and system, and storage medium | |
CN107111595A (en) | Dual purpose guides register | |
CN109992555A (en) | A kind of management board shared for multipath server | |
CN107770299A (en) | A kind of MAC Address writes with a brush dipped in Chinese ink method, system, device and storage medium | |
CN106911507A (en) | A kind of method and system for whole machine cabinet server B MC firmware more new managements | |
CN103902315A (en) | System and method for online updating of multiple board cards | |
CN102622257A (en) | On-line meter self-updating method and device | |
CN111949285A (en) | Method, device, equipment and storage medium for upgrading firmware of expansion chip | |
CN101593218A (en) | Chip maintenance method | |
CN102331961B (en) | Method, system and dispatcher for simulating multiple processors in parallel | |
CN109901664A (en) | Method, apparatus, system, equipment and the readable storage medium storing program for executing of clock signal are provided | |
CN104317685A (en) | Starting method of calculator system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent of invention or patent application | ||
CB02 | Change of applicant information |
Address after: 518057 Nanshan medical equipment Industrial Park, No. 1019 Nanhai Road, Shenzhen, Guangdong, Nanshan District B411-413 Applicant after: Shenzhen Gongjin Electronics Co., Ltd. Address before: 518057 Nanshan medical equipment Industrial Park, No. 1019 Nanhai Road, Shenzhen, Guangdong, Nanshan District B411-413 Applicant before: Shenzhen Gongjin Electronics Co., Ltd. |
|
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20101208 |