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

Flash starting process-based host and backup protection method

A start-up process, master-backup technology, application of redundancy in computing for error detection of data, generation of response errors, instruments, etc., can solve problems such as system unreliability, and achieve the effect of improving reliability

Inactive Publication Date: 2017-05-31
GUANGXUN SCI & TECH WUHAN
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention overcomes the defects existing in the prior art, and proposes a method for active / standby protection in the Flash startup process, which is used to solve the unreliable problem of the system in the prior art, and improves the system 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
  • Flash starting process-based host and backup protection method
  • Flash starting process-based host and backup protection method
  • Flash starting process-based host and backup protection method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make it easier for those skilled in the art to understand and implement the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0022] The present invention proposes a method for providing active / standby protection during Flash start-up, which mainly adds the following functions in the bootloader program: check the data integrity of the Flash main partition by CRC32, and select the slave main area or The backup area starts.

[0023] Step 1.1: Plan and partition the use of NAND Flash, please refer to figure 1 , divide the NAND Flash into 4 areas according to the function, among them, the partition 1 stores the Bootloader executable file, the size is 1MB, and corresponds to the first address of the Flash 0x0; Partition); Partition 3 stores the backup firmware program of the system (the backup firmware program here is consistent with the firmware program of...

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 Flash starting process-based host and backup protection method. The steps of executing Flash starting process-based host and backup protection in a loading program Bootloader of an embedded system comprise: setting a system host partition and a backup host partition for storing a firmware program and / or data in a Flash chip, and setting an original proof test value of system firmware corresponding to a proof test value of the firmware program and / or data; reading the data of the host partition by the Bootloader, and calculating the proof test value of the firmware program and / or data stored in the system host partition by a proof test value algorithm; comparing the original proof test value of the system firmware read from the Flash chip and the proof test value of the firmware program and / or data stored in the system host partition; when the two proof test values are consistent, selecting the firmware program and / or data stored in the system host partition by the Bootloader to start from the system host partition; when the two proof test values are not inconsistent, starting from the system backup partition. By the method, the phenomenon that the system is hung dead caused by firmware damage is avoided.

Description

technical field [0001] The present invention relates to a startup method of an embedded system, in particular to a method based on active-standby protection in the startup process of Flash, which can automatically switch to the backup region to start when the Flash master region is damaged, so as to ensure the stability of the system. The invention is applicable to the field of communication and computer. Background technique [0002] In embedded development, the firmware program of the system is usually stored in non-volatile memory. Common memories include NAND Flash, Nor Flash and QSPI Flash. The basic feature of Flash is that it can be used as a block storage device, which can quickly read and write a large Block data, this feature makes it suitable as a firmware storage device for the system. It can quickly update the system (write firmware to Flash), reduce the online upgrade time of the system; at the same time, it can achieve fast power-on startup (read the firmware...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/14
CPCG06F11/1417G06F11/1433G06F11/1448
Inventor 夏渊陈志张蔚青余春平卜勤练
Owner GUANGXUN SCI & TECH WUHAN
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