Flash Memory Page Identity Code for Power Loss Recovery

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Flash memory access control in portable devices is challenged by incomplete data writes due to power disruptions, leading to unstable memory units and potential reading errors, even after power is restored.

Innovation Solution

A method for accessing flash memory that involves writing a data stream into pages with identity codes, allowing the controller to determine the last page written before power disconnection and using error correction codes to ensure data integrity upon reconnection.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the memory controller sequentially writes updated data into pages of a data block, then data can be stored in flash memory, but if power is disconnected during writing, incomplete data remains in the page causing unstable memory units and potential reading errors

Engineering Contradiction:
Improvedata integrityVSAvoidaccess control complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by writing identity codes to each page before data writing operations. When power is restored after disconnection, the controller reads these pre-written identity codes to determine which pages were successfully written, allowing it to identify and discard incomplete data pages without complex recovery procedures

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements feedback by using identity codes as markers that provide information about the writing state of each page. The controller continuously monitors and reads these identity codes to feedback on which pages contain complete data versus incomplete data, enabling reliable data integrity verification after power restoration

Inventive Principle:
Principle #23Feedback

2Measurement precision

If the memory controller determines data completeness by reading pages after power restoration, then it can identify complete data, but this process may still result in reading errors from pages with vague data errors

Engineering Contradiction:
Improvedata completeness detectionVSAvoidreading accuracy
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The patent applies preliminary action by pre-writing identity codes to each page during the data writing process. These identity codes serve as advance markers that allow the controller to definitively identify which pages were successfully written before power disconnection, eliminating the need to rely on error-prone post-restoration reading to determine data completeness

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8464132B2Method for accessing flash memory and associated memory device
Publication Date: 2013.06.11 SILICON MOTION INC
  • US8464132B2 patent drawing
  • US8464132B2 patent drawing
  • US8464132B2 patent drawing

AI summary

A method for accessing a flash memory includes: writing a data stream into at least a page of at least one data block of the flash memory, where each page of the data block includes an identity code; reading at least one identity code of the page; and determining a specific page according to at least the identity code, where the specific page is a last page that the data stream is written to before the flash memory is disconnected from a power source.