MEMORY DEVICES AND ACCESS METHODS THEREOF
First Claim
1. An access method for a flash memory, wherein the flash memory comprises a data region and a spare region, the data region comprises a plurality of data blocks and the spare region comprises a plurality of spare blocks, comprising:
- retrieving a corresponding data with a check code from a first data block of the flash memory according to a read command from a host;
performing a predetermined check to the corresponding data by the check code;
determining whether an error is correctable when a check result of the predetermined check represents that the error has occurred; and
increasing an erase count of the first data block by a predetermined value when the error is correctable.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and devices capable of erasing a flash memory evenly are provided, in which a flash memory comprises a data region with a plurality of data blocks and a spare region with a plurality of spare blocks, and a controller retrieves a corresponding data with a check code from a first data block of the flash memory according to a read command from a host, performs a predetermined check to the corresponding data by the check code, determines whether an error is correctable when a check result of the predetermined check represents that the error has occurred, and increases an erase count of the first data block by a predetermined value when the error is correctable.
57 Citations
20 Claims
-
1. An access method for a flash memory, wherein the flash memory comprises a data region and a spare region, the data region comprises a plurality of data blocks and the spare region comprises a plurality of spare blocks, comprising:
-
retrieving a corresponding data with a check code from a first data block of the flash memory according to a read command from a host; performing a predetermined check to the corresponding data by the check code; determining whether an error is correctable when a check result of the predetermined check represents that the error has occurred; and increasing an erase count of the first data block by a predetermined value when the error is correctable. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An access method for a flash memory, wherein the flash memory is divided into a data region with a plurality of data blocks and a spare region with a plurality of spare blocks, comprising:
-
retrieving a corresponding data with a check code from a first data block of the flash memory according to a read command from a host; performing a predetermined check to the corresponding data by the check code; determining whether an error is correctable when a check result of the predetermined check represents that the error has occurred; increasing an erase count of the first data block by a predetermined value when the error is correctable; receiving data corresponding to a logical address linked to a second data block of the data region when receiving a write command from the host; popping a first spare block from the spare region; and writing data stored in a third data block to the first spare block and re-mapping the third data block and the first spare block when an erase count of the first spare block reaches a default value and the data region has the third data block with an erase count of zero. - View Dependent Claims (9, 10)
-
-
11. A memory device, comprising:
-
a flash memory comprising a data region with a plurality of data blocks and a spare region with a plurality of spare blocks; and a controller retrieving a corresponding data with a check code from a first data block of the flash memory according to a read command from a host, performing a predetermined check to the corresponding data by the check code, determining whether an error is correctable when a check result of the predetermined check represents that the error has occurred, and increasing an erase count of the first data block by a predetermined value when the error is correctable. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification