# US 2025/0148083 A1 · Vehicle computer system and method

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

- Number: US 2025/0148083 A1
- Document ID: US20250148083A1
- Status: Published application
- Kind: A1
- Application number: 18/503,938
- Filed: 2023-11-07
- Published: 2025-05-08
- Earliest claimed: 2023-11-07
- Assignees: GM Global Technology Operations LLC
- Applicants: GM Global Technology Operations LLC
- Inventors: Brian Farrell; John Jen; J. David Rosa
- Web page: https://patentgrep.com/patent/US20250148083A1

## CPC

- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 21/575: {Secure boot}
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system may include data processing hardware and memory hardware in communication with the data processing hardware. The memory hardware may store instructions that when executed on the data processing hardware cause the data processing hardware to perform operations. The operations include requesting, via a boot manager of a host module, a hardware security module (HSM) to verify an application software of the host module and configuring, via the verified application software, a memory protection unit (MPU) to at least one of no execute and no write for at least one area of a memory of the host module. The operations further include executing the application software with the HSM enabled.

## Claims

### Claim 1

A computer-implemented method when executed by data processing hardware causes the data processing hardware to perform operations comprising:
receiving code from a flash memory at a hardware security module (HSM);
verifying an authenticity of the code via the HSM;
initiating a host module in response to the verified code, the host module including a boot manager, a bootloader, and application software;
receiving a programming session request at the boot manager to execute the bootloader;
verifying the bootloader by the HSM in response to the programming session request;
configuring, via the bootloader, a memory protection unit (MPU) to at least one of no write and no execute for at least one area of a memory of the host module;
executing the programming session request to modify the memory of the host module and update the application software of the host module using the verified bootloader; and
resetting a microcontroller including the HSM and the host module to execute the updated application software of the host module.

### Claim 2 (depends on 1)

The method of claim 1, wherein initiating the host module includes determining, via the boot manager, which of the bootloader and the application software to execute.

### Claim 3 (depends on 2)

The method of claim 2, wherein verifying the bootloader by the HSM includes allowing modification of the memory of the host module except at a location of the bootloader and preventing modification of the memory of the host module before executing the programming session request.

### Claim 4 (depends on 1)

The method of claim 1, wherein configuring the MPU includes setting a stack area and a data area of the memory of the host module to no execute via the MPU and setting a holding area of the memory of the host module to no write and no execute via the MPU.

### Claim 5 (depends on 4)

The method of claim 4, wherein resetting the microcontroller includes completing the programming session and entering the application software.

### Claim 6 (depends on 4)

The method of claim 4, wherein executing the programming session request includes disabling a protection feature of the HSM, the protection feature being configured to protect the memory of the host module, and executing updates to a code area of the memory.

### Claim 7 (depends on 6)

The method of claim 6, wherein setting the holding area of the memory includes setting a first holding area to no write and no execute and a second holding area to no write and no execute, the first holding area defined between the stack area and the data area and the second holding area defined between the data area and the code area.

### Claim 8 (depends on 7)

The method of claim 7, wherein executing the programming session request includes triggering a reset at one of the first holding area and the second holding area in response to a write overflow of data.

### Claim 9 (depends on 1)

The method of claim 1, wherein verifying the bootloader by the HSM includes receiving, from the boot manager, a location and length of the bootloader and generating a key for the bootloader.

### Claim 10

A system comprising:
data processing hardware; and
memory hardware in communication with the data processing hardware, the memory hardware storing instructions that when executed on the data processing hardware cause the data processing hardware to perform operations comprising:
requesting, via a boot manager of a host module, a hardware security module (HSM) to verify an application software of the host module;
configuring, via the verified application software, a memory protection unit (MPU) to at least one of no execute and no write for at least one area of a memory of the host module; and
executing the application software with the HSM enabled.

### Claim 11 (depends on 10)

The system of claim 10, wherein configuring the MPU includes setting a stack area and a data area to no execute and setting a holding area to no write and no execute.

### Claim 12 (depends on 11)

The system of claim 11, wherein setting the holding area of the memory includes setting a first holding area to no write and no execute and a second holding area to no write and no execute, the first holding area defined between the stack area and the data area and the second holding area defined between the data area and a code area.

### Claim 13 (depends on 10)

The system of claim 10, further including receiving a programming session request at the HSM and flagging the programming session request at the host module to request execution of a bootloader of the host module.

### Claim 14 (depends on 13)

The system of claim 13, further including resetting a microcontroller and verifying the bootloader by the HSM in response to the programming session request.

### Claim 15 (depends on 14)

The system of claim 14, further including (i) disabling a protection feature of the HSM, the protection feature being configured to protect the memory of the host module, (ii) executing the programming session request to modify the memory of the host module and update the application software using the verified bootloader, and (iii) resetting the microcontroller including the HSM and the host module to execute the updated application software of the host module.

### Claim 16 (depends on 10)

The system of claim 10, further including initiating the host module and preventing, via the HSM, modification of the memory of the host module by the host module.

### Claim 17

A vehicle comprising:
an electronic control unit (ECU) configured to receive programming session requests including executable code; and
a microcontroller communicatively coupled to the ECU and including data processing hardware and memory hardware, the memory hardware storing a hardware security module (HSM), a host module, and a memory protection unit (MPU), the HSM configured to cause the data processing hardware to perform operations including:
initiating the host module, the host module including a boot manager, a bootloader, and application software;
determining, via the boot manager, which of the bootloader and the application software to execute;
verifying, via the HSM, at least one of the bootloader and the application software;
configuring, via one of the bootloader and the application software, the memory protection unit (MPU) to at least one of no write and no execute for at least one area of a memory of the host module; and
executing one of the bootloader and the application software via the host module.

### Claim 18 (depends on 17)

The vehicle of claim 17, further including receiving, at the HSM, and verifying, via the HSM, a programming session request including the executable code and verifying at least one of the bootloader and the application software includes verifying the bootloader via the HSM in response to the programming session request.

### Claim 19 (depends on 18)

The vehicle of claim 18, wherein initiating the host module includes restricting, via the HSM, modification permissions of the memory of the host module.

### Claim 20 (depends on 17)

The vehicle of claim 17, wherein configuring the MPU includes setting a stack area and a data area of the memory of the host module to no write and no execute and setting a holding area to no write and no execute, the holding area defined between the stack area and a code area of the memory of the host module.
