Wear leveling method and apparatus for nonvolatile memory
First Claim
1. A wear leveling method for a nonvolatile memory containing a plurality of memory blocks, the method comprising:
- maintaining a record of at least one cold block candidate for the nonvolatile memory; and
moving content in the at least one cold block candidate to at least one free block of the plurality of memory blocks when a threshold condition occurs.
1 Assignment
0 Petitions
Accused Products
Abstract
A wear leveling apparatus uniformly distributes wear over a nonvolatile memory containing a plurality of memory blocks. The wear leveling apparatus includes a memory unit for storing a record of cold block candidates in the nonvolatile memory and a control unit configured to update the memory unit and release the cold block candidates under a threshold condition. The control unit selects a new memory block to replace one cold block candidate in the memory unit when the cold block candidate is matched with a written address in a write command for the nonvolatile memory. The cold block candidates remained in the memory unit are identified as cold blocks when the nonvolatile memory has been written more than a predetermined write count threshold. The memory blocks with infrequent erasure can be identified and released to uniformly distribute wear over the nonvolatile memory.
194 Citations
25 Claims
-
1. A wear leveling method for a nonvolatile memory containing a plurality of memory blocks, the method comprising:
-
maintaining a record of at least one cold block candidate for the nonvolatile memory; and
moving content in the at least one cold block candidate to at least one free block of the plurality of memory blocks when a threshold condition occurs. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. In a nonvolatile memory comprising a plurality of memory blocks and characterized with finite erase cycles, a method for identifying infrequently-erased block in the nonvolatile memory comprising:
-
selecting at least one memory block stored with data as a candidate of infrequently-erased block in the nonvolatile memory;
replacing the candidate with a new memory block when a written address in a write command for the nonvolatile memory is matched with the candidate; and
identifying the candidate as infrequently-erased block when a threshold condition occurs. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. A wear leveling apparatus for a nonvolatile memory containing a plurality of memory blocks, the wear leveling apparatus comprising:
-
a memory unit for storing cold block candidates in a flash memory; and
a control unit configured to select a new memory block to replace one of the cold block candidates with a writing command associated with the cold block candidate and configured to move the content of the cold block candidates to free blocks in the nonvolatile memory in a threshold condition. - View Dependent Claims (20, 21, 22, 23, 24, 25)
-
Specification