Method for accessing a Flash memory, and associated memory device and controller thereof
First Claim
1. A method for accessing a Flash memory comprising a plurality of blocks, the method comprising:
- reading a page in a second block of the blocks;
determining whether at least one error bit that occurs during reading is an error correctable by error correction codes (ECCs);
when the at least one error bit that occurs during reading is not an error correctable by ECCs, selectively re-reading the page;
selectively programming a page in a first block of the blocks, wherein the step of selectively programming the page in the first block of the blocks further comprises;
when the at least one error bit that occurs during reading is an error correctable by ECCs, programming the same page of the reading step in the first block of the blocks;
when a status of the Flash memory is abnormal, determining whether a number of error bits is less than a predetermined value;
when the number of error bits is not less than the predetermined value, moving the first block; and
after the first block is moved, determining whether at least one error bit is an error correctable by ECCs.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for accessing a Flash memory including a plurality of blocks includes: selectively programming a page in a first block of the blocks; when a status of the Flash memory is abnormal, determining whether a number of error bits is less than a predetermined value; and when the number of error bits is not less than the predetermined value, moving the first block. An associated memory device and a controller thereof are also provided, where the controller includes: a read only memory (ROM) arranged to store a program code; and a microprocessor arranged to execute the program code to control the access to the Flash memory. In addition, when the number of error bits is not less than the predetermined value, the controller that executes the program code by utilizing the microprocessor moves the first block.
-
Citations
15 Claims
-
1. A method for accessing a Flash memory comprising a plurality of blocks, the method comprising:
-
reading a page in a second block of the blocks; determining whether at least one error bit that occurs during reading is an error correctable by error correction codes (ECCs); when the at least one error bit that occurs during reading is not an error correctable by ECCs, selectively re-reading the page; selectively programming a page in a first block of the blocks, wherein the step of selectively programming the page in the first block of the blocks further comprises; when the at least one error bit that occurs during reading is an error correctable by ECCs, programming the same page of the reading step in the first block of the blocks; when a status of the Flash memory is abnormal, determining whether a number of error bits is less than a predetermined value; when the number of error bits is not less than the predetermined value, moving the first block; and after the first block is moved, determining whether at least one error bit is an error correctable by ECCs. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A memory device, comprising:
-
a Flash memory comprising a plurality of blocks; and a controller for accessing the Flash memory, wherein the controller selectively programs a page in a first block of the blocks; wherein the controller reads a page in a second block of the blocks, and determines whether at least one error bit that occurs during reading is an error correctable by error correction codes (ECCs);
when the at least one error bit that occurs during reading is not an error correctable by ECCs, the controller selectively re-reads the page; and
when the at least one error bit that occurs during reading is an error correctable by ECCs, the controller programs the same page of the reading operation in the first block of the blocks;wherein when a status of the Flash memory is abnormal, the controller determines whether a number of error bits is less than a predetermined value;
when the number of error bits is not less than the predetermined value, the controller moves the first block; and
after the controller moves the first block, the controller determines whether at least one error bit is an error correctable by ECCs. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A controller of a memory device, the controller being utilized for accessing a Flash memory comprising a plurality of blocks, the controller comprising:
-
a read only memory (ROM) arranged to store a program code; and a microprocessor arranged to execute the program code to control the access to the Flash memory; wherein the controller that executes the program code by utilizing the microprocessor selectively programs a page in a first block of the blocks;
the controller that executes the program code by utilizing the microprocessor reads a page in a second block of the blocks, and determines whether at least one error bit that occurs during reading is an error correctable by error correction codes (ECCs);
when the at least one error bit that occurs during reading is not an error correctable by ECCs, the controller that executes the program code by utilizing the microprocessor selectively re-reads the page; and
when the at least one error bit that occurs during reading is an error correctable by ECCs, the controller that executes the program code by utilizing the microprocessor programs the same page of the reading operation in the first block of the blocks;wherein when a status of the Flash memory is abnormal, the controller that executes the program code by utilizing the microprocessor determines whether a number of error bits is less than a predetermined value;
when the number of error bits is not less than the predetermined value, the controller that executes the program code by utilizing the microprocessor moves the first block; and
after the controller that executes the program code by utilizing the microprocessor moves the first block, the controller determines whether at least one error bit is an error correctable by ECCs. - View Dependent Claims (12, 13, 14, 15)
-
Specification