# US 9,003,102 B2 · Controller with extended status register and method of use therewith

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

- Number: US 9,003,102 B2
- Document ID: US9003102B2
- Status: Granted
- Kind: B2
- Application number: 13/218,935
- Filed: 2011-08-26
- Published: 2013-02-28
- Granted: 2015-04-07
- Earliest claimed: 2011-08-26
- Assignees: SanDisk Technologies LLC
- Applicants: Paul A. Lassa
- Inventors: Paul A. Lassa
- Web page: https://patentgrep.com/patent/US9003102B2

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0658: {Controller construction arrangements}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 3/0626: {Reducing size or complexity of storage systems}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 9/30101: {Special purpose registers}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The embodiments described herein provide a controller with an extended status register and a method of use therewith. In one embodiment, a controller is provided with a first interface through which to communicate with a host and a second interface through which to communicate with a plurality of flash memory devices. The controller also comprises a status register, an extended status register, and a processor. The processor is operative to store, in the extended status register, status information of a plurality of events in time across the plurality of flash memory devices. The extended status register stores event status information, whereas the ONFI status register stores command status information. In response to a request from the host, the processor sends the status information of the plurality of events to the host for analysis.

## Claims

### Claim 1

A controller comprising:
a first interface through which to communicate with a host;
a plurality of second interfaces through which to connect to a plurality of flash memory devices in parallel, wherein each of the plurality of flash memory devices comprises a three-dimensional memory;
a status register;
an extended status register, wherein the extended status register is a circular buffer; and
a processor in communication with the first and second interfaces, the status register, and the extended status register, wherein the processor is operative to:
store, in the extended status register, status information of a plurality of events in time across the plurality of flash memory devices by appending each event instance to a tail of the circular buffer;
monitor a head of the circular buffer to detect when the circular buffer is near a full/over-write condition;
in response to detecting that the circular buffer is near the full/over-write condition, set a fail indicator in the status register even though a present event is successful and does not, on its own, warrant the fail indicator being set in the status register;
receive a request from the host for the status information of the plurality of events; and
in response to the request, provide the status information of the plurality of events to the host for analysis, wherein the host receives the status information of the plurality of events on an aggregated basis rather than after each event;
wherein the status information includes an indication that the processor detected a failure in programming a page of data to a block of memory in the plurality of flash memory devices and copied that page and preceding pages in the block to a replacement block in the plurality of flash memory devices.

### Claim 2 (depends on 1)

The controller of claim 1, wherein the processor is further operative to receive a command from the host for corrective action after the host analyzes the status information of the plurality of events.

### Claim 3 (depends on 1)

The controller of claim 1, wherein the host requests status information on a scheduled basis.

### Claim 4 (depends on 1)

The controller of claim 1, wherein the host requests status information on demand.

### Claim 5 (depends on 1)

The controller of claim 1, wherein at least one of the events comprises a command issued by the host.

### Claim 6 (depends on 1)

The controller of claim 1, wherein at least one of the events comprises an internal command issued by the controller.

### Claim 7 (depends on 1)

The controller of claim 1, wherein at least one of the events comprises a read command, a program command, an erase command, or a background command.

### Claim 8 (depends on 1)

The controller of claim 1, wherein the status information comprises one or more of the following: information on command exception conditions, information on internal management operations, information on storage resource reporting, and information on operational statistical information.

### Claim 9

A method for providing status information of a plurality of events in time across a plurality of flash memory devices, the method comprising:
performing in a controller comprising a first interface through which to communicate with a host, a second interface through which to connect to a plurality of flash memory devices in parallel, wherein each of the plurality of flash memory devices comprises a three-dimensional memory, a status register, a extended status register, and a processor, wherein the extended status register is a circular buffer:
storing, in the extended status register, status information of a plurality of events in time across the plurality of flash memory devices by appending each event instance to a tail of the circular buffer;
monitoring a head of the circular buffer to detect when the circular buffer is near a full/over-write condition;
in response to detecting that the circular buffer is near the full/over-write condition, setting a fail indicator in the status register even though a present event is successful and does not, on its own, warrant the fail indicator being set in the status register;
receiving a request from the host for the status information of the plurality of events; and
in response to the request, providing the status information of the plurality of events to the host for analysis, wherein the host receives the status information of the plurality of events on an aggregated basis rather than after each event;
wherein the status information includes an indication that the processor detected a failure in programming a page of data to a block of memory in the plurality of flash memory devices and copied that page and preceding pages in the block to a replacement block in the plurality of flash memory devices.

### Claim 10 (depends on 9)

The method of claim 9 further comprising receiving a command from the host for corrective action after the host analyzes the status information of the plurality of events.

### Claim 11 (depends on 9)

The method of claim 9, wherein the host requests status information on a scheduled basis.

### Claim 12 (depends on 9)

The method of claim 9, wherein the host requests status information on demand.

### Claim 13 (depends on 9)

The method of claim 9, wherein at least one of the events comprises a command issued by the host.

### Claim 14 (depends on 9)

The method of claim 9, wherein at least one of the events comprises an internal command issued by the controller.

### Claim 15 (depends on 9)

The method of claim 9, wherein at least one of the events comprises a read command, a program command, an erase command, or a background command.

### Claim 16 (depends on 9)

The method of claim 9, wherein the status information comprises one or more of the following: information on command exception conditions, information on internal management operations, information on storage resource reporting, and information on operational statistical information.

### Claim 17 (depends on 9)

The method of claim 9, wherein the extended status register is a circular buffer.

### Claim 18 (depends on 17)

The method of claim 17 further comprising sending an alert or forcing a failure when the circular buffer reaches a capacity threshold.

### Claim 19 (depends on 1)

The controller of claim 1, wherein the processor is further operative to receive multiple read or write requests for individual pages and to simultaneously handle the multiple read or write requests.

### Claim 20 (depends on 1)

The controller of claim 1 further comprising a read scrubbing module configured to detect if a number of soft error rates encountered when reading a block of memory in the plurality of flash memory devices exceeds a threshold, wherein, if the number of soft error rates exceeds the threshold, the processor is operative to copy data in the block to another block in the plurality of flash memory devices.

### Claim 21 (depends on 1)

The controller of claim 1, wherein the first and second NAND interfaces are toggle mode interfaces.

### Claim 22 (depends on 9)

The method of claim 9, wherein the processor is further operative to receive multiple read or write requests for individual pages and to simultaneously handle the multiple read or write requests.

### Claim 23 (depends on 9)

The method of claim 9 further comprising a read scrubbing module configured to detect if a number of soft error rates encountered when reading a block of memory in the plurality of flash memory devices exceeds a threshold, wherein, if the number of soft error rates exceeds the threshold, the processor is operative to copy data in the block to another block in the plurality of flash memory devices.

### Claim 24 (depends on 9)

The method of claim 9, wherein the first and second NAND interfaces are toggle mode interfaces.
