# US 2025/0165336 A1 · Configuration method of a microcontroller

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

- Number: US 2025/0165336 A1
- Document ID: US20250165336A1
- Status: Published application
- Kind: A1
- Application number: 18/939,193
- Filed: 2024-11-06
- Published: 2025-05-22
- Earliest claimed: 2023-11-17
- Assignees: STMicroelectronics International N.V.
- Applicants: STMicroelectronics International N.V.
- Inventors: Jawad BENHAMMADI
- Web page: https://patentgrep.com/patent/US20250165336A1

## CPC

- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 21/554: {involving event detection and direct action}
- G06F 9/4403: {Processor initialisation}
- G06F 9/441: {Multiboot arrangements, i.e. selecting an operating system to be loaded}
- 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 21/57: Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- G06F 21/81: by operating on the power supply, e.g. enabling or disabling power-on, sleep or resume operations
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present description concerns a method of configuration of a microcontroller provided with a non-volatile memory, wherein, during an implementation of an operation of loading of the microcontroller configuration based on data from the non-volatile memory, if a fault is detected, then a new configuration loading operation is implemented at least once without for the microcontroller to be powered off.

## Claims

### Claim 1

A method of configuration of a microcontroller provided with a non-volatile memory, comprising:
during an implementation of an operation of loading of the configuration of the microcontroller based on data from the non-volatile memory:
responsive to detecting a fault, carrying out a new configuration loading operation at least once without needing for the microcontroller to be powered off.

### Claim 2

A microcontroller provided with a non-volatile memory, wherein the microcontroller is configured to:
during an implementation of an operation of loading of the microcontroller configuration based on data from the non-volatile memory:
responsive to detecting a fault, cause a new configuration loading operation to be implemented at least once without needing for the microcontroller to be powered off.

### Claim 3 (depends on 1)

The method according to claim 1, wherein during the implementation of an operation of loading of the microcontroller configuration from the non-volatile memory, responsive to no fault detected, a method of booting the microcontroller is implemented.

### Claim 4 (depends on 1)

The method according to claim 1, wherein a counter is incremented at each new consecutive implementation of the loading operation linked to a fault detection.

### Claim 5 (depends on 4)

The method according to claim 4, wherein, when the counter exceeds a threshold N, the microcontroller is set to a locking mode.

### Claim 6 (depends on 5)

The method according to claim 5, wherein, from the time when the microcontroller has been set to the locking mode, only a powering off of the microcontroller enables a new operation of loading of a configuration of the microcontroller from the non-volatile memory to be implemented.

### Claim 7 (depends on 1)

The method according to claim 1, wherein detecting the fault is implemented by comparison of error correction codes (ECCs).

### Claim 8 (depends on 1)

The method according to claim 1, wherein detecting the fault is implemented by comparison of cyclic redundancy codes (CRCs).

### Claim 9 (depends on 1)

The method according to claim 1, wherein detecting the fault is implemented based on data from the non-volatile memory.

### Claim 10 (depends on 9)

The method according to claim 9, wherein detecting the fault is implemented by a memory interface of the microcontroller.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the non-volatile memory is a MRAM-type memory.

### Claim 12 (depends on 1)

The method according to claim 1, wherein the non-volatile memory is a memory of phase change type.

### Claim 13 (depends on 2)

The microcontroller according to claim 2, wherein during the implementation of an operation of loading of the microcontroller configuration from the non-volatile memory, responsive to no fault detected, a method of booting the microcontroller is implemented.

### Claim 14 (depends on 2)

The microcontroller according to claim 2, wherein a counter is incremented at each new consecutive implementation of the loading operation linked to a fault detection.

### Claim 15 (depends on 14)

The microcontroller according to claim 14, wherein, when the counter exceeds a threshold N, the microcontroller is set to a locking mode.

### Claim 16 (depends on 15)

The microcontroller according to claim 15, wherein, from the time when the microcontroller has been set to the locking mode, only a powering off of the microcontroller enables a new operation of loading of a configuration of the microcontroller from the non-volatile memory to be implemented.

### Claim 17 (depends on 2)

The microcontroller according to claim 2, wherein detecting the fault is implemented by comparison of error correction codes (ECCs).

### Claim 18 (depends on 2)

The microcontroller according to claim 2, wherein detecting the fault is implemented by comparison of cyclic redundancy codes (CRCs).

### Claim 19 (depends on 2)

The microcontroller according to claim 2, wherein detecting the fault is implemented based on data from the non-volatile memory.

### Claim 20 (depends on 19)

The microcontroller according to claim 19, wherein detecting the fault is implemented by a memory interface of the microcontroller.

### Claim 21 (depends on 2)

The microcontroller according to claim 2, wherein the non-volatile memory is a MRAM-type memory.

### Claim 22 (depends on 2)

The microcontroller according to claim 2, wherein the non-volatile memory is a memory of phase change type.
