Semiconductor memory device, semiconductor memory system, and erasure correction method
A memory card according to an embodiment includes: a memory section having a binary storage area (SLC area) and a multi-value storage area (MLC area); an error correction section configured to correct an error of data stored in the MLC area; and an erasure correction section configured to store, in the SLC area, the position information on the multi-value memory cell storing the data having the error detected by the error correction section and configured to perform erasure correction on the basis of the position information.
1. A semiconductor memory device comprising:
a nonvolatile memory section including a binary storage area configured by a plurality of binary memory cells and a multi-value storage area configured by a plurality of multi-value memory cells;
an error detection/correction section configured to detect and correct an error of data stored in the multi-value storage area; and
an erasure correction section configured to store, in the binary storage area, position information on bit data having an error detected by the error detection/correction section and to perform erasure correction on the basis of the position information when the error detection/correction section cannot perform an error correction.
2. The semiconductor memory device according to claim 1 ,
wherein the data stored in the multi-value storage area is read-only data.
3. The semiconductor memory device according to claim 2 ,
wherein, when the erasure correction is performed a predetermined number of times or more, the erasure correction section moves the data stored in the multi-value storage area to another position of the multi-value storage area.
4. A semiconductor memory system comprising:
a nonvolatile memory section including a binary storage area configured by a plurality of binary memory cells and a multi-value storage area configured by a plurality of multi-value memory cells;
an error detection/correction section configured to detect and correct an error of data stored in the multi-value storage area;
an erasure correction section configured to store, in the binary storage area, position information on bit data having the error detected by the error detection/correction section and to perform erasure correction on the basis of the position information when the error detection/correction section cannot perform an error correction; and
a host device.
5. The semiconductor memory system according to claim 4 ,
wherein the data stored in the multi-value storage area is read-only data.
6. The semiconductor memory system according to claim 5 ,
wherein, when the erasure correction is performed a predetermined number of times or more, the erasure correction section moves the data stored in the multi-value storage area to another position of the multi-value storage area.
7. An erasure correction method comprising:
data read process for reading, according to an instruction from a host, read-only data stored at a page address of a multi-value storage area of a nonvolatile memory section;
an error detection process for detecting, on the basis of parity, whether an error is caused in the read read-only data;
an error correction process for performing decode processing using the parity;
an error position storage process for storing, as error position information in a binary storage area of the memory section, position information on error bit data; and
an erasure correction process for performing decode processing by using, as an erasure position, the error position information stored in the binary storage area when the error detection/correction process cannot perform an error correction.
8. The erasure correction method according to claim 7 , further comprising
a refresh process for, when the erasure correction process is performed a predetermined number of times or more, moving the read-only data stored in the multi-value storage area to another position of the multi-value storage area.