# US 9,355,025 B2 · Method of controlling memory system in the event of sudden power off

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,355,025 B2
- Document ID: US9355025B2
- Status: Granted
- Kind: B2
- Application number: 13/737,308
- Filed: 2013-01-09
- Published: 2013-07-11
- Granted: 2016-05-31
- Earliest claimed: 2012-01-09
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Gyu-Dong Shim; Won-Moon Cheon; Min-Wook Jung
- Inventors: Gyu-Dong Shim; Won-Moon Cheon; Min-Wook Jung
- Web page: https://patentgrep.com/patent/US9355025B2

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 1/24: Resetting means
- G06F 1/28: Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
- G06F 11/073: {in a memory management context, e.g. virtual memory or cache management (memory management G06F12/00; testing of static memory units G11C29/00)}
- G06F 11/0757: {by exceeding a time limit, i.e. time-out, e.g. watchdogs}
- G06F 11/1441: {Resetting or repowering}
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G06F 2212/7208: Multiple device management, e.g. distributing data over multiple flash devices
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A method of controlling a memory system that comprises a first flash memory device and a memory controller, the method comprising counting a first timeout when a sudden power off occurs, resetting the first flash memory device when the first timeout expires, and dumping data to the first flash memory device.

## Claims

### Claim 1

A method of controlling a memory system that comprises a first flash memory device and a memory controller, the method comprising:
counting a first timeout in response to a sudden power off occurrence, the first timeout being less than an internal power off time corresponding to a time between a beginning of the power off occurrence and a time that an auxiliary power device ceases to supply the memory device with power;
resetting the first flash memory device in response to the first timeout expiring; and
dumping data to the first flash memory device after the resetting of the first flash memory in response to the first time out expiring and prior to the internal power off time.

### Claim 2 (depends on 1)

The method of claim 1, wherein a maximum time allowed for the first flash memory device to perform a read operation is a first time, a maximum time allowed for the first flash memory device to perform a program operation is a second time, and the first timeout is set to a time longer than a longer one of the first time and the second time.

### Claim 3 (depends on 2)

The method of claim 2, wherein a maximum time allowed for the first flash memory device to perform an erase operation is a third time, and the first timeout is set to a time shorter than the third time.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first flash memory device performs a first operation while the first timeout is counted, the first operation is not completed when the first timeout expires, and the first flash memory device is reset based on determining that the first operation was not completed when the first timeout expired.

### Claim 5 (depends on 4)

The method of claim 4, wherein the first operation comprises the erase operation.

### Claim 6 (depends on 1)

The method of claim 1, wherein the memory system further comprises a second flash memory device, and the method further comprises:
counting a second timeout while dumping the data to the first flash memory device; and
dumping the data to the second flash memory device in response to the dumping of the data to the first flash memory device not being completed when the second timeout expires.

### Claim 7 (depends on 6)

The method of claim 6, wherein the second timeout is set in view of an average time required for one of the first and second flash memory devices to perform the program operation.

### Claim 8 (depends on 1)

The method of claim 1, wherein the dumping of the data is performed after a reset completion signal is received from the first flash memory device.

### Claim 9 (depends on 1)

The method of claim 1, wherein the memory controller comprises a queue in which operations to be performed by the first flash memory device are queuing, and the method further comprises:
aborting the operations in the queue while counting the first timeout in response to the sudden power off occurrence.

### Claim 10 (depends on 1)

The method of claim 1, wherein the memory controller comprises a voltage comparator, and the voltage comparator determines that the sudden power off has occurred in response to a voltage applied to the memory system being lower than a reference voltage.

### Claim 11 (depends on 1)

The method of claim 1, wherein the memory system further comprises a second flash memory device, and the second flash memory device is not reset in response to the first timeout expiring.

### Claim 12 (depends on 11)

The method of claim 11, wherein the second flash memory device performs a second operation while the first timeout is counted, and the second operation is completed before the first timeout expires.

### Claim 13

A method of controlling a memory system that comprises a plurality of flash memory devices and a memory controller, the method comprising:
counting a first timeout in response to a sudden power off occurrence;
resetting some of the flash memory devices which are performing operations, in response to the first timeout expiring; and
dumping data to at least one of the flash memory devices after the resetting the some of the first flash memory devices in response to the first time out expiring, the expiring of the first time out being prior to an internal power off time, and the internal power off time corresponding to a time between a beginning of the power off occurrence and a time that an auxiliary power device ceases to supply the memory device with power.

### Claim 14 (depends on 13)

The method of claim 13, wherein the operations being performed by the some of the flash memory devices comprise an erase operation.

### Claim 15 (depends on 13)

The method of claim 13, wherein a maximum time allowed for the flash memory devices to perform a read operation is a first time, a maximum time allowed for the flash memory devices to perform a program operation is a second time, and a maximum time allowed for the flash memory devices to perform the erase operation is a third time, and wherein the first timeout is set to a time which is longer than a longer one of the first time and the second time and is shorter than the third time.

### Claim 16

A method of controlling a memory system that comprises a memory controller and a flash memory device unit including a first flash memory device, the method comprising:
counting a first timeout while performing operations by the flash memory device unit in response to a sudden power off occurrence, the first timeout having a duration less than an internal power off time corresponding to a time between a beginning of the power off occurrence and a time that an auxiliary power device ceases to supply the flash memory device with power; and
resetting the first flash memory device before a first operation performed by the first flash memory device is completed, in response to the first timeout expiring.

### Claim 17 (depends on 16)

The method of claim 16, wherein the flash memory device unit further includes a second flash memory device, and a second operation performed by the second flash memory device is completed before the first timeout expires.

### Claim 18 (depends on 17)

The method of claim 17, wherein the first operation is an erase operation and the second operation is one of a read operation and a program operation.

### Claim 19 (depends on 17)

The method of claim 17, further comprising:
counting a second timeout while dumping data to the first and second flash memory devices after the first timeout expires; and
resetting the at least one of the first and second flash memory devices in response to the dumping of the data to at least one of the first and second flash memory devices not being completed when the second timeout expires.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
performing an additional dump operation to complete the dumping of the data after the second timeout expires in response to the at least one of the first and second flash memory devices being reset.
