# US 2023/0055882 A1 · Memory system and method

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

- Number: US 2023/0055882 A1
- Document ID: US20230055882A1
- Status: Published application
- Kind: A1
- Application number: 17/549,440
- Filed: 2021-12-13
- Published: 2023-02-23
- Earliest claimed: 2021-08-18
- Assignees: Kioxia Corporation
- Applicants: Kioxia Corporation
- Inventors: Takeshi KIKUCHI
- Web page: https://patentgrep.com/patent/US20230055882A1

## CPC

- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- 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: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to one embodiment, a memory system includes a nonvolatile memory and a controller. The controller communicates with a host. The host includes a host memory and a circuit. The circuit accesses the host memory in a unit of first size. When an address designated as a first location of the host memory where data read from the nonvolatile memory is to be stored is not aligned with a boundary in the host memory defined in a unit of the first size, the controller transmits a first packet which has a size from the first location to the boundary and includes the read data to be stored from the first location, and transmits a second packet which has the first size and includes the read data to be stored from the boundary thereafter.

## Claims

### Claim 1

A memory system connectable with a host, the host including a host memory and a control circuit, the control circuit being configured to access the host memory in a unit of a first size, the memory system comprising:
a nonvolatile memory; and
a controller capable of communicating with the host and configured to:
when an address designated by the host as a first location of the host memory where read data read from the nonvolatile memory is to be stored is not aligned with a boundary in the host memory defined in a unit of the first size,
transmit, to the host, a first packet which has a size from the first location to the boundary and includes the read data to be stored from the first location; and
transmit, to the host, a second packet which has the first size and includes the read data to be stored from the boundary thereafter.

### Claim 2 (depends on 1)

The memory system of claim 1, further comprising a buffer capable of storing data having the first size, wherein
the controller is further configured to:
calculate a location of the buffer where the read data is to be stored based on the address;
store the read data in the calculated location of the buffer; and
generate the first packet based on the read data stored in the calculated location of the buffer.

### Claim 3 (depends on 2)

The memory system of claim 2, wherein
the controller is configured to store the read data in the calculated location of the buffer which has an address offset from a start of the buffer by lower bits of the address.

### Claim 4 (depends on 2)

The memory system of claim 2, wherein
the controller is further configured to:
sequentially store a plurality of items of the read data in the buffer; and
output the items of the read data stored in the buffer from the buffer when the items of the read data are stored to an end of the buffer.

### Claim 5 (depends on 2)

The memory system of claim 2, wherein
while first read data is stored in a middle of the buffer and in a case where second read data, which is to be stored in a location of the host memory that is non-continuous with a location of the host memory where the first read data is to be stored, is read from the nonvolatile memory, the controller is further configured to output the first read data from the buffer.

### Claim 6 (depends on 2)

The memory system of claim 2, wherein the controller is further configured to output the read data from the buffer when the read data, which is read from the nonvolatile memory last in accordance with a read command from the host requesting to transmit the read data, is stored in the buffer.

### Claim 7 (depends on 6)

The memory system of claim 6, wherein when second read data having a first attribute is read from the nonvolatile memory while first read data is stored in a middle of the buffer, the controller is further configured to output the first read data from the buffer and discard the second read data having the first attribute thereafter.

### Claim 8 (depends on 7)

The memory system of claim 7, wherein the second read data having the first attribute is a part of the read data that is read from the nonvolatile memory and is designated as an unnecessary part by the host.

### Claim 9 (depends on 7)

The memory system of claim 7, wherein the second read data having the first attribute is the read data that is read from the nonvolatile memory for validity check and is not to be transmitted to the host.

### Claim 10 (depends on 7)

The memory system of claim 7, wherein the second read data having the first attribute is the read data that is read from the nonvolatile memory and contains an uncorrectable error.

### Claim 11

A method of controlling a nonvolatile memory, comprising:
communicating with a host, the host including a host memory and a control circuit, the control circuit being configured to access the host memory in a unit of a first size; and
when an address designated by the host as a first location of the host memory where read data read from the nonvolatile memory is to be stored is not aligned with a boundary in the host memory defined in a unit of the first size,
transmitting, to the host, a first packet which has a size from the first location to the boundary and includes the read data to be stored from the first location; and
transmitting, to the host, a second packet which has the first size and includes the read data to be stored from the boundary thereafter.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
managing a buffer capable of storing data having the first size;
calculating a location of the buffer where the read data is to be stored based on the address;
storing the read data in the calculated location of the buffer; and
generating the first packet based on the read data stored in the calculated location of the buffer.

### Claim 13 (depends on 12)

The method of claim 12, wherein
the read data is stored in the calculated location of the buffer which has an address offset from a start of the buffer by lower bits of the address.

### Claim 14 (depends on 12)

The method of claim 12, further comprising:
sequentially storing a plurality of items of the read data in the buffer, and
outputting the items of the read data stored in the buffer from the buffer when the items of the read data are stored to an end of the buffer.

### Claim 15 (depends on 12)

The method of claim 12, further comprising:
while first read data is stored in a middle of the buffer and in a case where second read data, which is to be stored in a location of the host memory that is non-continuous with a location of the host memory where the first read data is to be stored, is read from the nonvolatile memory, outputting the first read data from the buffer.

### Claim 16 (depends on 12)

The method of claim 12, further comprising:
when the read data, which is read from the nonvolatile memory last in accordance with a read command from the host requesting to transmit the read data, is stored in the buffer, outputting the read data from the buffer.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
when second read data having a first attribute is read from the nonvolatile memory while first read data is stored in a middle of the buffer, outputting the first read data from the buffer and discarding the second read data having the first attribute thereafter.

### Claim 18 (depends on 17)

The method of claim 17, wherein the second read data having the first attribute is a part of the read data that is read from the nonvolatile memory and is designated as an unnecessary part by the host.

### Claim 19 (depends on 17)

The method of claim 17, wherein the second read data having the first attribute is the read data that is read from the nonvolatile memory for validity check and is not to be transmitted to the host.

### Claim 20 (depends on 17)

The method of claim 17, wherein the second read data having the first attribute is the read data that is read from the nonvolatile memory and contains an uncorrectable error.
