IP Library Granted Patent US 12,032,831
Granted Patent B2
US 12,032,831 · App. 17/880,546 · Granted Jul 9, 2024

Memory system

Inventors: Junji Yano (Yokohama, JP); Hidenori Matsuzaki (Tokyo, JP); Kosuke Hatsuda (Tokyo, JP)
Assignee: KIOXIA CORPORATION
G06F3/0614G06F3/0631G06F3/064G06F3/0647G06F3/0685G06F11/073G06F12/0246G06F12/0802G06F12/0804G06F12/0866G11C29/88G06F2212/1032G06F2212/2022G06F2212/22G06F2212/7202G11C2029/0409G11C2029/0411
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,032,831
App. No.
17/880,546
Granted
Jul 9, 2024
Kind
B2
Abstract

A memory system includes a volatile first storing unit, a nonvolatile second storing unit in which data is managed in a predetermined unit, and a controller that writes data requested by a host apparatus in the second storing unit via the first storing unit and reads out data requested by the host apparatus from the second storing unit to the first storing unit and transfers the data to the host apparatus. The controller includes a management table for managing the number of failure areas in a predetermined unit that occur in the second storing unit and switches, according to the number of failure areas, an operation mode in writing data in the second storing unit from the host apparatus.

Claims (48)

1. A memory system comprising:

a nonvolatile memory including a plurality of blocks; and

a controller configured to:

generate a free block by controlling the nonvolatile memory;

manage a number of free blocks in the nonvolatile memory;

refer to the number of free blocks in the nonvolatile memory or a number of remaining entries of a bad block management table for managing bad blocks; and

determine whether or not the memory system is approaching an end of lifespan on the basis of the number of free blocks or the number of remaining entries of the bad block management table; wherein,

in a case where the controller determines that the memory system is approaching the end of lifespan in response to the number of free blocks being insufficient or the number of remaining entries being equal to or smaller than a threshold value, a data write operation to the blocks in the nonvolatile memory becomes prohibited and a data write operation mode to the blocks in the nonvolatile memory is changed to a read only mode, and

after the data write operation to the blocks becomes prohibited and the data write operation mode is changed to the read only mode, the data write operation to the blocks will continue to be prohibited and the data write operation mode will continue to be maintained in the read only mode without determining whether or not the memory system is approaching the end of lifespan even after an external power supply is restarted and the memory system is turned on again.

2. The memory system according to claim 1 , wherein the controller is configured to store a value that indicates a number of bad blocks in the nonvolatile memory.

3. The memory system according to claim 1 , wherein the controller is configured to store a value that indicates the number of free blocks in the nonvolatile memory.

4. The memory system according to claim 1 , wherein the controller is configured to issue warning information in the case where the controller determines that the memory system is approaching the end of lifespan based on a number of bad blocks or the number of free blocks.

5. The memory system according to claim 1 , wherein in response to receiving a data write request from a host device connected to the memory system after the data write operation to the nonvolatile memory is prohibited, the controller is configured to return a notice indicating an error without processing the data write request.

6. The memory system according to claim 1 , wherein

the nonvolatile memory is a NAND-type flash memory, and

the memory system is an SSD.

7. A memory system comprising:

a nonvolatile memory including a plurality of blocks; and

a controller configured to:

generate a free block by controlling the nonvolatile memory;

manage a number of free blocks in the nonvolatile memory;

refer to the number of free blocks in the nonvolatile memory or a number of remaining entries of a bad block management table for managing bad blocks; and

determine whether or not the memory system is approaching an end of lifespan on the basis of the number of free blocks or the number of remaining entries of the bad block management table; wherein,

in a case where the controller determines that the memory system is approaching the end of lifespan in response to the number of free blocks being insufficient or the number of remaining entries being equal to or smaller than a threshold value, the controller is configured to prohibit a data write operation to the blocks in the nonvolatile memory and to change a data write operation mode to a read only mode, and

after the data write operation to the blocks becomes prohibited and the data write operation mode is changed to the read only mode, the controller is configured to prohibit the data write operation and to process memory access in the read only mode without determining whether or not the memory system is approaching the end of lifespan even after an external power supply is restarted and the memory system is turned on again.

8. The memory system according to claim 7 , wherein the controller is configured to store a value that indicates a number of bad blocks in the nonvolatile memory.

9. The memory system according to claim 7 , wherein the controller is configured to store a value that indicates the number of free blocks in the nonvolatile memory.

10. The memory system according to claim 7 , wherein the controller is configured to issue warning information in the case where the controller determines that the memory system is approaching the end of lifespan based on a number of bad blocks or the number of free blocks.

11. The memory system according to claim 7 , wherein in response to receiving a data write request from a host device connected to the memory system after the data write operation to the nonvolatile memory is prohibited, the controller is configured to return a notice indicating an error without processing the data write request.

12. The memory system according to claim 7 , wherein

the nonvolatile memory is a NAND-type flash memory, and

the memory system is an SSD.

13. A memory system comprising:

a nonvolatile memory including a plurality of blocks; and

a controller configured to:

manage bad blocks using a bad block management table;

manage a number of free blocks in the nonvolatile memory;

refer to the number of free blocks in the nonvolatile memory or a number of remaining entries of the bad block management table for managing the bad blocks; and

determine whether or not the memory system is approaching an end of lifespan on the basis of the number of free blocks or the number of remaining entries of the bad block management table; wherein,

in a case where the controller determines that the memory system is approaching the end of lifespan in response to the number of free blocks being insufficient or the number of remaining entries being equal to or smaller than a threshold value, the controller is configured to prohibit a data write operation to the blocks in the nonvolatile memory and to change a data write operation mode to a read only mode, and

after the data write operation to the blocks becomes prohibited and the data write operation mode is changed to the read only mode, the controller is configured to prohibit the data write operation and to process memory access in the read only mode without determining whether or not the memory system is approaching the end of lifespan even after an external power supply is restarted and the memory system is turned on again.

14. The memory system according to claim 13 , wherein the controller is configured to store a value that indicates the number of bad blocks in the nonvolatile memory.

15. The memory system according to claim 13 , wherein the controller is configured to store a value that indicates the number of free blocks in the nonvolatile memory.

16. The memory system according to claim 13 , wherein the controller is configured to issue warning information in the case where the controller determines that the memory system is approaching the end of lifespan based on the number of bad blocks or the number of free blocks.

17. The memory system according to claim 13 , wherein in response to receiving a data write request from a host device connected to the memory system after the data write operation to the nonvolatile memory is prohibited, the controller is configured to return a notice indicating an error without processing the data write request.

18. The memory system according to claim 13 , wherein

the nonvolatile memory is a NAND-type flash memory, and

the memory system is an SSD.