# US 2009/0276562 A1 · Flash cache flushing method and system

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

- Number: US 2009/0276562 A1
- Document ID: US20090276562A1
- Status: Published application
- Kind: A1
- Application number: 12/214,291
- Filed: 2008-05-01
- Published: 2009-11-05
- Earliest claimed: 2008-05-01
- Assignees: SanDisk IL Ltd.
- Inventors: Opher Lieber
- Web page: https://patentgrep.com/patent/US20090276562A1

## CPC

- G06F 12/0804: with main memory updating (G06F12/0806 takes precedence)
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A flash memory system that uses repeated writing of the data to achieve stable storage, is adapted for efficient cache flushing operations by utilizing a part of the non-volatile flash memory array as a designated buffer for the data, in which data integrity is retained until all repeat writing thereof is complete. Repeated writing is carried out from the designated buffer directly to the final storage locations in the flash memory array, for example using simple internal copy back operations.

## Claims

### Claim 1

A flash memory system, comprising:
a flash controller; and
a flash memory array comprising a non-volatile long term storage area, a non-volatile cache storage area and a non-volatile buffer,
wherein units of data are periodically copied from the cache storage area to the long term storage area via said flash controller;
wherein said flash controller is configured for conditioning said units of data copied from said cache storage area, thereby generating conditioned data units;
wherein said non-volatile buffer is configured to temporarily store said conditioned data units;
and wherein said system is configured to directly copy said-conditioned data units from said non-volatile buffer to the long term storage area.

### Claim 2 (depends on 1)

The system of claim 1, wherein said flash memory array is configured to require writing selected numbers of write times to storage locations therein, said numbers being greater than one for at least some locations, and wherein for at least one of the storage locations each one of said write operations is carried out by directly copying from said non-volatile buffer to said at least one storage location.

### Claim 3 (depends on 2)

The system of claim 2, wherein said non-volatile buffer is configured to retain said temporarily stored conditioned data units until said selected number of write times has been reached.

### Claim 4 (depends on 1)

The system of claim 1, wherein said direct writing comprises using die-internal copy back operations.

### Claim 5 (depends on 2)

The system of claim 2, configured to carry out said direct copying each time to a same location for any given temporarily stored conditioned data unit.

### Claim 6 (depends on 2)

The flash memory system of claim 2, wherein said non-volatile buffer storage area is designated dynamically.

### Claim 7 (depends on 2)

The flash memory system of claim 2, wherein one of said selected numbers of write times is two.

### Claim 8 (depends on 1)

The flash memory system of claim 1, wherein said non-volatile buffer is operated in single bit per cell (SLC) mode.

### Claim 9

A method of copying of data from a nonvolatile cache storage area into a storage location in a flash array, comprising:
selecting data in the nonvolatile cache storage area to be copied;
first forwarding of said data to a flash controller;
conditioning said data in said flash controller;
second forwarding of said data in conditioned form back to the flash array;
at the flash array storing the data in a temporary non-volatile buffer; and
directly copying said data from the temporary non-volatile buffer into the storage location.

### Claim 10 (depends on 9)

The method of claim 9, comprising carrying out said conditioning and first and second forwarding once and said direct copying a plurality of times, to a plurality of locations at least one of which is said storage location.

### Claim 11 (depends on 9)

The method of claim 9, wherein said direct copying to said storage location comprises using a flash die copy back operation.

### Claim 12 (depends on 9)

The method of claim 9 wherein said direct copying is carried out a plurality of times and wherein the storage location in the main storage area to which the data is copied each time is substantially the same location.

### Claim 13 (depends on 9)

The method of claim 9, wherein the conditioned form of the data is the same as the selected data.

### Claim 14 (depends on 9)

The method of claim 9 wherein the conditioned form of the data is different at least in part from the selected data.

### Claim 15 (depends on 9)

The method of claim 9 comprising operating the temporary non-volatile buffer in an SLC storage mode.
