Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for automatically locking and protecting flash bootstrap program based on flag detection

A technology for automatically detecting and booting programs, applied in program/content distribution protection, platform integrity maintenance, instruments, etc., can solve problems such as production efficiency decline, flash read and write speed slow, failure, etc., and achieve high production efficiency

Active Publication Date: 2015-12-09
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the slow reading and writing speed of flash, the whole process of different flashes takes about 90-130 seconds, which will cause a sharp drop in production efficiency and is not conducive to mass production
For flash devices without programmer support and devices with flash built into the processor, the way of locking the flash through the programmer will be completely invalid.

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
  • Method for automatically locking and protecting flash bootstrap program based on flag detection
  • Method for automatically locking and protecting flash bootstrap program based on flag detection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] All features disclosed in this specification, or steps in all methods or processes disclosed, may be combined in any manner, except for mutually exclusive features and / or steps.

[0026] Any feature disclosed in this specification (including any appended claims, abstract and drawings), unless expressly stated otherwise, may be replaced by alternative features which are equivalent or serve a similar purpose. That is, unless expressly stated otherwise, each feature is one example only of a series of equivalent or similar features.

[0027] The specific implementation manners of the present invention will be described in detail below in conjunction with the drawings and embodiments.

[0028] Such as figure 1 with figure 2 As shown, according to an embodiment of the present invention, this embodiment discloses a method for automatically locking and protecting a flash boot program based on flag bit detection, by setting key flag bits, by interpreting the characteristic va...

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 discloses a method for automatically locking and protecting a flash bootstrap program based on flag detection, comprising the following steps: step 1, an area is marked out in a free address of Flash to store a write protection flag; step 2, a whole machine program writes first flag data in the address for storing the write protection flag after powered on for the first time; and step 3, the program first judges the data of the stored write protection flag at the second boot after the write protection flag is set as the first flag data successfully, and if the data is the first flag data, the data in the address is changed into second flag data, and a designated area of Flash is locked after that write protection conditions are satisfied is detected. For a flash which cannot be locked by a programmer and a microprocessor with a built-in flash, the invention provides a simple method for offering write protection to a bootstrap program and other key code snippets. A flash bootstrap program can be locked automatically through a boot detection locking flag, and flash locking is quick, safe and efficient.

Description

technical field [0001] The invention relates to the technical field of computer storage, in particular to a method for automatically locking and protecting a flash boot program based on flag bit detection. Background technique [0002] With the popularization of electronic products in daily life, embedded technology is used more and more widely, among which the flash required for program storage is essential. In the production process of various embedded products, the operation of reading and writing to flash cannot be avoided. If the boot program section of the flash is damaged due to misuse, the manufacturer will have to replace the entire flash. Therefore, it is very necessary to protect key code segments such as the bootstrap segment in flash. For an independent flash device, you can choose to lock the designated key code segment through the programmer when programming the flash device. If it is selected on the production line, the flash manual operation is locked. D...

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): G06F21/12G06F21/51G06F21/57
CPCG06F21/12G06F21/51G06F21/575
Inventor 林霞蒋庆州张雷鸣吴纯彬
Owner SICHUAN CHANGHONG ELECTRIC CO LTD