Memory system and control method thereof
First Claim
Patent Images
1. A memory system comprising:
- a controller which includes a host interface circuit and a NAND interface circuit; and
a NAND flash memory including a plurality of blocks as data erase units, the block including free blocks, the NAND flash memory storing management information for each of the block,whereinthe host interface circuit receives first data and a write command from the host,the controller selects a block whose erase count is lowest and does not contain valid data, based on the management information,the controller writes the first data into the selected block via the NAND interface circuit,the controller changes the management information to indicate the selected block stores valid data, andthe controller replaces a less frequently used block with a free block having an erase count higher than the less frequently used block.
4 Assignments
0 Petitions
Accused Products
Abstract
A memory system includes a nonvolatile memory including a plurality of blocks as data erase units, a measuring unit which measures an erase time at which data of each block is erased, and a block controller which writes data supplied from at least an exterior into a first block which is set in a free state and whose erase time is oldest.
-
Citations
53 Claims
-
1. A memory system comprising:
-
a controller which includes a host interface circuit and a NAND interface circuit; and a NAND flash memory including a plurality of blocks as data erase units, the block including free blocks, the NAND flash memory storing management information for each of the block, wherein the host interface circuit receives first data and a write command from the host, the controller selects a block whose erase count is lowest and does not contain valid data, based on the management information, the controller writes the first data into the selected block via the NAND interface circuit, the controller changes the management information to indicate the selected block stores valid data, and the controller replaces a less frequently used block with a free block having an erase count higher than the less frequently used block. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A memory system comprising:
-
a controller which includes a host interface circuit and a NAND interface circuit; and a NAND flash memory including a plurality of blocks as data erase units, the blocks including free blocks, the NAND flash memory storing management information for each of the block, wherein the controller is configured to execute first and second wear leveling processes, in the first process the host interface circuit receives first data and a write command from the host; the controller selects a block whose erase count is lowest and does not contain valid data, based on the management information; the controller writes the first data into the selected block via the NAND interface circuit; and the controller changes the management information to indicate the selected block stores valid data, and the second process includes replacing a less frequently used block with a free block having an erase count higher than the less frequently used block. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A memory system comprising:
-
a first nonvolatile semiconductor memory comprising at least a plurality of blocks, each of the blocks being a unit for erasure of data; and a controller comprising, a host interface circuit to receive data and a command from a host, and a memory interface circuit to interface with the first nonvolatile semiconductor memory; the first nonvolatile semiconductor memory configured to store management information for each of the blocks, the management information including, first information indicating an erase count, and second information indicating whether a block stores valid data, wherein the first nonvolatile semiconductor memory is configured to perform a first mode and a second mode, where in the first mode; the host interface circuit receives first data and a write command from the host, the controller selects a block whose erase count is minimum and which does not contain valid data, based on the management information, the controller writes the first data into the selected block via the memory interface, and the controller changes the management information to indicate the selected block stores valid data, where in the second mode; the controller selects a first block whose erase count is a first number and which contains second data that is valid, based on the management information, the controller selects a second block whose erase count is a second number larger than the first number and which does not contain valid data, based on the management information, the controller writes the second data into the second block, and the controller changes the management information to indicate the first block does not store valid data and the second block does store valid data. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31)
-
-
32. A memory system comprising:
-
an interface unit which receives data from outside of the memory system; a first nonvolatile memory including a plurality of blocks as data erase units; and a controller which controls the first nonvolatile memory; wherein the controller is configured to; determine whether or not a leveling process is to be performed based on information relating to each block, write data received from the outside into a first block to which a logical address is not allocated if it is determined that the leveling process is not to be performed, and perform the leveling process if it is determined that the leveling process is to be performed, wherein the leveling process comprises; reading data from a second block to which a logical address is allocated, writing the data read from the second block into a third block of which data is erased, the number of erase counts of the second block being less than that of the third block, releasing the logical address which is allocated to the second block, and allocating the logical address, to the third block, which was allocated to the second block. - View Dependent Claims (33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
-
-
45. A memory system comprising:
-
a first nonvolatile semiconductor memory including a plurality of blocks as data erase units, the blocks including a first block, a second block, a third block, and a fourth block; and a controller circuit configured to manage a relationship between a plurality of logical addressees designated by a host device and a plurality of physical addresses of the nonvolatile semiconductor memory, the logical addresses including a first logical address and a second logical address, wherein; the controller circuit manages first information regarding erase counts of the blocks; the controller circuit receives a request for writing first data to a first logical address from the host device; the controller circuit performs in a response to the request; writing the first data into the first block to which any of the logical addresses are not allocated at the time of the receiving the request; releasing an allocation of the first logical address to the second block; and allocating the first logical address to the first block; the controller circuit determines whether or not a wear leveling process is to be performed; and the controller circuit performs the wear leveling process if it is determined that the wear leveling process is to be performed including; selecting the third block and fourth block based on at least part of the first information, an erase count of the third block being smaller than an erase count of the fourth block; reading second data from the third block to which the second logical address is allocated; writing the second data read from the third block into the fourth block; releasing an allocation of the second logical address to the third block; and allocating the second logical address to the fourth block. - View Dependent Claims (46, 47, 48, 49, 50, 51, 52, 53)
-
Specification