# US 2021/0081334 A1 · Secure memory system programming

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

- Number: US 2021/0081334 A1
- Document ID: US20210081334A1
- Status: Published application
- Kind: A1
- Application number: 17/107,215
- Filed: 2020-11-30
- Published: 2021-03-18
- Earliest claimed: 2018-08-01
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Olivier Duval
- Web page: https://patentgrep.com/patent/US20210081334A1

## CPC

- G06F 12/1466: {Key-lock mechanism}
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- G06F 3/0622: {in relation to access}
- 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 12/1408: {by using cryptography (for digital transmission H04L9/00)}
- G06F 12/1433: {for a module or a part of a module}
- G06F 21/51: at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
- 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 2212/1052: Security improvement
- G06F 2212/2022: Flash memory
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Various examples are directed to systems and methods for programming memory. A programming appliance may receive a command file comprising a first pre-generated digital signature. The first pre-generated digital signature may be associated with a memory system, with a first command and with a first memory system counter value. The programming appliance may send to a memory system a first command message. The first command system may comprise the first command and the first pre-generated digital signature.

## Claims

### Claim 1

A method for memory system programming, comprising:
receiving, by a programming appliance, a command file comprising a plurality of pre-generated digital signatures, the plurality of pre-generated digital signatures comprising a first pre-generated digital signature, the first pre-generated digital signature being associated with a first command and with a first value of a first memory system counter at a first memory system;
querying the memory system, by the programming appliance, to receive a current memory system counter value;
selecting, by the programming appliance, the first pre-generated digital signature based at least in part on the current memory system counter value; and
sending to the first memory system, a first command message comprising the first command and the first pre-generated digital signature.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
verifying, by the first memory system, the first pre-generated digital signature using a current value of the first memory system counter and a first memory system cryptographic key; and
executing, by the first memory system, the first command.

### Claim 3 (depends on 1)

The method of claim 1, wherein the command file further comprises a second pre-generated digital signature, the second pre-generated digital signature associated with the first memory system, with a second command, and with a second value of the first memory system counter greater than the first value of the first memory system counter, the method further comprising:
after sending the first command message to the first memory system, sending to the first memory system a second command message comprising the second command and the second pre-generated digital signature.

### Claim 4 (depends on 3)

The method of claim 3, wherein the command file further comprises a third pre-generated digital signature, the third pre-generated digital signature associated with a third command and with a third value of the first memory system counter greater than the second value of the first memory system counter, the method further comprising:
after sending the second command message, determining that command sequence data indicates the third command; and
sending to the memory system a third command message comprising the third command and the third pre-generated digital signature.

### Claim 5 (depends on 1)

The method of claim 1, wherein the plurality of pre-generated digital signatures of the command file comprises a second pre-generated digital signature, the second pre-generated digital signature associated with the first command and with a second memory system counter value different than the first value of the first memory system counter.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining that the current memory system counter value is less than the first value of the first memory system counter;
querying the first memory system to receive a second current memory system counter value of the first memory system counter greater than the current memory system counter value; and
determining that the second current memory system counter value is equivalent to the first value of the first memory system counter.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
determining that the current memory system counter value is less than the first value of the first memory system counter; and
sending to the memory system an instruction to increment the first memory system counter.

### Claim 8 (depends on 1)

The method of claim 1, wherein the command file comprises a first sequence of pre-generated digital signatures corresponding to a first command sequence and a second sequence of pre-generated digital signatures corresponding to a second command sequence, the first sequence of pre-generated digital signatures comprising the first pre-generated digital signature.

### Claim 9 (depends on 8)

The method of claim 8, wherein the second sequence of pre-generated digital signatures also comprises the first pre-generated digital signature.

### Claim 10

A system for programming memory, comprising:
a programming appliance comprising at least one processor, the programming appliance configured to execute operations comprising:
receiving a command file comprising a plurality of pre-generated digital signatures, the plurality of pre-generated digital signatures comprising a first pre-generated digital signature, the first pre-generated digital signature being associated with a first command and with a first value of a first memory system counter at the first memory system;
querying the first memory system, by the programming appliance, to receive a current memory system counter value;
selecting, by the programming appliance, the first pre-generated digital signature based at least in part on the current memory system counter value; and
sending, to the first memory system, a first command message comprising the first command and the first pre-generated digital signature.

### Claim 11 (depends on 10)

The system of claim 10, wherein the command file further comprises a second pre-generated digital signature, the second pre-generated digital signature associated with the first memory system, with a second command, and with a second value of the first memory system counter greater than the first value of the first memory system counter, and wherein the programming appliance is further configured to execute operations comprising:
after sending the first command message to the first memory system, sending to the first memory system a second command message comprising the second command and the second pre-generated digital signature.

### Claim 12 (depends on 11)

The system of claim 11, wherein the command file further comprises a third pre-generated digital signature, the third pre-generated digital signature associated with a third command and with a third value of the first memory system counter greater than the second value of the first memory system counter, and wherein the programming appliance is further configured to execute operations comprising:
after sending the second command message, determining that command sequence data indicates the third command; and
sending to the first memory system a third command message comprising the third command and the third pre-generated digital signature.

### Claim 13 (depends on 10)

The system of claim 10, wherein the command file comprises a second pre-generated digital signature, the second pre-generated digital signature associated with the first command and with a second value of the first memory system counter different than the first value of the first memory system counter.

### Claim 14 (depends on 10)

The system of claim 10, wherein the programming appliance is further configured to execute operations comprising:
determining that the current memory system counter value is less than the first value of the first memory system counter;
querying the first memory system to receive a second current memory system counter value of the first memory system counter greater than the current memory system counter value; and
determining that the second current memory system counter value is equivalent to the first value of the first memory system counter.

### Claim 15 (depends on 10)

The system of claim 10, wherein the programming appliance is further configured to execute operations comprising:
determining that the fs current memory system counter value is less than the first value of the first memory system counter; and
sending to the first memory system an instruction to increment the first memory system counter.

### Claim 16 (depends on 10)

The system of claim 10, wherein the command file comprises a first sequence of pre-generated digital signatures corresponding to a first command sequence and a second sequence of pre-generated digital signatures corresponding to a second command sequence, the first sequence of pre-generated digital signatures comprising the first pre-generated digital signature.

### Claim 17 (depends on 16)

The system of claim 16, wherein the second sequence of pre-generated digital signatures also comprises the first pre-generated digital signature.

### Claim 18 (depends on 10)

The system of claim 10, further comprising the first memory system, wherein the first memory system is programmed to perform operations comprising:
verifying, by the first memory system, the first pre-generated digital signature using a current value of the first memory system counter and a first memory system cryptographic key; and
executing, by the first memory system, the first command.

### Claim 19

A non-transitory computer readable medium comprising instructions thereon that, when executed by at least one processor, cause the at least one processor to execute operations comprising:
receiving a command file comprising a plurality of pre-generated digital signatures, the plurality of pre-generated digital signatures comprising a first pre-generated digital signature, the first pre-generated digital signature being associated with a first command and with a first value of a first memory system counter at the first memory system;
querying the first memory system to receive a current memory system counter value;
selecting the first pre-generated digital signature based at least in part on the current memory system counter value; and
sending to the first memory system, a first command message comprising the first command and the first pre-generated digital signature.

### Claim 20 (depends on 19)

The non-transitory computer readable medium of claim 19, wherein the command file further comprises a second pre-generated digital signature, the second pre-generated digital signature associated with the first memory system, with a second command, and with a second value of the first memory system counter greater than the first value of the first memory system counter, the medium further comprising instructions that, when executed by the at least one processor, cause the at least one processor to execute operations comprising:
after sending the first command message to the first memory system, sending to the first memory system a second command message comprising the second command and the second pre-generated digital signature.
