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

Protection method for preventing memory from being erased and written by mistake

A memory and register technology, applied in the direction of protecting the stored content from loss, etc., can solve the problems of reading and writing timing confusion, FLASH/EEPROM memory data change and loss, etc.

Inactive Publication Date: 2010-06-23
BEIJING CEC HUADA ELECTRONIC DESIGN CO LTD
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When the FLASH / EEPROM memory is in a bad external environment (running the CPU outside the range allowed by the specification, such as temperature and voltage, or serious EMI or electrical noise events, etc.), the address signal, data signal, and read signal of the FLASH / EEPROM memory will be Signals and write signals may change randomly, and the read and write timing may be chaotic, resulting in changes or loss of data in the FLASH / EEPROM memory

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
  • Protection method for preventing memory from being erased and written by mistake
  • Protection method for preventing memory from being erased and written by mistake
  • Protection method for preventing memory from being erased and written by mistake

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0010] The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings.

[0011] In order to protect the safety of the data in the FLASH / EEPROM memory, before erasing or writing the FLASH / EEPROM memory, write a series of specific command words first, and then perform the corresponding erasing and writing operation after it is completely correct. Or the command sequence that needs to be sent before the write operation is shown in Table 1:

[0012] Table 1 Command sequence list (taking page write as an example)

[0013]

[0014] Note: Address and data are in hexadecimal.

[0015] Before erasing or writing the FLASH / EEPROM memory, a series of specific command words need to be written. As shown in the table above, according to the definition of the user, first set the address in the first command word to 0xAAAA, and the data to 0x55; the address in the second command word to 0xCCCC, and the data to 0xAA; the addr...

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 software data protection method. Before a Flash / EEPROM is erased or written, a string of specific command words are written in firstly; and only under the condition that all the command words are right, the Flash / EEPROM really starts the erase-write command; therefore, the Flash / EEPROM can be effectively prevented from being erased and written by mistake, and the security of chip data is ensured.

Description

technical field [0001] The invention relates to a memory data protection method, in particular to a protection method for preventing FLASH or EEPROM memory from being erased and written by mistake, and is a software data protection method. Background technique [0002] With the development of informatization and electronic process, data has increasingly become the basis for the core decision-making and development of the daily operation of enterprises and institutions. Chip data is used as a carrier for recording and storing key information of enterprises, institutions or individuals, and its security requirements are also increasing. higher. Therefore, the chip data memory FLASH / EEPROM, which is widely used at present, puts forward higher requirements in terms of the reliability and security of its data protection mechanism. [0003] When the FLASH / EEPROM memory is in a bad external environment (running the CPU beyond the allowable range of the specification, such as tempe...

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): G06F12/16
Inventor 周鹏赵贵勇卢锋耿介
Owner BEIJING CEC HUADA ELECTRONIC DESIGN CO LTD