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

Main/back-up embedded type bootstrap start-up method and device

A boot program and startup device technology, applied in the field of data communication, can solve the problems of low stability and high cost, and achieve the effect of increasing maintainability

Active Publication Date: 2015-03-25
MAIPU COMM TECH CO LTD
View PDF5 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] The technical problem to be solved by the present invention is: to propose a method for starting the main and standby embedded boot programs, to solve the problem of high cost caused by using two pieces of NOR FLASH to store the main boot program and the backup boot program respectively in the traditional technology and to adopt two One piece of NAND FLASH separately stores the main boot program and the backup boot program, resulting in low stability

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
  • Main/back-up embedded type bootstrap start-up method and device
  • Main/back-up embedded type bootstrap start-up method and device
  • Main/back-up embedded type bootstrap start-up method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] Such as figure 1 As shown, the active and standby embedded boot program startup method in the embodiment of the present invention comprises the following steps:

[0038] S101. The device is powered on, and the system reads the main bootloader from the NAND FLASH for loading;

[0039] S102. The system judges whether the loading is successful, if so, ends the process, otherwise enters step S103;

[0040] S103. Restart the device, and the system reads and loads the backup bootloader from NOR FLASH.

[0041] The above scheme is to use NAND FLASH as the main boot program memory, and use NOR FLASH as the backup boot program memory.

Embodiment 2

[0043] Embodiment 2 of the present invention also proposes another startup method through which NAND FLASH and NOR FLASH are mutually backed up, and it uses NOR FLASH as the main boot program memory, and NAND FLASH is used as the backup boot program memory; figure 2 Shown: The method includes the following steps:

[0044] S201. The device is powered on, and the system reads the main boot program from NOR FLASH to load;

[0045] S202. The system judges whether the loading is successful, if so, ends the process, otherwise enters step S203;

[0046] S203. Restart the device, and the system reads and loads the backup bootloader from the NAND FLASH.

[0047] In the present invention, to realize that the same boot program can correctly initialize the device from NAND FLASH and NOR FLASH respectively, two problems need to be solved: first, how to design the boot program not only satisfies the demand of fetching instructions of NAND FLASH but also satisfies the fetching of NORFLASH;...

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 relates to a system start-up technology in the field of data communication, and discloses a main / back-up embedded type bootstrap start-up method, and the method solves the problems that in a traditional technology, two pieces of norflashes are adopted to store a main bootstrap and a back-up bootstrap respectively, the cost is high, two pieces of nandflashes are adopted to store the main bootstrap and the back-up bootstrap respectively, and stability is poor. The method includes the steps that a, device electrifying is conducted, and a system reads and loads the main bootstrap from the nandflashes; b, the system judges whether loading is successful or not, if yes, a procedure is ended, and if not, step c is entered; c, a device is restarted, and the system reads and loads the back-up bootstrap from the norflashes. The main / back-up embedded type bootstrap start-up method and system are suitable for starting up the embedded device.

Description

technical field [0001] The invention relates to a system starting technology in the field of data communication, in particular to a starting method in which NAND FLASH and NOR FLASH are mutually backed up. Background technique [0002] At present, high stability is required in embedded devices; a single system boot program will have security risks when loading the device. If there is a problem with this boot program or the storage device storing the boot program fails, the system will fail to load or even fail. Therefore, the current operation method in the industry is to increase the backup boot program, and jointly ensure that the device is loaded correctly through the active and standby boot programs. [0003] As a commonly used non-volatile memory device, NAND FLASH has no distinction between address bus and data bus, and the read and write operations on data are performed serially through the I / O bus; when reading and writing NAND FLASH data, it is necessary to send the...

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/445
Inventor 钟全辉孙玉博
Owner MAIPU COMM TECH 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