Erased page detection
First Claim
1. A memory device comprising:
- a memory including a plurality of nonvolatile memory cells; and
a memory controller comprisingan encoder configured to (i) receive user write data and (ii) encode the user write data to generate encoded data,wherein the encoder includes an inserter to insert an indicator in the user write data prior to encoding the user write data,wherein the inserted indicator indicates whether or not the encoded data is in an erased state,wherein data stored in the memory is in the erased state if the data is intended to erase a section of the memory in which the data is stored, andwherein the encoded data is stored in the memory, anda decoder configured to (i) read the encoded data from the memory, (ii) generate user read data from the encoded data read from the memory,wherein the decoder includes a count detector configured to (i) count a number of 1'"'"'s in the encoded data read from the memory, (ii) determine that the encoded data is in the erased state if the counted number of 1'"'"'s is less than a threshold,wherein the user write data has N number of data bits, wherein N is an integer, andwherein the threshold is equal to N/2.
4 Assignments
0 Petitions
Accused Products
Abstract
A memory device and method, such as a flash memory device and method, includes a memory having a plurality of nonvolatile memory cells for storing stored values of user data. The memory device and method includes a memory controller for controlling the memory. The memory controller includes an encoder for encoding user write data for storage of code values as the stored values in the memory. The encoder includes an inserter for insertion of an indicator as part of the stored values for use in determining when the stored values are or are not in an erased state. The memory controller includes a decoder for reading the stored values from the memory to form user read data values when the stored values are not in the erased state.
-
Citations
12 Claims
-
1. A memory device comprising:
-
a memory including a plurality of nonvolatile memory cells; and a memory controller comprising an encoder configured to (i) receive user write data and (ii) encode the user write data to generate encoded data, wherein the encoder includes an inserter to insert an indicator in the user write data prior to encoding the user write data, wherein the inserted indicator indicates whether or not the encoded data is in an erased state, wherein data stored in the memory is in the erased state if the data is intended to erase a section of the memory in which the data is stored, and wherein the encoded data is stored in the memory, and a decoder configured to (i) read the encoded data from the memory, (ii) generate user read data from the encoded data read from the memory, wherein the decoder includes a count detector configured to (i) count a number of 1'"'"'s in the encoded data read from the memory, (ii) determine that the encoded data is in the erased state if the counted number of 1'"'"'s is less than a threshold, wherein the user write data has N number of data bits, wherein N is an integer, and wherein the threshold is equal to N/2. - View Dependent Claims (2)
-
-
3. A memory device comprising:
-
a memory including a plurality of nonvolatile memory cells; and a memory controller comprising an encoder configured to (i) receive user write data and (ii) encode the user write data to generate encoded data, wherein the encoder includes an inserter, wherein the inserter includes a flag appender to append a flag in the user write data prior to encoding the user write data, wherein the inserted flag indicates whether or not the encoded data is in an erased state, wherein the encoded data is stored in the memory, wherein data stored in the memory is in the erased state if the stored data is intended to erase a section of the memory in which the data is stored, and a decoder configured to (i) read the encoded data from the memory, (ii) generate user read data from the encoded data read from the memory, wherein the decoder includes a detector for detecting the flag in the user read data, wherein the flag is a 2-bit flag, and wherein “
10” and
“
01”
states of the 2-bit flag indicate that the encoded data is not in the erased state. - View Dependent Claims (4, 5, 6, 7, 8)
-
-
9. In a memory device including a memory having a plurality of nonvolatile memory cells for storing data, a method of controlling the memory comprising:
-
encoding user write data to generate encoded data; while encoding the user write data, inserting an indicator in the user write data, wherein the indicator indicates whether or not the encoded data is in an erased state, wherein a first data is in the erased state if the first data is intended to erase a section of the memory in which the first data is to be stored; storing the encoded data in the memory; reading the encoded data from the memory; and based on the encoded data not being in the erased state, decoding the encoded data read from the memory, to generate user read data, wherein decoding the encoded data comprises counting a number of 1'"'"'s in the encoded data read from the memory, based on the counted number of 1'"'"'s in the encoded data being less than a threshold, determining that the encoded data is in the erased state, wherein the user write data comprises code values having N number of data bits, where N is an integer, and wherein the threshold is equal to N/2. - View Dependent Claims (10)
-
-
11. In a memory device including a memory having a plurality of nonvolatile memory cells for storing data, a method of controlling the memory comprising:
-
encoding user write data to generate encoded data; while encoding the user write data, appending a flag to the user write data, wherein the flag indicates whether or not the encoded data is in an erased state, wherein a first data is in the erased state if the first data is intended to erase a section of the memory in which the first data is to be stored; storing the encoded data in the memory; reading the encoded data from the memory; and decoding the encoded data read from the memory, to generate user read data, wherein decoding the encoded data comprises detecting the flag in the user read data, wherein the flag is a 2-bit flag, and wherein “
10” and
“
01”
states of the 2-bit flag indicate that the encoded data is not in the erased state. - View Dependent Claims (12)
-
Specification