# US 2016/0259584 A1 · Method for programming a control unit of a motor vehicle

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

- Number: US 2016/0259584 A1
- Document ID: US20160259584A1
- Status: Published application
- Kind: A1
- Application number: 15/052,750
- Filed: 2016-02-24
- Published: 2016-09-08
- Earliest claimed: 2015-03-03
- Assignees: Robert Bosch GmbH
- Applicants: Robert Bosch GmbH
- Inventors: Eckart Schlottmann; Udo Schulz; Liem Dang
- Web page: https://patentgrep.com/patent/US20160259584A1

## CPC

- G06F 12/1408: {by using cryptography (for digital transmission H04L9/00)}
- G06F 21/44: Program or device authentication
- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- H04L 9/3234: {involving additional secure or trusted devices, e.g. TPM, smartcard, USB or software token (network architectures or network communication protocols for supporting authentication of entities using an additional device in a packet data network H04L63/0853)}
- H04L 9/3247: {involving digital signatures}
- G06F 2212/402: Encrypted data
- H04L 2209/84: Vehicles
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for programming a control unit of a motor vehicle, a previous program code executed in the control unit being stored in a memory area, a new program code being written into the control unit, and a check of this new program code being carried out, the program code being executed by the control unit if the new program code is successfully verified in the course of the check, and the previous program code stored in the memory area being written from the memory area into the control unit and the previous program code being executed by the control unit if the new program code is not successfully verified in the course of the check.

## Claims

### Claim 1

A method for programming a control unit of a motor vehicle, comprising:
storing in a memory area a previous program code executed in the control unit;
writing a new program code into the control unit and checking the new program code;
executing the new program code by the control unit if the new program code is successfully verified in the checking; and
writing the previous program code stored in the memory area from the memory area into the control unit and executing the previous program code by the control unit, if the new program code is not successfully verified in the checking.

### Claim 2 (depends on 1)

The method as recited in claim 1, wherein the new program code is transmitted to the motor vehicle via a wireless connection.

### Claim 3 (depends on 1)

The method as recited in claim 1, wherein the new program code is written into the control unit in the course of over-the-air programming or firmware-over-the-air programming.

### Claim 4 (depends on 2)

The method as recited in claim 2, wherein the new program code is written into the control unit by a programming unit, the programming unit being provided as an external computing unit or as an additional control unit of the motor vehicle.

### Claim 5 (depends on 4)

The method as recited in claim 4, wherein the new program code is transmitted to the additional control unit of the motor vehicle via the wireless connection.

### Claim 6 (depends on 4)

The method as recited in claim 4, wherein the previous program code is stored in a memory area of the programming unit.

### Claim 7 (depends on 1)

The method as recited in claim 1, wherein the previous program code executed in the control unit is encrypted and the encrypted previous program code is stored in the memory area.

### Claim 8 (depends on 7)

The method as recited in claim 7, wherein a key for at least one of encrypting and decrypting the previous program code is stored in a memory area of the control unit.

### Claim 9 (depends on 8)

The method as recited in claim 8, wherein the key for at least one of encrypting and decrypting the previous program code is stored in a hardware security module of the control unit.

### Claim 10 (depends on 1)

The method as recited in claim 1, wherein an authenticity feature is added to the previous program code executed in the control unit and the previous program code provided with the authenticity feature is stored in the memory area.

### Claim 11 (depends on 10)

The method as recited in claim 10, wherein if the previous program code provided with the authenticity feature and stored in the memory area is written from the memory area into the control unit, an authenticity of the previous program code is checked, based on the authenticity feature.

### Claim 12 (depends on 1)

The method as recited in claim 1, wherein the previous program code executed in the control unit is stored in the memory area, in that a memory map of the control unit is created and is stored in the memory area.

### Claim 13 (depends on 1)

The method as recited in claim 1, wherein an error correction method is carried out for the transfer of the previous program code into the memory area.

### Claim 14

A computing unit configures to:
store in a memory area a previous program code executed in the control unit;
write a new program code into the control unit and checking the new program code;
execute the new program code by the control unit if the new program code is successfully verified in the checking, and
write the previous program code stored in the memory area from the memory area into the control unit and executing the previous program code by the control unit, if the new program code is not successfully verified in the checking.

### Claim 15

A machine-readable storage medium storing a computer program, the computer program, when executed by a computing unit, causing the computing unit to perform:
storing in a memory area a previous program code executed in the control unit;
writing a new program code into the control unit and checking the new program code;
executing the new program code by the control unit if the new program code is successfully verified in the checking; and
writing the previous program code stored in the memory area from the memory area into the control unit and executing the previous program code by the control unit, if the new program code is not successfully verified in the checking.
