System and method for detecting copyback programming problems
First Claim
Patent Images
1. A method of detecting errors in a copyback operation in a flash memory device, the method comprising:
- in the flash memory device with a controller, prior to a copyback operation, programming a page of data such that a subset of the page of data includes a predetermined sequence of bits;
performing the copyback operation by;
internally copying the page of data from a first non-volatile portion in a flash memory chip of the flash memory device to a volatile portion of the flash memory device;
copying the subset of the page of data from the volatile portion of the flash memory device to memory associated with the controller;
detecting the presence of one or more errors by analyzing the data subset copied to the memory associated with the controller, wherein analyzing the data subset includes determining whether the data subset includes the predetermined sequence of bits; and
in accordance with detecting the presence of the one or more errors in the data subset;
verifying all of the data copied to the volatile portion, the verifying including correcting detected errors; and
storing the verified data to a second non-volatile portion of the flash memory chip.
4 Assignments
0 Petitions
Accused Products
Abstract
Methods and systems are disclosed herein for detecting problems related to copyback programming. After the copyback data is read into the internal flash buffer, a part of the copyback data stored in the internal flash buffer (such as spare data) is analyzed to determine whether there are any errors in a part of the copyback data read. The analysis may be used by the flash memory in one or more ways related to the current copyback operation, subsequent copyback operations, subsequent treatment of the data in the current copyback operation, and subsequent treatment of the section in memory associated with the source page.
196 Citations
12 Claims
-
1. A method of detecting errors in a copyback operation in a flash memory device, the method comprising:
-
in the flash memory device with a controller, prior to a copyback operation, programming a page of data such that a subset of the page of data includes a predetermined sequence of bits; performing the copyback operation by; internally copying the page of data from a first non-volatile portion in a flash memory chip of the flash memory device to a volatile portion of the flash memory device; copying the subset of the page of data from the volatile portion of the flash memory device to memory associated with the controller; detecting the presence of one or more errors by analyzing the data subset copied to the memory associated with the controller, wherein analyzing the data subset includes determining whether the data subset includes the predetermined sequence of bits; and in accordance with detecting the presence of the one or more errors in the data subset; verifying all of the data copied to the volatile portion, the verifying including correcting detected errors; and storing the verified data to a second non-volatile portion of the flash memory chip. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A flash memory device configured to detect errors in a copyback operation, the flash memory device comprising:
-
a flash memory chip comprising a first non-volatile portion, a second non-volatile portion, and a volatile portion; and a controller in communication with the flash memory chip, the controller configured to; program a page of data such that a subset of the page of data includes a predetermined sequence of bits; command the flash memory chip to internally copy the page of data from the first non-volatile portion to the volatile portion of the flash memory device; copy the subset of the page of data from the volatile portion of the flash memory device to memory associated with the controller; detect the presence of one or more errors by analyzing the data subset copied to the memory associated with the controller, wherein analyzing the data subset includes determining whether the data subset includes the predetermined sequence of bits; and command the flash memory chip to in accordance with detecting the presence of the one or more errors in the data subset; verify all of the data copied to the volatile portion, the verifying including correcting detected errors; and storing the verified data to a second non-volatile portion of the flash memory chip. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification