Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 addition, in the prior art, the boot program of the embedded system is related to specific hardware devices, that is, different memory devices, memory chips and other hardware devices have different boot programs. Therefore, when upgrading the system memory, memory, etc. When using chips, the boot program must be upgraded at the same time, which limits the application range of embedded systems to a large extent

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

no. 1 example

[0063] refer to Picture 1-1 , shows a flow chart of the first embodiment of the implementation method of an embedded system boot program of the present invention, specifically including the following steps:

[0064] Step 101: 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: the first is the basic initialization of the system; the second is to configure and initialize the external hardware devices; the third is to include the 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 last two steps are implemented in high-level language (such as C language).

[0066] The basic initialization includes setting the vector jump table, setting a user stack USER_STACK for executing subsequent fu...

no. 2 example

[0095] refer to Figure 1-2 , shows a flow chart of the second embodiment of a method for implementing an embedded system boot program according to the present invention, which specifically includes the following steps:

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

[0097] Step 202: start the U disk system, and detect whether there is a new startup parameter file; if so, then turn to step 203; otherwise, turn 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 so, then go to step 206; otherwise, go to step 207;

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

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

[0103] Step 208: Copy the execu...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products