IP Library › Granted Patent US 8,661,301
Granted Patent B1
US 8,661,301 · App. 13/607,646 · Granted Feb 25, 2014

Method for dodging bad page and bad block caused by suddenly power off

Inventor: Chi Nan Yen (Hsinchu, TW)
Assignee: Storart Technology Co. Ltd.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,661,301
App. No.
13/607,646
Granted
Feb 25, 2014
Kind
B1
Abstract

A method for dodging bad page and bad block caused by suddenly power off is disclosed. This method is to avoid a new data from host program to potential hurt block or page caused by power off during NAND flash erasing or programming.

Claims (18)

1. A method having steps for dodging bad page and bad block caused by suddenly power off, wherein the type of the flash memory is single-level cell, the steps comprising:

step S11: searching a last programming page before a latest power-off and then allocating at least one free page for test after power on;

step S12: writing an original data to the free page for test if the original data is provided, or writing at least one specific pattern to the free page for test if the original data is not provided;

step S13: marking the free page for test as a used page;

step S14: reading back the used page and checking if there is an ECC error in the data of the used page;

step S15: if there is no ECC error in the data of the used page, the data written to the used page is to change an address stored in a mapping table and the address is directing to a present page, or the specific pattern written to the used page is to skip the present page and start from next page to be used;

step S16: if there is any ECC error in the data of the used page, the used page is failed, and the original data and the address stored in the mapping table are kept and then next writing data starts from next page.

2. A method having steps for dodging bad page and bad block caused by suddenly power off, wherein the type of the flash memory is multi-level cell or trinary-level cell, the steps comprising:

step S21: searching a last programming page before a latest power-off, allocating at least one free page for test after power on, and if the free page is not a LSB of a word line, the data of the LSB is backup;

step S22: writing an original data to the free page for test if the original data is provided, or writing at least one specific pattern to the free page for test if the original data is not provided;

step S23: marking the free page for test as a used page;

step S24: reading back the used page and checking if there is an ECC error in the data of the used page;

step S25: if there is no ECC error in the data of the used page, the data written to the used page is to change an address stored in a mapping table and the address is directing to a present page, or the specific pattern written to the used page is to skip the present page and start from next page to be used;

step S26: if there is any ECC error in the data of the used page, checking if the used page is CSB (center significant bit) or MSB (most significant bit);

step S27: if the used page is not CSB nor MSB, back to step S21; if the used page is CSB or MSB, further checking if an ECC of the data stored in a lower page is normal;

step S28: if the ECC of the data stored in the lower page is normal, keeping a mapping table of the original data;

step S29: if the ECC of the data stored in the lower page is not normal, the used page is broken and a data backup address is directed by the mapping table; and

step S30: looping the step S29 to the step S21 and ending until a last used page is the MSB of the initial used page.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 30, 2018
From: STORART TECHNOLOGY CO., LTD.
To: STORART TECHNOLOGY(SHENZHEN) CO., LTD.
Reel/Frame 045394/0576 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 7, 2012
From: YEN, CHI NAN
To: STORART TECHNOLOGY CO., LTD.
Reel/Frame 028921/0836 →