# US 2024/0202361 A1 · Memory device, operating method of the same, and memory system

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

- Number: US 2024/0202361 A1
- Document ID: US20240202361A1
- Status: Published application
- Kind: A1
- Application number: 18/539,799
- Filed: 2023-12-14
- Published: 2024-06-20
- Earliest claimed: 2022-12-14
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Yongsuk Lee; Myeongjong Ju; Jisoo Kim
- Web page: https://patentgrep.com/patent/US20240202361A1

## CPC

- G06F 21/6245: {Protecting personal data, e.g. for financial or medical purposes}
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/78: to assure secure storage of data (address-based protection against unauthorised use of memory G06F12/14; record carriers for use with machines and with at least a part designed to carry digital markings G06K19/00)
- G06F 21/79: in semiconductor storage media, e.g. directly-addressable memories
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A memory device includes one or more non-volatile memories configured to store user data and at least one key related to the user data; a network-on-chip comprising a bus manager configured to manage access to the user data and the at least one key; and a debug port directly connected to a host and configured to receive a request from the host, wherein the bus manager is further configured to, based on the debug port being activated, determine whether to allow access of the host to the user data and the at least one key based on classification information.

## Claims

### Claim 1

A memory device comprising:
one or more non-volatile memories configured to store user data and at least one key related to the user data;
a network-on-chip comprising a bus manager configured to manage access to the user data and the at least one key; and
a debug port directly connected to a host and configured to receive a request from the host,
wherein the bus manager is further configured to, based on the debug port being activated, determine whether to allow access of the host to the user data and the at least one key based on classification information.

### Claim 2 (depends on 1)

The memory device of claim 1, wherein the classification information comprises a first field indicating whether a present stage of the memory device is in a manufacturing stage or in a post-manufacturing stage, and
wherein the bus manager is further configured to determine, based on a set value of the first field, whether to allow access of the host, which corresponds to a manufacturer, to the user data and the at least one key.

### Claim 3 (depends on 2)

The memory device of claim 2, wherein the bus manager is further configured to, based on a value of the first field indicating a pre-manufacturing stage, allow access of the host to the user data and the at least one key.

### Claim 4 (depends on 2)

The memory device of claim 2, wherein the classification information comprises a second field indicating whether to allow access of the manufacturer to the at least one key, and
the bus manager is further configured to, based on a value of the first field indicating the post-manufacturing stage, determine whether to allow access of the host to the user data and the at least one key based on a data value of the second field.

### Claim 5 (depends on 4)

The memory device of claim 4, wherein the bus manager is further configured to, based on the data value of the second field comprising a first value indicating an allowance of access of the manufacturer to the at least one key, allow access of the host to the user data and the at least one key.

### Claim 6 (depends on 1)

The memory device of claim 1, wherein the classification information comprises:
a first field comprising data values of a manufacturing stage and a pre-manufacturing stage; and
a second field comprising a data value of an original equipment manufacturing allowance stage.

### Claim 7 (depends on 6)

The memory device of claim 6, wherein the bus manager is further configured to, based on a value of the first field indicating the pre-manufacturing stage, allow access of the host to the user data and the at least one key.

### Claim 8 (depends on 6)

The memory device of claim 6, wherein the bus manager is further configured to, based on a value of the second field indicating a post-manufacturing stage, manage access of the host to the user data and the at least one key based on the value of the second field.

### Claim 9 (depends on 1)

The memory device of claim 1, wherein the at least one key comprises a preset data encryption key or a root key for the preset data encryption key.

### Claim 10 (depends on 1)

The memory device of claim 1, wherein the bus manager is further configured to, based on a self-encryption operation on the user data being not supported, disconnect a connection of a data bus to the one or more non-volatile memories.

### Claim 11

An operating method of a memory device, the operating method comprising:
storing user data and at least one key related to the user data;
managing access to the user data and the at least one key; and
receiving a request from a host,
wherein the managing the access to the user data and the at least one key comprises, based on a debug port being activated, determining whether to allow access of the host to the user data and the at least one key based on classification information.

### Claim 12 (depends on 11)

The operating method of claim 11, wherein the classification information comprises a first field indicating whether the memory device is in a pre-manufacturing stage, and
wherein the managing the access to the user data and the at least one key further comprises determining whether to allow access of the host to the user data and the at least one key based on a first data value of the first field.

### Claim 13 (depends on 12)

The operating method of claim 12, wherein the managing the access to the user data and the at least one key further comprises, based on a value of the first field comprising a first value indicating the pre-manufacturing stage, allowing access of the host to the user data and the at least one key.

### Claim 14 (depends on 12)

The operating method of claim 12, wherein the classification information comprises a second field indicating whether to allow access of a manufacturer to the at least one key, and
wherein the managing the access to the user data and the at least one key further comprises, based on a value of the first field indicating a post-manufacturing stage, determining whether to allow access of the host to the user data and the at least one key based on a second data value of the second field.

### Claim 15 (depends on 14)

The operating method of claim 14, wherein the managing the access to the user data and the at least one key further comprises, based on a data value of the second field comprising a first value indicating an allowance of access of the manufacturer to the at least one key, allowing access of the host to the user data and the at least one key.

### Claim 16 (depends on 11)

The operating method of claim 11, wherein the managing the access to the user data and the at least one key further comprises storing classification information, and
wherein the classification information comprises:
a first field comprising data values of a manufacturing stage and a pre-manufacturing stage; and
a second field comprising a data value of an original equipment manufacturing (OEM) allowance stage.

### Claim 17 (depends on 16)

The operating method of claim 16, wherein the managing the access to the user data and the at least one key further comprises, based on a value of the first field indicates the pre-manufacturing stage, allowing access of the host to the user data and the at least one key.

### Claim 18 (depends on 12)

The operating method of claim 12, wherein the managing the access to the user data and the at least one key further comprises, based on a value of a second field of the classification information indicating a post-manufacturing stage, managing an access of the host to the user data and the at least one key based on the value of the second field.

### Claim 19 (depends on 11)

The operating method of claim 11, wherein the managing the access to the user data and the at least one key further comprises, when a self-encryption operation on the user data is not supported, disconnecting connection of a data bus to a non-volatile memory.

### Claim 20

A memory system comprising:
a memory device configured to store user data; and
a host configured to diagnose an error of the memory device;
wherein the memory device comprises:
one or more non-volatile memories configured to store user data and at least one key related to the user data;
a network-on-chip comprising a bus manager configured to manage access to the user data and the at least one key; and
a debug port directly connected to the host and configured to receive a request from the host, and
wherein the bus manager is further configured to, based on the debug port being activated, determine whether to allow access of the host to the user data and the at least one key based on classification information.
