Bootstrap implementing method, apparatus and portable electronic apparatus

A technology for booting a program and an implementation method, which is applied in the direction of program control device, program loading/starting, and the generation of response errors, etc., can solve the problems of system paralysis, irreparability, and limit the application scope of embedded systems, so as to avoid system paralysis, The effect of improving reliability

Inactive Publication Date: 2009-08-19
WUXI ZGMICRO ELECTRONICS CO LTD
View PDF6 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since embedded systems generally do not have a bootstrap program, system startup and program loading must be completed by the boot program. Therefore, the boot program is very critical in the embedded system. If there is a problem with the boot program, or the boot program loaded If there is a problem with the application, it may cause the entire system to be paralyzed, or even unrepairable
[0003] In addit

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Bootstrap implementing method, apparatus and portable electronic apparatus
  • Bootstrap implementing method, apparatus and portable electronic apparatus
  • Bootstrap implementing method, apparatus and portable electronic apparatus

Examples

Experimental program
Comparison scheme
Effect test

Example

[0063] Refer to Picture 1-1 , Shows a flowchart of the first embodiment of a method for implementing a boot program of an embedded system of the present invention, which specifically includes the following steps:

[0064] Step 101: Perform basic initialization of the embedded system environment;

[0065] In the preferred embodiment of the method embodiment of the present invention, the booting of the system is divided into three main steps: one is the basic initialization of the system; the second is the configuration and initialization of external hardware devices; the third is to include system files and application files in the The executable file inside is loaded into memory for execution. The basic initialization part of the system is implemented in assembly language, and the latter two steps are implemented in high-level language (such as C language).

[0066] Basic initialization includes setting up a vector jump table, setting up a user stack USER_STACK for executing subs...

Example

[0095] Refer to Figure 1-2 , Shows a flowchart of the second embodiment of a method for implementing a boot program of an embedded system of the present invention, which specifically includes the following steps:

[0096] Step 201: Perform basic initialization of the embedded system environment;

[0097] Step 202: Start the U disk system and check whether there is a new startup parameter file; if yes, go to step 203; otherwise, go to step 204;

[0098] Step 203: Download a new startup parameter file from the U disk and save it to the startup parameter memory;

[0099] Step 204: Initialize the hardware device according to the startup parameters;

[0100] Step 205: Determine whether the target executable file needs to be loaded, if yes, go to step 206; otherwise, go to step 207;

[0101] Step 206: Download the executable file from the U disk;

[0102] Step 207: Check and detect the executable file that needs to be loaded and executed;

[0103] Step 208: Copy the executable file tha...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a realization method and device of an embedded system bootstrap program, and portable type electronic equipment. The method comprises the steps of carrying out foundation initialization to the embedded system environment; detecting whether boot parameters need to be updated; if so, acquiring new boot parameters from a boot parameter update interface and storing the new boot parameters into a boot parameter memory; carrying out initialization to hardware equipment according to the boot parameters; judging whether an object executable file needs to be loaded, if so, downloading the object executable file from a U disk; carrying out check and detection to the executable file which needs to be downloaded; and copying the executable file passing through the check and detection to the memory and executing the file, thus finishing the system bootstrap process. By configuring the boot parameters on site, the proposal of the invention leads the system to be capable of adapting to hardware equipment such as storage units, memories and the like of different types, and loads and runs the executable file after check and detection, thus avoiding the systemic breakdown caused by problems occurred in the executable file and improving the reliability of the system.

Description

technical field [0001] The invention relates to the field of embedded systems, in particular to an implementation method, device and portable electronic equipment of an embedded system boot program. Background technique [0002] Embedded system is the minimum simplified system based on practical application. Compared with personal computer (PC, Personal Computer), most of the functions completed by embedded system are relatively single and fixed, and are widely used in industrial control and electronic equipment products. Wait. Since embedded systems generally do not have a bootstrap program, system startup and program loading must be completed by the boot program. Therefore, the boot program is very critical in the embedded system. If there is a problem with the boot program, or the boot program loaded If there is a problem with the application, it may cause the entire system to be paralyzed, or even irreparable. [0003] In addition, in the prior art, the boot program of...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/445G06F11/14
Inventor 覃善兴谭帅
Owner WUXI ZGMICRO ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products