Svashasan Logo
Simulated data

Operating Systems and Embedded Software · Software update

Firmware Update

Also known as reflashing, ECU flashing, software update, FOTA, OTA firmware update

IntermediateSource-checked · awaiting technical reviewLast reviewed 6 December 2026

Replacing the firmware in a device's non-volatile memory with a new version, using a wired tool, removable media or over-the-air delivery, while ensuring the image is authentic, compatible with the target and recoverable if installation fails.

Explanation

Vehicle ECUs are updated to fix defects, close security vulnerabilities and add features. Typical routes are workshop flashing over the diagnostic interface (for example UDS over CAN or DoIP) and over-the-air campaigns, in which a vehicle gateway downloads packages and distributes them to the target ECUs.

Regulation and standards shape the process. UN Regulation No. 156 requires vehicle manufacturers to operate a certified software update management system for type approval in the jurisdictions that apply it. ISO 24089:2023 specifies software update engineering at organisational and project level. Security frameworks such as Uptane add signed metadata with separated roles, including an Image repository and a Director repository, so that compromising one server or key does not give an attacker full control over updates.

Robust designs check compatibility before installing, verify signatures on the target, keep a fallback image (for example A/B banks) so a failed or interrupted update can be recovered, and install only when power supply and vehicle state allow it.

How it works

The update package is built, signed and published. The vehicle or tool verifies the metadata and image signatures, checks the target's hardware and software versions, and transfers the image, often into an inactive memory bank. The ECU's bootloader or update agent writes and verifies the new image and switches to it at the next start, then reports the result. If any check fails, the ECU stays on, or reverts to, the previous version.

Automotive applications

  • Over-the-air security patches for telematics and infotainment
  • Dealer and end-of-line ECU flashing via UDS
  • Updating sensor and Ethernet-switch firmware in the field
  • Recall remedies delivered without a workshop visit

Example

An OEM releases an OTA update for a body ECU. The telematics unit downloads the package, verifies its Uptane metadata and waits until the vehicle is parked with enough battery charge. It then flashes the inactive bank via UDS, and the ECU switches banks after a successful integrity check.

An illustrative example: any figures in it are worked numbers, not measurements.

References

  1. Uptane Standard for Design and Implementation 2.1.0 (opens in a new tab)

    Uptane (Joint Development Foundation project) · Specification · Abstract; 1 Introduction; 3.2.2 Use cases · retrieved 6 December 2026

    “This document describes a framework for securing ground vehicle software update systems.”
  2. ISO 24089:2023 Road vehicles — Software update engineering (opens in a new tab)

    ISO · Standard · Direct fetch of iso.org returned HTTP 403; details taken from the iso.org catalogue entry as returned by web search on 2026-12-06. · retrieved 6 December 2026

  3. UN Regulation No. 156: Software update and software update management system (opens in a new tab)

    UNECE · Standard · Direct fetch of unece.org returned HTTP 403; scope and SUMS definition taken from unece.org documents as returned by web search on 2026-12-06. · retrieved 6 December 2026

Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.