Memory Apparatus and Method of Evenly Using the Blocks of a Flash Memory
First Claim
1. A method for accessing a flash memory, the flash memory is divided into a data region and a spare region, the data region includes a plurality of data blocks and the spare region includes a plurality of spare blocks, the method comprising the steps of:
- receiving data corresponding to a first logical address;
selecting a spare block in the spare region;
programming data into the spare block; and
linking a physical address of the spare block to the first logical address.
1 Assignment
0 Petitions
Accused Products
Abstract
A memory apparatus and a method of evenly using the blocks of a flash memory are provided. The memory apparatus comprises a flash memory and a controller. The flash memory comprises a data region with a plurality of data blocks and a spare region with a plurality of spare blocks. The controller is configured to receive data corresponding to the first data block, select a spare block, program data into the spare block when the erase count corresponding to the spare block is less than the predetermined value or to select a second data block and program data stored in the second data block into the spare block when the erased count corresponding to the spare block reaches the predetermined value. As a result, the blocks of the flash memory are used evenly.
58 Citations
20 Claims
-
1. A method for accessing a flash memory, the flash memory is divided into a data region and a spare region, the data region includes a plurality of data blocks and the spare region includes a plurality of spare blocks, the method comprising the steps of:
-
receiving data corresponding to a first logical address; selecting a spare block in the spare region; programming data into the spare block; and linking a physical address of the spare block to the first logical address. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of averagely using blocks of a flash memory, the flash memory includes a data region and a spare region, the data region having a plurality of data blocks, the spare region having a plurality of spare blocks, the method comprising the steps of:
-
receiving data corresponding to a first data block; selecting a spare block which is at a head sequence in the spare region; selecting a second data block when an erased count corresponding to the spare block reaches a predetermined value; programming data stored in the second data block into the spare block; and remapping the second data block and the spare block. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13)
-
-
14. A memory apparatus, comprising:
-
a flash memory including a data region having a plurality of data blocks and a spare region having a plurality of spare blocks; and a controller being configured to receive data corresponding to a first data block, to select a spare block, to program data into the spare block when an erased count corresponding to the spare block is less than a predetermined value or to select a second data block and program data stored in the second data block into the spare block when the erased count corresponding to the spare block reaches the predetermined value, whereby averagely using blocks of the flash memory. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification