Data storage device and error correction method thereof
First Claim
1. A data storage device, comprising:
- a flash memory, capable of operating in a SLC mode and a non-SLC mode; and
a controller, configured to perform a first read operation to read a page corresponding to a first word line of the flash memory in the SLC mode according to a read command of a host, and perform an adjustable read operation when data read by the first read operation cannot be recovered by coding, wherein the controller is further configured to enable the flash memory to operate in the non-SLC mode in the adjustable read operation, and write logic 1 into a most-significant-bit page corresponding to the first word line in the non-SLC mode to adjust voltage distribution of the first page.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a data storage device including a flash memory and a controller. The flash memory is capable of operating in a SLC mode and a non-SLC mode. The controller is configured to perform a first read operation to read a page corresponding to a first word line of the flash memory in the SLC mode according to a read command of a host, and perform an adjustable read operation when data read by the first read operation cannot be recovered by coding, wherein the controller is further configured to enable the flash memory to operate in the non-SLC mode in the adjustable read operation, and write logic 1 into a most-significant-bit page corresponding to the first word line in the non-SLC mode to adjust voltage distribution of the first page.
-
Citations
28 Claims
-
1. A data storage device, comprising:
-
a flash memory, capable of operating in a SLC mode and a non-SLC mode; and a controller, configured to perform a first read operation to read a page corresponding to a first word line of the flash memory in the SLC mode according to a read command of a host, and perform an adjustable read operation when data read by the first read operation cannot be recovered by coding, wherein the controller is further configured to enable the flash memory to operate in the non-SLC mode in the adjustable read operation, and write logic 1 into a most-significant-bit page corresponding to the first word line in the non-SLC mode to adjust voltage distribution of the first page. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A error correction method, applied to a data storage device, wherein the data storage device comprises a flash memory capable of operating in a SLC mode and a non-SLC mode, the error correction method comprising:
-
performing a first read operation to read a page corresponding to a first word line of the flash memory in the SLC mode according to a read command of a host; determining whether data read by the first read operation can be recovered by coding; and performing an adjustable read operation when data read by the first read operation cannot be recovered by coding, wherein the adjustable read operation comprises; enabling the flash memory to operate in the non-SLC mode; and writing logic 1 into a most-significant-bit page corresponding to the first word line in the non-SLC mode to adjust voltage distribution of the first page. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A data reading method, applied to a data storage device, wherein the data storage device comprises a flash memory capable of operating in a SLC mode and a multi-level cell mode, the data reading method comprising:
-
performing a first read operation to read a page corresponding to a first word line of the flash memory in the SLC mode according to a read command of a host to obtain a first data segment; enabling the flash memory to operate in the multi-level cell mode when the first data segment cannot be recovered by coding; and writing a predetermined data into a most-significant-bit page corresponding to the first word line in the multi-level cell mode; enabling the flash memory to operate in the SLC mode; and reading the page corresponding to the first word line again to obtain a second data segment. - View Dependent Claims (24, 25, 26, 27)
-
-
28. A data reading method, applied to a data storage device, wherein the data storage device comprises a flash memory capable of operating in a SLC mode and a multi-level cell mode, the data reading method comprising:
-
performing a first read operation to read a page corresponding to a first word line of the flash memory in the SLC mode according to a read command of a host to obtain a first data segment; writing a predetermined data into a most-significant-bit page corresponding to the first word line in the multi-level cell mode when the first data segment cannot be recovered by coding; enabling the flash memory to operate in the multi-level cell mode when the first data segment cannot be recovered by coding; writing a predetermined data into a most-significant-bit page corresponding to the first word line in the multi-level cell mode; reading the page corresponding to the first word line in the SLC mode again to obtain a second data segment; and transmitting the second data segment to the host when the second data segment can be recovered by coding.
-
Specification