# US 2025/0147700 A1 · Error detection and correction in a controller

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

- Number: US 2025/0147700 A1
- Document ID: US20250147700A1
- Status: Published application
- Kind: A1
- Application number: 19/015,190
- Filed: 2025-01-09
- Published: 2025-05-08
- Earliest claimed: 2022-08-18
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Muthazhagan Balasubramani
- Web page: https://patentgrep.com/patent/US20250147700A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 11/08: Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A host submits a command to a memory device, where a host status indicator (ID) for the host and a memory device status ID for the memory device are assigned with the command in at least one of a status command slot related to the command. An interrupt signal asserted during processing of the command is determined, where the interrupt signal is indicative of a change in at least one of the host status ID and the memory device status ID. After determining that the interrupt signal is asserted at least one of the host status ID and the memory device status ID are read. Based on the read information, a failure in at least one of the host and device is corrected prior to initiation of a timeout process.

## Claims

### Claim 1

A method, comprising:
assigning a host status indicator (ID) for a host and a memory device status ID for a memory device of a memory sub-system in a status command slot related to a command;
determining that an interrupt signal is asserted during processing of the command;
reading at least one of the host status ID and the memory device status ID from the status command slot; and
correcting, based on information read in at least one of the host status ID and the memory device status ID, a failure in at least one of the host and memory device prior to initiation of a timeout process.

### Claim 2 (depends on 1)

The method of claim 1, wherein reading at least one of the host status ID and the memory device status ID from the command slot includes accessing a base address register region after determining that the interrupt signal is asserted.

### Claim 3 (depends on 1)

The method of claim 1, wherein the status command slot related to the command is a memory device status command slot, wherein assigning the host status ID and the memory device status ID are both done in the memory device status command slot.

### Claim 4 (depends on 1)

The method of claim 1, wherein reading the at least one of the host status ID and the memory device status ID after the interrupt signal involves.

### Claim 5 (depends on 1)

The method of claim 1, further comprising accessing a base address register region of the memory device in response to a change in at least one of the host status ID and the memory device status ID.

### Claim 6 (depends on 4)

The method of claim 4, further including the memory sub-system allocating memory for the status command slot and mapping the status command slot of the allocated memory in the base address register region.

### Claim 7 (depends on 1)

The method of claim 1, further including using vendor specific commands in the host status ID and the memory device status ID.

### Claim 8 (depends on 1)

The method of claim 1, wherein determining that the interrupt signal is asserted is done by the host in processing the command, wherein the host causes a change in at least the host status ID.

### Claim 9

An apparatus, comprising:
a memory device; and
a controller coupled to the memory device, wherein the controller is configured to:
receive respective commands each comprising a command portion and a status indicator portion;
allocate memory command slots of the memory device to store the status indicator portion associated with the respective commands;
determine that an interrupt signal is asserted during processing of at least one of the respective commands, wherein the interrupt signal is indicative of a change in at least one status indicator portion of at least the one of the respective commands;
read at least the one status indicator portion of at least the one of the respective commands that experienced the change from the memory command slots; and
cause a failure associated with a command slot allocated to at least the one of the respective commands to be resolved prior to initiation of a timeout process.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein determining that the interrupt signal is asserted is done by the memory device, wherein the memory device causes the change in at least a memory device status ID.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein correcting the failure in at least one of a host and the memory device based on the reading prior to initiation of the timeout process includes executing an interrupt handler to correct the failure.

### Claim 12 (depends on 9)

The apparatus of claim 9, wherein the status command slot related to the command includes at least one of a memory device status command slot associated with the memory device and a host status command slot associated with the host, wherein assigning a host status ID is done in the host status command slot and assigning a memory device status ID is done in the memory device status command slot.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein reading at least the one status indicator portion of at least the one of the respective commands that experienced the change from the memory command slots is performed by accessing a base address register region responsive to the interrupt signal.

### Claim 14 (depends on 9)

The apparatus of claim 9, wherein the status indicator portion in the memory command slots of the memory device include both a host status indicator (ID) for the controller and a memory device status ID for the memory for each command.

### Claim 15

A system, comprising:
a host computing device; and
a memory sub-system coupled to the host computing device, wherein the memory sub-system comprises:
a memory device; and
a controller coupled to the memory device, wherein the controller is configured to:
allocate command slots of the memory device to store status indicator information associated with respective commands from the host computing device, wherein each respective command comprises a command portion and a status indicator portion and the status indicator portion comprises a host status indicator (ID) or a device status ID;
determine that an interrupt signal is asserted during processing of at least one of the respective commands;
read at least the one status indicator portion of at least the one of the respective commands that experienced a change from the command slots; and
cause a failure associated with a command slot allocated to at least the one of the respective commands to be resolved prior to initiation of a timeout process by the host computing device.

### Claim 16 (depends on 15)

The system of claim 15, wherein the controller reads the memory device status ID by accessing a base address register region of the memory device after the interrupt signal is asserted during processing of at least one of the respective commands.

### Claim 17 (depends on 16)

The system of claim 16, wherein the status indicator portion in the memory command slots of the memory device include both the host status ID for the controller and the memory device status ID for the memory for each command.

### Claim 18 (depends on 17)

The system of claim 17, wherein the status indicator portion in the memory command slots of the memory device include a memory device status ID for each command in the memory and the controller allocates controller command slots to store a host status ID for each command in the controller.

### Claim 19 (depends on 15)

The system of claim 15, wherein the memory sub-system maps the host status command slot through a base address register region associated with the memory sub-system.

### Claim 20 (depends on 15)

The system of claim 15, wherein the host updates a current status of the command in the host status command slot and the memory sub-system updates the current status of the command in the memory device status command slot.
