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

Data recovery method and device for dual backup single-chip flash memory

A recovery method and single-chip microcomputer technology, which can be used in the direction of data error detection, electrical digital data processing, and response error generation, which can solve the problem that data cannot be restored.

Inactive Publication Date: 2018-11-06
上海顺舟智能科技股份有限公司
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiments of the present invention is to provide a method and device for data recovery of dual-backup single-chip microcomputers, to at least solve the technical problem in the prior art that data cannot be recovered due to abnormal hard operation of dual-backup single-chip microcomputer flash 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
  • Data recovery method and device for dual backup single-chip flash memory
  • Data recovery method and device for dual backup single-chip flash memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] The specific implementation manners of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation manners described here are only used to illustrate and explain the embodiments of the present invention, and are not intended to limit the embodiments of the present invention.

[0015] Such as figure 1 As shown, the data recovery method for dual-backup single-chip microcomputer flash memory of an embodiment of the present invention includes:

[0016] S11. Acquire first data to be written into the flash memory of the single-chip microcomputer.

[0017] S12. Update the first storage page and the second storage page used for double backup of the first data.

[0018] Regarding the description of the first storage page and the second storage page corresponding to the double backup function, it may be that the first data is written into the first storage page...

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 the technical field of single-chip flash memory. An embodiment of the invention provides a data recovery method and a data recovery device for dual backup single-chip flash memory, wherein the method comprises: acquiring first data of a flash memory to be written to a single-chip microcomputer; updating a first storage page and a second storage page for double-backing thefirst data; when a flash hard failure occurs, reading the copied data in the first storage page and the second storage page; and overwriting the data in the first storage page and the second storage page based on the read copied data. Thus, when a flash hard failure occurs, the copied data being updated in the first and second storage pages is read, and the read data is overwritten to the first and second storage pages, which is capable of effectively recovering the single-chip microcomputer to the normal read and write state.

Description

technical field [0001] The invention relates to the technical field of single-chip flash memory, in particular to a data recovery method and device for double-backup single-chip flash memory. Background technique [0002] The operation of the single-chip microcomputer is mainly to operate the internal hardware of the single-chip microcomputer, and save the operation configuration to the internal flash, but when operating the flash, the external environment may cause hardness to the flash, such as static electricity, voltage, high temperature, etc. If the flash of the single-chip microcomputer is abnormal Proper functioning of the product cannot be guaranteed. [0003] The embedded MCU will save the data to be saved in the flash memory during operation. When the MCU is working, the power supply voltage or current occurs, such as power on and off, so for the operation of the flash pair, the operation logic adopts a double backup method, that is, the data is stored in two ar...

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): G06F11/14
CPCG06F11/1456G06F11/1469
Inventor 曹款成陈建江
Owner 上海顺舟智能科技股份有限公司