# US 2025/0147674 A1 · Functional safety systems and methods for secure access to non-volatile memory

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

- Number: US 2025/0147674 A1
- Document ID: US20250147674A1
- Status: Published application
- Kind: A1
- Application number: 18/790,153
- Filed: 2024-07-31
- Published: 2025-05-08
- Earliest claimed: 2023-11-03
- Assignees: Texas Instruments Incorporated
- Applicants: Texas Instruments Incorporated
- Inventors: Sai Rajaraman; Mihir Mody; William Wallace; Niraj Nandan
- Web page: https://patentgrep.com/patent/US20250147674A1

## CPC

- G06F 3/0622: {in relation to access}
- G06F 3/0623: {in relation to content}
- G06F 3/0655: {Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices}
- G06F 3/0658: {Controller construction arrangements}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 21/602: {Providing cryptographic facilities or services}
- 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

Various examples disclosed herein relate to controlling access to non-volatile memory devices. In an example embodiment, a device is provided. The device includes a memory security controller configured to operate in a first functional safety mode or a second functional safety mode, a security mode selection controller coupled to the memory security controller, and a memory interface controller coupled to the memory security controller and the security mode selection controller and configured to couple to a non-volatile memory. The security mode selection controller is configured to determine a number of pending access requests associated with the memory security controller, determine a number of incoming responses from the non-volatile memory to the memory security controller, and select between the first functional safety mode and the second functional safety mode based on at least one of the number of pending access requests or the number of incoming responses.

## Claims

### Claim 1

A device, comprising:
a memory security controller configured to operate in a first functional safety mode or a second functional safety mode;
a security mode selection controller coupled to the memory security controller; and
a memory interface controller coupled to the memory security controller and the security mode selection controller and configured to couple to a non-volatile memory;
wherein the security mode selection controller is configured to:
determine a number of pending access requests associated with the memory security controller;
determine a number of incoming responses from the non-volatile memory to the memory security controller; and
select between the first functional safety mode and the second functional safety mode based on at least one of the number of pending access requests or the number of incoming responses.

### Claim 2 (depends on 1)

The device of claim 1, wherein the security mode selection controller is configured to:
direct the memory security controller to operate in the first functional safety mode based on the number of incoming responses exceeding a first threshold number; and
direct the memory security controller to operate in the second functional safety mode based on the number of pending access requests exceeding a second threshold number.

### Claim 3 (depends on 2)

The device of claim 2, wherein the memory security controller is configured to, in the first functional safety mode, duplicate at least one of a request or a response and compare copies of the least one of the request or the response.

### Claim 4 (depends on 3)

The device of claim 3, wherein the memory security controller is configured to, in the second functional safety mode, compare at least a portion of a decrypted response to a Message Authentication Code (MAC) value.

### Claim 5 (depends on 3)

The device of claim 3, wherein the memory security controller is configured to, in the first functional safety mode:
duplicate the request;
encrypt information associated with each copy of the request; and
provide a subset of the copies of the request to the memory interface controller.

### Claim 6 (depends on 5)

The device of claim 5, wherein the memory security controller is configured to, in the first functional safety mode:
duplicate the response;
decrypt information associated with each copy of the response; and
provide a subset of the copies of the response to one or more processing cores.

### Claim 7 (depends on 1)

The device of claim 1, wherein the pending access requests comprise read requests and write requests, and wherein the incoming responses comprise data or instructions corresponding to the pending access requests.

### Claim 8

A system, comprising:
one or more processing cores;
an interconnect coupled to the one or more processing cores;
a memory security controller;
a security mode selection controller coupled to the memory security controller; and
a memory interface controller coupled to the memory security controller and the security mode selection controller and configured to couple to a non-volatile memory;
wherein the security mode selection controller is configured to:
determine a number of pending access requests associated with the memory security controller;
determine a number of incoming responses from the non-volatile memory to the memory security controller; and
control which cryptographic functional safety process is applied to at least one of a request or a response based on at least one of the number of pending access requests or the number of incoming responses.

### Claim 9 (depends on 8)

The system of claim 8, wherein to control which cryptographic functional safety process is applied by the memory security controller, the security mode selection controller is configured to:
direct the memory security controller to perform a first cryptographic functional safety process on the at least one of the request or the response based on the number of incoming responses exceeding a first threshold number; and
direct the memory security controller to perform a second cryptographic functional safety process on the at least one of the request or the response based on the number of pending access requests exceeding a second threshold number.

### Claim 10 (depends on 9)

The system of claim 9, wherein the first cryptographic functional safety process includes duplicating the at least one of the request or the response.

### Claim 11 (depends on 10)

The system of claim 10, wherein the second cryptographic functional safety process includes comparing at least a portion of a decrypted response to a Message Authentication Code (MAC) value.

### Claim 12 (depends on 10)

The system of claim 10, wherein to perform the first cryptographic functional safety process, the memory security controller is configured to:
duplicate the request to produce copies of the request;
encrypt information associated with each of the copies of the request; and
provide a subset of the copies of the request to the memory interface controller.

### Claim 13 (depends on 12)

The system of claim 12, wherein to perform the first cryptographic functional safety process, the memory security controller is configured to:
duplicate the response to produce copies of the response;
decrypt information associated with each of the copies of the response; and
provide a subset of the copies of the response to the one or more processing cores.

### Claim 14 (depends on 8)

The system of claim 8, wherein the pending access requests comprise read requests and write requests, and wherein the incoming responses comprise data or instructions corresponding to the pending access requests.

### Claim 15

A method, comprising:
receiving, from one or more processing cores, access requests for data stored in a non-volatile memory device;
determining a number of pending access requests of the access requests associated with the non-volatile memory device;
determining a number of incoming responses from the non-volatile memory device; and
selecting which cryptographic functional safety process to apply to at least one of a request or a response based on at least one of the number of pending access requests or the number of incoming responses.

### Claim 16 (depends on 15)

The method of claim 15, wherein controlling which cryptographic functional safety process to apply comprises:
selecting to apply a first cryptographic functional safety process to the at least one of the request or the response based on the number of incoming responses exceeding a first threshold number; and
selecting to apply a second cryptographic functional safety process to the at least one of the request or the response based on the number of pending access requests exceeding a second threshold number.

### Claim 17 (depends on 16)

The method of claim 16, wherein applying the first cryptographic functional safety process comprises duplicating the at least one of the request or the response and comparing copies of the at least one of the request or the response, and wherein applying the second cryptographic functional safety process comprises comparing at least a portion of a decrypted response to a Message Authentication Code (MAC) value.

### Claim 18 (depends on 17)

The method of claim 17, wherein applying the first cryptographic functional safety process comprises:
duplicating the request;
encrypting information associated with each copy of the request; and
providing a subset of the copies of the request to a memory interface controller.

### Claim 19 (depends on 18)

The method of claim 18, wherein applying the first cryptographic functional safety process further comprises:
duplicating the response;
decrypting information associated with each copy of the response; and
providing a subset of the copies of the response to the one or more processing cores.

### Claim 20 (depends on 15)

The method of claim 15, wherein the pending access requests comprise read requests and write requests, and wherein the incoming responses comprise data or instructions corresponding to the pending access requests.
