# US 2022/0019383 A1 · Unmap data pattern for coarse mapping memory sub-system

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

- Number: US 2022/0019383 A1
- Document ID: US20220019383A1
- Status: Published application
- Kind: A1
- Application number: 17/492,181
- Filed: 2021-10-01
- Published: 2022-01-20
- Earliest claimed: 2019-07-15
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Fangfang Zhu; Ying Yu Tai; Ning Chen; Jiangli Zhu; Alex Tang
- Web page: https://patentgrep.com/patent/US20220019383A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0673: {Single storage device}
- G06F 11/1004: {to protect a block of data words, e.g. CRC or checksum (G06F11/1076 takes precedence; security arrangements for protecting computers or computer systems against unauthorized activity G06F21/00)}
- G06F 13/1668: {Details of memory controller}
- G06F 3/064: {Management of blocks}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Devices, methods, and media are described for unmap support in coarse mapped storage. In one embodiment a controller of a memory sub-system manages a set of metadata for super management units (SMU) of the memory sub-system, wherein each SMU of the memory sub-system comprises a plurality of data management units (MU), and wherein each MU comprises a plurality of addressable memory elements as part of a coarse memory storage of the memory sub-system. The controller processes a trim command for a first SMU of the plurality of SMUs, and adjusts a trim bit associated with metadata for the first SMU. This trim bit can then be used to manage read and write operations as the trimmed unit waits to be written with an unmap data pattern. Similarly, a trim bit in MU metadata can be used manage related operations to prevent memory access errors.

## Claims

### Claim 1

A memory controller configured to perform operations comprising:
receiving a data access command comprising an address;
in response to the receiving of the data access command and based on a value of an unmap bit that corresponds to a portion of memory identified by the address:
writing an unmap data pattern to the identified portion of memory;
modifying the value of the unmap bit; and
processing the data access command.

### Claim 2 (depends on 1)

The memory controller of claim 1, wherein:
the receiving of the data access command comprises receiving a read command via a bus; and
the processing of the data access command comprises:
reading data from the identified portion of memory; and
providing the data via the bus.

### Claim 3 (depends on 2)

The memory controller of claim 2, wherein the operations further comprise:
after the reading of the data from the identified portion of memory, based on the writing of the unmap data pattern to the identified portion of memory, determining a cyclic redundancy check (CRC) value of the identified portion of memory; and
storing the CRC value.

### Claim 4 (depends on 2)

The memory controller of claim 2, wherein the operations further comprise:
after the reading of the data from the identified portion of memory, accessing a stored cyclic redundancy check (CRC) value of the identified portion of memory;
determining, based on the read data, a CRC value of the identified portion of memory; and
comparing the accessed CRC value with the determined CRC value to detect memory corruption.

### Claim 5 (depends on 2)

The memory controller of claim 2, wherein the operations further comprise:
receiving a second data access command comprising a second address;
in response to the receiving of the second data access command and based on a second value of a second unmap bit that corresponds to a second portion of memory identified by the second address:
bypassing a CRC check of the second portion of memory; and
processing the second data access command.

### Claim 6 (depends on 1)

The memory controller of claim 1, wherein the operations further comprise:
prior to the receiving of the data access command, receiving an unmap data command; and
based on the unmap data command, setting the value of the unsnap bit that corresponds to the identified portion of memory.

### Claim 7 (depends on 1)

The memory controller of claim 1, wherein:
the receiving of the data access command comprises receiving a write command via a bus; and
the processing of the data access command comprises:
writing data to the identified portion of memory; and
providing an acknowledgement via the bus.

### Claim 8 (depends on 1)

The memory controller of claim 1, wherein the operations are performed by a processor of the memory controller, configured by instructions stored in firmware.

### Claim 9

A memory system coupled to a host system, the memory system configured to:
receive an unmap data command from the host system;
based on the unmap data command, setting a value of an unmap bit that corresponds to a portion of memory;
in response to receiving a data access command from the host system and based on the value of the unmap bit:
writing an unmap data pattern to the portion of memory;
modifying the value of the unmap bit; and
processing the data access command.

### Claim 10 (depends on 9)

The memory system of claim 9, wherein:
the receiving of the data access command comprises receiving a read command via a bus; and
the processing of the data access command comprises:
reading data from the portion of memory; and
providing the data to the host system via the bus.

### Claim 11 (depends on 10)

The memory system of claim 10, wherein the memory system is further configured to:
after the reading of the data from the portion of memory, based on the writing of the unmap data pattern to the portion of memory, determining a cyclic redundancy check (CRC) value of the identified portion of memory; and
storing the CRC value.

### Claim 12 (depends on 10)

The memory system of claim 10, wherein the memory system is further configured to:
after the reading of the data from the portion of memory, accessing a stored cyclic redundancy check (CRC) value of the portion of memory;
determining, based on the read data, a CRC value of the portion of memory; and
comparing the accessed CRC value with the determined CRC value to detect memory corruption.

### Claim 13 (depends on 10)

The memory system of claim 10, wherein the memory system is further configured to:
receiving, from the host system, a second data access command comprising a second address;
in response to the receiving of the second data access command and based on a second value of a second unmap bit that corresponds to a second portion of memory identified by the second address:
bypassing a CRC check of the second portion of memory; and
processing the second data access command.

### Claim 14 (depends on 9)

The memory system of claim 9, wherein:
the receiving of the data access command comprises receiving a write command via a bus; and
the processing of the data access command comprises:
writing data to the portion of memory; and
providing an acknowledgement to the host system via the bus.

### Claim 15

A storage device comprising:
a memory component; and
a processing device operatively coupled with the memory component and configured to perform operations comprising:
receiving a data access command comprising an address;
in response to the receiving of the data access command and based on a value of an unmap bit that corresponds to a portion of memory identified by the address:
writing an unmap data pattern the identified portion of memory;
modifying the value of the unmap bit; and
processing the data access command.

### Claim 16 (depends on 15)

The storage device of claim 15, wherein:
the receiving of the data access command comprises receiving a read command via a bus; and
the processing of the data access command comprises:
reading data from the identified portion of memory; and
providing the data via the bus.

### Claim 17 (depends on 16)

The storage device of claim 16, wherein the operations further comprise:
after the reading of the data from the identified portion of memory, based on the writing of the unmap data pattern to the identified portion of memory, determining a cyclic redundancy check (CRC) value of the identified portion of memory; and
storing the CRC value.

### Claim 18 (depends on 16)

The storage device of claim 16, wherein the operations further comprise:
after the reading of the data from the identified portion of memory, accessing a stored cyclic redundancy check (CRC) value of the identified portion of memory;
determining, based on the read data, a CRC value of the identified portion of memory; and
comparing the accessed CRC value with the determined CRC value to detect memory corruption.

### Claim 19 (depends on 16)

The storage device of claim 16, wherein the operations further comprise:
receiving a second data access command comprising a second address;
in response to the receiving of the second data access command and based on a second value of a second unmap bit that corresponds to a second portion of memory identified by the second address:
bypassing a CRC check of the second portion of memory; and
processing the second data access command.

### Claim 20 (depends on 15)

The storage device of claim 15, wherein the operations further comprise:
prior to the receiving of the data access command, receiving an unmap data command; and
based on the unmap data command, setting the value of the unmap bit that corresponds to the identified portion of memory.
