# US 2020/0394034 A1 · Systems and Methods for Failsafe Firmware Upgrades

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

- Number: US 2020/0394034 A1
- Document ID: US20200394034A1
- Status: Published application
- Kind: A1
- Application number: 16/826,703
- Filed: 2020-03-23
- Published: 2020-12-17
- Earliest claimed: 2017-07-14
- Assignees: CalAmp Corp.
- Applicants: CalAmp Corp.
- Inventors: Russell Cook; Somasundaram Ramiah
- Web page: https://patentgrep.com/patent/US20200394034A1

## CPC

- G06F 8/654: using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
- G06F 9/4401: Bootstrapping (security arrangements therefor G06F21/57)
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 8/63: {Image based installation; Cloning; Build to order}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for failsafe firmware upgrades in accordance with embodiments of the invention are disclosed. One embodiment includes a vehicle telematics device, including: a processor; and a firmware memory comprising a firmware image coupled to the processor, wherein the firmware image further comprise a first segment and a second segment; wherein a primary bootloader application located in the firmware image: verifies the integrity of the first segment; verifies the integrity of the second segment; selects a firmware image contained in the firmware memory using a failsafe process; and—boots the vehicle telematics device using the selected firmware image.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A vehicle telematics device, comprising:
a processor; and
a firmware memory coupled to the processor and partitioned into a plurality of segments, wherein the plurality of segments comprises:
a first firmware image segment including a primary bootloader application; and
a second firmware image segment;
wherein the primary bootloader application is configured to:
receive an updated firmware image segment; and
store the updated firmware image segment in the second firmware image segment of the firmware memory.

### Claim 22 (depends on 21)

The vehicle telematics device of claim 21, wherein the updated firmware image segment comprises metadata that identifies the second firmware image segment in which the updated firmware image segment is to be stored.

### Claim 23 (depends on 22)

The vehicle telematics device of claim 22, wherein the updated firmware image segment comprises an image header, and wherein the image header comprises the metadata.

### Claim 24 (depends on 21)

The vehicle telematics device of claim 21, wherein the first firmware image segment comprises a default firmware image segment, and the second firmware image segment comprises a transferred firmware image segment.

### Claim 25 (depends on 24)

The vehicle telematics device of claim 24, wherein the first firmware image segment comprises an image header that includes a partition type, wherein the partition type is indicative of the default firmware image segment.

### Claim 26 (depends on 24)

The vehicle telematics device of claim 24, wherein the second firmware image segment comprises an image header that includes an image ID for the second firmware image segment.

### Claim 27 (depends on 21)

The vehicle telematics device of claim 21, wherein:
the vehicle telematics device is further to request the updated firmware image segment from a remote server; and
to receive the updated firmware image segment comprises to receive the updated firmware image segment from the remote server.

### Claim 28 (depends on 21)

The vehicle telematics device of claim 21, wherein:
the vehicle telematics device is further to run the primary bootloader application; and
to receive the updated firmware image segment comprises to receive the updated firmware image segment in response to running the primary bootloader application.

### Claim 29 (depends on 21)

The vehicle telematics device of claim 21, wherein to store the updated firmware image segment comprises to replace a firmware image segment stored in the second firmware image segment.

### Claim 30 (depends on 21)

The vehicle telematics device of claim 21, wherein the second firmware image segment comprises a standby location of the firmware memory.

### Claim 31 (depends on 21)

The vehicle telematics device of claim 21, wherein the firmware memory comprise a flash memory.

### Claim 32

A method for firmware updates, the method comprising:
running, by a vehicle telematics device, a primary bootloader application, wherein the vehicle telematics device comprises a processor and a firmware memory coupled to the processor, the firmware memory partitioned into a plurality of segments, and wherein the plurality of segments comprises a first firmware image segment including the primary bootloader application, and a second firmware image segment;
receiving, by the primary bootloader application, an updated firmware image segment; and
storing, by the primary bootloader application, the updated firmware image segment in the second firmware image segment of the firmware memory.

### Claim 33 (depends on 32)

The method of claim 32, wherein the updated firmware image segment comprises metadata that identifies the second firmware image segment in which the updated firmware image segment is to be stored.

### Claim 34 (depends on 33)

The method of claim 33, wherein the updated firmware image segment comprises an image header, and wherein the image header comprises the metadata.

### Claim 35 (depends on 32)

The method of claim 32, wherein the first firmware image segment comprises a default firmware image segment, and the second firmware image segment comprises a transferred firmware image segment.

### Claim 36 (depends on 35)

The method of claim 35, wherein the first firmware image segment comprises an image header that includes a partition type, wherein the partition type is indicative of the default firmware image segment.

### Claim 37 (depends on 32)

The method of claim 32, further comprising:
requesting, by vehicle telematics device, the updated firmware image segment from a remote server;
wherein receiving the updated firmware image segment comprises receiving the updated firmware image segment from the remote server.

### Claim 38 (depends on 32)

The method of claim 32, wherein storing the updated firmware image segment comprises replacing a firmware image segment stored in the second firmware image segment.

### Claim 39 (depends on 32)

The method of claim 32, wherein the second firmware image segment comprises a standby location of the firmware memory.

### Claim 40 (depends on 32)

The method of claim 32, wherein the firmware memory comprise a flash memory.
