How OTA Updates Work in Modern Cars

How OTA Updates Work in Modern Cars
Over-the-Air (OTA) Updates in Automotive — A Detailed Visual Guide

Connected Vehicles · Software Engineering · Field Guide

Over-the-Air Updates
in the Automotive World

How modern cars receive new software wirelessly — the cloud backend, the airwaves, the electronics inside the vehicle, the security that protects every byte, and the regulations that make it all mandatory. A detailed, diagram-first explanation.

Format  Visual guide Depth  Foundational → advanced Read  ~28 min
Section 01 — Foundations

What “Over-the-Air” actually means for a car

Over-the-Air (OTA) refers to the ability to deliver new software, firmware, configuration, and data to a vehicle remotely, using a wireless connection, without the car ever visiting a workshop or being physically plugged into a diagnostic tool. The same concept that lets a smartphone update itself overnight now applies to an object that weighs two tonnes, drives at highway speed, and carries human passengers. That difference in stakes is the entire story of automotive OTA.

A contemporary car is no longer primarily a mechanical device with some electronics bolted on. It is a distributed computer network on wheels. A premium vehicle can contain over 100 individual computers, collectively running somewhere between 100 and 150 million lines of source code — far more than a modern fighter jet or a desktop operating system. Every one of those computers runs software, and software has bugs, security holes, missing features, and room for improvement. Historically, fixing any of it meant a recall: a letter in the mail, an appointment, a technician, and a cable. OTA replaces that entire chain with a wireless download.

100+
Networked computers (ECUs) in a premium vehicle
~150M
Lines of software code on board
$0
Marginal cost of a wireless fix vs. a workshop recall
15+ yrs
Service life a vehicle’s software must be maintained

The strategic value is easy to state. A software recall that once cost a manufacturer hundreds of dollars per car in labour, logistics, and customer goodwill can now cost almost nothing. A safety patch that once took months to reach the fleet can reach it in days. And a feature the customer paid for — improved range, a new driver-assistance behaviour, a smoother infotainment interface — can be delivered to a car that has already been sold, turning the vehicle into a product that improves after purchase rather than depreciating in every dimension at once.

But the phrase “just like a phone” hides everything that makes automotive OTA hard. A phone that fails to boot after a bad update is an inconvenience; a car that fails to boot may be a stranded family or, worse, a control unit that misbehaves at speed. A phone updates one device that its owner is holding; a car update must reach a specific, safety-critical computer buried among a hundred others, over networks never designed to carry large files, while guaranteeing the vehicle stays drivable throughout and can undo the change instantly if something is wrong. Everything in the sections that follow — the redundant memory banks, the layered cryptography, the staged rollouts, the regulatory certification — exists to close that gap between the convenience of a phone update and the consequences of a moving vehicle.

The core idea in one sentence OTA turns the car from a fixed, finished product into a continuously updatable platform — but because the platform can steer, brake, and accelerate, the update process must be engineered to a safety and security standard that consumer electronics never had to meet.
Section 02 — Motivation

Why the industry moved to OTA

Four distinct pressures pushed the automotive industry toward OTA, and understanding them explains why the technology is now considered non-negotiable rather than a luxury.

1. The cost and reach of recalls

Software-related recalls have grown into one of the largest categories of vehicle recall. A traditional recall requires physically reaching every affected car, which is slow, expensive, and incomplete — a meaningful fraction of owners never respond to recall notices at all. OTA reaches the whole fleet, silently, at a fraction of the cost, and can achieve completion rates a mailed letter never will.

2. Cybersecurity

A connected car is an attack surface. Once a vehicle can talk to the internet, vulnerabilities that are merely embarrassing in a phone become potentially life-threatening in a car. The famous 2015 demonstration in which researchers remotely took control of a Jeep’s steering and brakes forced a 1.4-million-vehicle recall — patched, at the time, by mailing owners a USB stick. OTA is the only mechanism that can push a security patch to millions of vehicles fast enough to outrun an active exploit.

3. Feature velocity and new business models

Buyers increasingly expect their car to behave like their phone: to gain capabilities over time. OTA enables feature-on-demand — heated seats, extra range, upgraded autonomy tiers — sold as software after the car has left the factory. It also lets a manufacturer ship a car “good enough” at launch and refine it in the field, collapsing development timelines.

4. The Software-Defined Vehicle

The whole industry is reorganising around the Software-Defined Vehicle (SDV): an architecture in which the car’s behaviour and value live primarily in software running on a few powerful central computers, with hardware acting as a stable, long-lived platform beneath. An SDV is meaningless without a robust way to change that software in the field. OTA is the delivery mechanism the entire SDV vision depends on.

Regulatory tailwind OTA is no longer just a competitive advantage. In many markets, the ability to deliver and manage software updates securely is now a legal precondition for type-approving a vehicle at all — see Section 11.
Advertisement
Section 03 — Terminology

SOTA vs. FOTA: two flavours of update

OTA is an umbrella term. Underneath it, engineers distinguish between two categories based on what is being updated and how deep in the system the change reaches.

OTA = umbrella term SOTA = software / apps FOTA = firmware / ECUs

SOTA (Software-Over-the-Air) updates the high-level software: infotainment apps, navigation maps, user-interface layers, and application logic running on top of an operating system. These live on the more powerful, phone-like computers in the car. SOTA is comparatively forgiving — a failed app update rarely endangers anyone, and the affected computer usually has plenty of memory and processing headroom.

FOTA (Firmware-Over-the-Air) updates the low-level firmware that runs directly on an Electronic Control Unit (ECU) — the small, specialised microcontrollers governing the engine, brakes, transmission, battery management, airbags, and steering. FOTA is far more delicate: these are resource-constrained devices with little spare memory, they often control safety-critical functions, and a corrupted firmware flash can leave (“brick”) a control unit non-functional. FOTA is where the hardest engineering of automotive OTA lives.

Table 1 — SOTA compared with FOTA
DimensionSOTA (Software)FOTA (Firmware)
TargetApps, maps, UI, high-level servicesECU firmware, bootloaders, low-level control code
Runs onPowerful compute (infotainment, cockpit, central computer)Constrained microcontrollers across the vehicle
Safety impactUsually lowOften safety-critical (brakes, steering, powertrain)
Resources availableAmple RAM, flash, an OS with a file systemKilobytes to megabytes; often no OS
Failure consequenceApp restart or reinstallBricked ECU; potential loss of function
Typical protocol pathIP / internet-style over the vehicle’s Ethernet backboneAutomotive diagnostics (UDS) over CAN / Ethernet
Update strategyOften A/B or containerised, easily reversibleA/B where memory allows; otherwise carefully staged
Section 04 — The big picture

End-to-end architecture: cloud, air, and vehicle

Every OTA system spans three domains that must cooperate flawlessly: a cloud backend where updates are built and campaigns are managed, a connectivity layer that carries the data through the air, and the in-vehicle system that receives, verifies, and installs it. The diagram below shows the whole chain end to end.

CLOUD BACKEND Build & package updates Sign & encrypt Campaign management Fleet & version registry CELLULAR / WI-FI THE VEHICLE Telematics Unit the antenna to the world OTA Manager + Central Gateway PowertrainECU BrakesECU BatteryBMS Infotainment /Cockpit in-vehicle network (CAN / Ethernet)
Figure 1. The three OTA domains. The cloud builds, signs, and schedules updates; the connectivity layer carries them; inside the car a telematics unit receives them and a gateway distributes them to the right ECUs.

The cloud backend

This is the manufacturer’s control room. It builds update packages from validated software releases, cryptographically signs and encrypts them, and — crucially — runs campaign management: deciding which vehicles get which update, when, and in what order. It maintains a live registry of every vehicle in the fleet and the exact software version running on every ECU inside each one, so it knows precisely what each car needs.

The connectivity layer

Data reaches the car through cellular networks (4G/5G via an embedded SIM), the owner’s home Wi-Fi, or — for the heaviest packages or the most sensitive ECUs — a wired connection at a dealership. Cellular gives reach; Wi-Fi gives cheap bandwidth for large downloads; the dealer path gives a controlled environment for the riskiest flashes.

The in-vehicle system

A telematics control unit is the car’s antenna to the outside world. Behind it, an OTA manager (often co-located with the central gateway) orchestrates the whole install: it authenticates the package, decides the sequence, distributes the right firmware to the right ECU across the internal network, verifies each flash, and manages rollback if anything goes wrong.

Advertisement
Section 05 — Inside the vehicle

The electrical/electronic (E/E) architecture

To understand FOTA you have to understand how a car’s computers are wired together. This is called the E/E architecture, and it has been evolving rapidly — an evolution driven in large part by the demands of OTA and the SDV.

ECUs and the networks between them

Each ECU is a self-contained computer responsible for one domain of the car. They talk to each other over shared in-vehicle networks. For decades the dominant network was the CAN bus (Controller Area Network) — robust, cheap, but slow. As data volumes exploded, faster networks were added: FlexRay for time-critical control, LIN for cheap low-speed devices like window motors, and increasingly Automotive Ethernet as a high-bandwidth backbone. OTA is one of the main reasons Ethernet is being adopted: pushing hundreds of megabytes to many ECUs simply is not practical over a legacy CAN bus running at 500 kbit/s.

Table 2 — In-vehicle networks and their relevance to OTA
NetworkTypical speedUsed forOTA relevance
LINup to 20 kbit/sSimple actuators, sensors, mirrors, windowsToo slow; updated indirectly via a parent ECU
CAN / CAN-FD0.5 – 5 Mbit/sPowertrain, chassis, body controlWidely used for FOTA via UDS diagnostics, but a bottleneck for large images
FlexRayup to 10 Mbit/sDeterministic, safety-critical controlUsed where timing matters; limited bandwidth for updates
Automotive Ethernet100 Mbit/s – 10 Gbit/sADAS, cameras, backbone, high-compute domainsPreferred OTA backbone; makes large, fast updates practical

From distributed to zonal architectures

Three generations of E/E architecture are worth distinguishing, because they change how hard OTA is to do well.

GEN 1
Distributed
100+ small ECUs, each for one function, connected by many CAN buses. Adding a feature means adding a box. Hard to update at scale.
GEN 2
Domain-based
ECUs grouped into a few powerful domain controllers (powertrain, chassis, infotainment, ADAS). Fewer, smarter targets to update.
GEN 3
Zonal + central compute
A few high-power central computers do the thinking; simple “zone” controllers handle nearby I/O. Ideal for OTA and the SDV.

In a modern zonal architecture, most of the valuable, frequently-updated software concentrates onto one or two central compute units connected by a fast Ethernet backbone. This is deliberate: it turns “update a hundred scattered microcontrollers” into “update a couple of powerful, well-resourced computers,” which is dramatically easier to do safely, reversibly, and often.

Why this matters for OTA The more a car’s intelligence is centralised onto a few capable computers, the more its behaviour can be changed by software alone — and the easier, safer, and cheaper OTA becomes. Architecture and updatability are two sides of the same coin.
Section 06 — Two update paths

SOTA and FOTA architecture, side by side

Section 3 defined SOTA and FOTA by what they update. But the deeper difference is how the update physically travels the last few metres inside the car and gets written to its destination. The two follow architecturally different paths, use different protocols, and are applied by different mechanisms. A single vehicle-wide campaign usually contains both at once, orchestrated together by the OTA manager.

The shared front end is identical: both start in the cloud, both are signed and encrypted, and both arrive through the telematics unit (Section 4). They diverge at the gateway. From there, a SOTA package flows to a rich compute node and is applied with file-and-package semantics, much like a phone or server; a FOTA package flows to a constrained microcontroller and must be written through the automotive diagnostic stack by a component that behaves like a workshop programming tool living inside the car.

SOTA architecture — updating a rich compute node

SOTA targets the powerful, phone-like computers in the car: the infotainment head unit, the digital cockpit, and the central/high-performance compute units. These run a full operating system — Linux, Android Automotive OS, or a safety RTOS such as QNX — with a real file system, ample flash (eMMC/UFS), and spare CPU for cryptography. That richness means SOTA can borrow the mechanics of modern cloud and mobile software almost directly.

Cloud signed image / package Telematics + gateway routes onward HIGH-COMPUTE NODE · runs an OS OTA client / package mgr verify signature, apply to slot Slot A (active) current OS/apps Slot B (inactive) new image written containers / apps navigation media app voice assistant transport: IP over Ethernet · TLS · app/container or full-image update, reboot into new slot
Figure 6. The SOTA path. On a rich node the update is handled by an OTA client / package manager that writes a new OS image to an inactive A/B slot, or swaps individual containerised apps — reversible, file-based, and close to how phones and servers update.

Two properties define the SOTA path. First, the transport is essentially internet-style: IP over the Ethernet backbone, secured with TLS, moving self-describing packages. Second, the update is applied with high-level semantics — a package manager or update orchestrator either writes a whole new OS image to the inactive A/B slot and reboots into it, or, with containerisation, replaces just one isolated app without touching the rest of the system. Because these nodes have room for A/B slots and a recovery path, SOTA is inherently reversible and comparatively low-risk.

FOTA architecture — reprogramming an ECU

FOTA targets the opposite kind of device: a small microcontroller with kilobytes to a few megabytes of memory, frequently no operating system, and often responsibility for a safety function. You cannot copy a file onto it. Instead the firmware must be written into program flash by the ECU’s own flash bootloader, driven by a component inside the car that speaks the automotive diagnostic language — the very same UDS (Unified Diagnostic Services, ISO 14229) protocol a workshop tool uses when it reprograms an ECU over a cable. In OTA, the OTA manager / gateway becomes that tester, running the flashing sequence remotely from within the vehicle.

Cloud firmware / delta Telematics unit OTA Manager / Gateway acts as an in-vehicle DIAGNOSTIC TESTER buffers + verifies image TARGET ECU · microcontroller Flash bootloader receives blocks, writes flash, checks CRC Bank A active app Bank B new app UDS over CAN-FD / DoIP (Ethernet) UDS SEQUENCE: programming session → security access → erase → RequestDownload → TransferData → exit → check → reset
Figure 7. The FOTA path. The gateway takes on the role of a diagnostic tester and reprograms the ECU with the standard UDS flashing sequence — carried over CAN-FD on legacy buses or DoIP over Ethernet on modern ones. The ECU’s flash bootloader does the actual writing, into an inactive bank where memory allows.

The FOTA flashing sequence is a strict, standardised handshake. The tester opens a programming session, passes a security access challenge (a seed/key exchange or certificate check that proves it is authorised to reprogram this ECU), erases or prepares the target memory, then streams the firmware with RequestDownload followed by repeated TransferData blocks, closes the transfer, runs a dependency and integrity check (CRC/hash), and finally resets the ECU so it boots the new application — with secure boot validating the signature one more time before the code is allowed to run. On modern cars this travels as DoIP (Diagnostics over IP, ISO 13400) across Automotive Ethernet; on older ones it is UDS over CAN-FD, which is far slower and a real bottleneck for large images.

Orchestration: both paths in one campaign

A real update rarely touches just one target. The OTA manager acts as the conductor for the whole vehicle: it sequences updates across many ECUs and compute nodes, honours dependencies (some components must be updated together, or in a defined order, so that versions stay compatible), enforces preconditions (power, parked state, consent), and treats the campaign as close to atomic as possible — so the car is never left in a half-updated, inconsistent state where a new central-compute version is talking to an ECU still running incompatible old firmware. If any target fails, the manager can roll the affected components back to their previous versions together.

Table 7 — SOTA vs FOTA architecture at each layer
LayerSOTA pathFOTA path
DestinationRich compute node running an OS (infotainment, cockpit, central compute)Constrained ECU microcontroller, often without an OS
Applied byOTA client / package manager / container runtime on the nodeECU flash bootloader, driven by the gateway acting as a diagnostic tester
ProtocolIP over Ethernet, TLS — internet-style deliveryUDS (ISO 14229) over DoIP (Ethernet) or CAN-FD
Update unitFull OS image or an individual app / containerFirmware binary or delta for one ECU’s program flash
Storage & A/BLarge flash (eMMC/UFS); A/B slots readily availableSmall flash; A/B only where memory budget allows
Security checkSignature verify + TLS; secure boot on the nodeSecurity access + signature verify + secure boot in the ECU/HSM
RevertSlot switch or app re-deploy — easyBank switch if A/B present; otherwise a careful re-flash
Risk profileLower — rarely safety-critical, easily reversibleHigher — often safety-critical; a bad flash can brick the ECU
The one-line distinction SOTA delivers files to a computer over internet-style protocols; FOTA reprograms a microcontroller over the car’s diagnostic protocols, with the gateway standing in for the workshop’s programming tool. Same campaign, same cloud, two very different last miles.
Advertisement
Section 07 — The workflow

The OTA update lifecycle, step by step

A single OTA update is not one event but a carefully sequenced pipeline. Rushing or skipping any stage is how cars get bricked. Here is the full lifecycle, from a developer committing a fix to the car confirming success.

CLOUD 1 · Package build + delta create image 2 · Sign encrypt + cryptographic sign 3 · Campaign target fleet, stagger rollout VEHICLE 4 · Download background, resumable 5 · Verify check signature + preconditions 6 · Install flash to inactive bank 7 · Activate switch + confirm or roll back over the air →
Figure 2. Seven stages. Stages 1–3 happen in the cloud; stages 4–7 happen in the car. Activation is the moment of truth — and the point where rollback protects the vehicle.

Walking through the stages

  1. Package. A validated software release is turned into an update package. If a previous version is known, a delta (the difference between old and new) is computed instead of shipping the whole image — see Section 8.
  2. Sign & encrypt. The package is encrypted (so no one can read it in transit) and cryptographically signed (so the car can prove it came from the manufacturer and was not altered).
  3. Campaign. The backend decides which vehicles are eligible and schedules a staged rollout: a small pilot group first, monitored closely, then progressively wider — so a bad update is caught before it reaches millions.
  4. Download. The car pulls the package in the background while driving or parked, over cellular or Wi-Fi. Downloads are resumable, so a dropped connection doesn’t restart from zero.
  5. Verify. Before touching anything, the car checks the signature and integrity, and confirms preconditions: enough battery/fuel, vehicle parked, sufficient storage, correct current version.
  6. Install. The new firmware is written — ideally to an inactive memory bank while the running software stays untouched (Section 9). The car remains fully usable throughout for non-critical updates.
  7. Activate & confirm. With the driver’s consent and safe conditions met, the car switches to the new software, self-tests, and reports success. If the new version fails to boot or behaves wrongly, it rolls back to the previous, known-good version automatically.
Consent & safety gating Safety-critical installs never happen silently while the car is moving. The system waits for the vehicle to be parked, requires adequate power, and typically asks the driver to approve activation — often with a scheduled install window, exactly like a phone updating overnight.
Section 08 — Efficiency

Full images vs. delta updates

Bandwidth costs money and cellular data is finite. A naive OTA system would send the entire new software image every time. A well-engineered one sends only what changed. This is the difference between a full update and a delta (differential) update.

FULL IMAGE UPDATE Entire new firmware transmitted — e.g. 560 MB DELTA UPDATE 9 MB only the changed bytes are sent; the car reconstructs the rest 100% data cost ~1–3% of the full size
Figure 3. A delta update ships only the binary difference between the installed version and the target version. For a small bug fix this can be a fraction of a percent of the full image — the car rebuilds the complete new firmware locally from the old version plus the delta.

Delta updates are generated by a binary-differencing algorithm in the cloud that compares the exact version currently on the ECU with the target version and produces a compact patch. The vehicle applies the patch to its existing firmware to reconstruct the new image bit-for-bit. This is why the backend must know precisely which version every ECU is running: a delta is only valid against one specific source version.

Table 3 — Full vs. delta update trade-offs
AspectFull imageDelta / differential
Data transferredThe whole image, every timeOnly the changed bytes — often 1–5%
Cellular costHighLow
Download timeLongShort
Cloud complexitySimpleMust track every source version and generate patches
In-vehicle workJust write the imageReconstruct image from base + patch, then verify
Version dependencyNone — self-containedStrict — valid only from a known source version
Best forFirst install, major rewrites, unknown stateFrequent incremental fixes on a known fleet
Advertisement
Section 09 — Reliability

A/B partitions and safe rollback

The single most important reliability technique in automotive OTA is A/B (dual-bank) partitioning. The idea: give the ECU two copies of its firmware storage — an active bank the car is currently running from, and an inactive bank. Updates are written to the inactive bank while the active one keeps the car running. Only when the new version is fully written and verified does the system switch which bank is active.

STATE 1 · RUNNING v4.1 Bank A — v4.1 ● ACTIVE Bank B — v4.0 (old) idle STATE 2 · WRITING v4.2 Bank A — v4.1 ● ACTIVE — car still runs Bank B — v4.2 ◌ flashing new image STATE 3 · ACTIVATED Bank A — v4.1 (fallback) kept for rollback Bank B — v4.2 ● ACTIVE after self-test IF v4.2 FAILS TO BOOT OR SELF-TEST A watchdog detects the failure and instantly switches the active bank back to Bank A (v4.1), the last known-good version. The car keeps working. The bad update simply never takes effect.
Figure 4. A/B partitioning. The car always runs from a verified bank while the other is being updated, so a failed or corrupted update can never leave the ECU without working software — the system just falls back to the previous version.

A/B partitioning delivers three enormous benefits: the car stays usable during the update (no downtime while flashing), the switch to the new version is nearly instantaneous (just a pointer flip at the next boot), and — most importantly — rollback is guaranteed. If the new firmware fails to boot, a hardware watchdog notices it never reported success and reverts to the old bank automatically. This is what makes it acceptable to update safety-critical systems in the field.

Table 4 — A/B (dual-bank) vs. single-bank updating
PropertyA/B dual-bankSingle-bank
Vehicle availability during updateFully usableOften unavailable while flashing
Rollback on failureAutomatic and instantDifficult; risk of a bricked ECU
Memory costRoughly double the flashMinimal
Switch-over timeEffectively instant (pointer flip)Requires a full re-flash to revert
Suitable for safety-critical ECUsStrongly preferredRisky; needs extra safeguards
Cost driverMore expensive siliconCheaper, but riskier

The trade-off is cost: A/B doubles the required flash memory, and on a cheap ECU controlling, say, a window motor, that cost may not be justified. Engineers therefore reserve A/B for the ECUs where reliability matters most and accept single-bank updates — with extra safeguards like a protected recovery bootloader — for the simplest, least critical devices.

Section 10 — Security

Securing the pipeline: trust from cloud to ECU

An OTA channel is, by definition, a remote path that can rewrite the software controlling a moving vehicle. If an attacker could push their own firmware through it, they could compromise entire fleets at once. Security is therefore not a feature of automotive OTA — it is the precondition for its existence. The guiding principle is a chain of trust: every stage cryptographically verifies the previous one, so that unauthorised or altered software is rejected at the earliest possible point.

The cryptographic building blocks

  • Digital signing. The manufacturer signs each update with a private key held securely in the cloud. The car holds the matching public key and verifies the signature, proving the update genuinely came from the manufacturer and has not been modified.
  • Encryption. The package is encrypted so that even if intercepted in transit, its contents cannot be read or reverse-engineered.
  • Integrity hashing. A cryptographic hash lets the car detect even a single flipped bit caused by corruption or tampering.
  • Secure boot. At every power-on, each ECU verifies the signature of its own firmware before running it — so unsigned code simply will not execute, even if somehow written to memory.
  • Hardware Security Module (HSM). A dedicated, tamper-resistant chip (or region) inside the ECU stores keys and performs cryptographic checks in isolation, so keys never sit exposed in general memory.
Manufacturer signs with private key 🔑 Encrypted, signed package travels the air Telematics / Gateway verifies signature Target ECU HSM re-verifies then writes bank Secure boot checks again verification repeated at every hop — trust is never assumed, always re-checked
Figure 5. The chain of trust. A package is verified independently at multiple points — the gateway, the target ECU’s HSM, and again at every boot via secure boot — so tampering is caught even if one layer is bypassed.

Uptane: a framework built for cars

General-purpose software-update security was not designed with the automotive threat model in mind — a fleet of millions of long-lived, safety-critical, intermittently-connected devices, some of which an attacker may physically possess. Uptane is an open security framework created specifically for automotive OTA. Its central innovation is the separation of roles so that compromising any single key or server is not enough to push malicious firmware.

Uptane splits authority between two repositories. The Image Repository is offline-signed by the manufacturer and vouches for what the correct, official firmware is. The Director Repository is online and decides which vehicle should install which images and when. A vehicle only installs firmware that both repositories agree on. Because the powerful offline keys are kept away from the internet-facing servers, an attacker who breaches the online Director still cannot forge a valid image — the Image Repository won’t vouch for it. This design also resists rollback attacks (forcing a car back to old, vulnerable software) and freeze attacks (tricking a car into thinking no updates exist).

Threats OTA security must defeat Spoofed updates (fake firmware), man-in-the-middle interception, replay and rollback attacks, key compromise on a single server, and physical extraction of a stolen ECU. A robust system assumes any one component can be breached and still refuses to install untrusted code.
Section 11 — Rules of the road

Standards and regulations

Because a bad update can endanger lives, OTA is heavily governed. Manufacturers cannot simply build whatever pipeline they like; they must demonstrate to regulators that their software-update and cybersecurity processes meet defined standards before a vehicle can be sold in many markets.

Table 5 — Key standards & regulations shaping automotive OTA
Standard / regulationFocusWhat it requires (in essence)
UN R155CybersecurityA certified Cyber Security Management System covering the whole vehicle lifecycle; threat analysis and risk assessment for every vehicle type.
UN R156Software updatesA certified Software Update Management System; every update must be identifiable, traceable, safe to install, and reversible if it fails.
ISO/SAE 21434Cybersecurity engineeringThe engineering process for building security into road-vehicle electronics from design through decommissioning.
ISO 24089Software update engineeringRequirements for engineering the software-update process itself, at both vehicle and fleet level.
ISO 26262Functional safetyEnsures the systems being updated remain safe; an update must not compromise a safety function.
Automotive SPICEProcess maturityA framework for assessing and improving the maturity of software-development processes at suppliers.

The two UNECE WP.29 regulations — R155 (cybersecurity) and R156 (software updates) — are the most consequential. In jurisdictions that adopt them, a manufacturer must hold a valid Software Update Management System (SUMS) certification to type-approve new vehicles at all. R156 specifically demands that every update be uniquely identifiable and traceable, that the vehicle verify an update’s integrity and authenticity, that the process assess whether an update is safe to apply, and that failed updates can be recovered from. In other words, much of what this guide describes — signing, verification, staged rollout, rollback — is not merely good practice; it is legally mandated.

Advertisement
Section 12 — Getting the bytes there

Connectivity, campaigns, and fleet management

Delivering an update to one car is a technical problem. Delivering it to millions is a logistics problem — and this is where the cloud backend earns its keep.

Connectivity options

Most modern vehicles ship with an embedded SIM giving them permanent cellular connectivity (increasingly 5G), which provides reach anywhere there is a mobile network. Because cellular data has a cost and can be slow, cars also opportunistically use the owner’s home Wi-Fi to pull large downloads cheaply. For the largest or most sensitive updates — a full flash of a safety-critical ECU — some manufacturers still prefer a wired dealer connection, which offers a controlled, high-bandwidth, uninterruptible environment.

Campaign management and staged rollout

A manufacturer never pushes a new update to the entire fleet at once. That would turn any undetected flaw into a fleet-wide catastrophe. Instead the backend runs a staged (phased) rollout: the update goes first to a small pilot group, whose vehicles are monitored intensively for any regression. If they behave correctly, the rollout expands in waves — 1%, then 10%, then the rest — with the ability to halt or pause instantly if telemetry reveals a problem. This is the field equivalent of a canary release in cloud software.

WAVE 0
Internal / pilot
A tightly monitored fleet confirms the update behaves in the real world.
WAVE 1
~1% of fleet
Early adopters; telemetry watched closely for regressions.
WAVE 2
~10% of fleet
Broader validation across regions, variants, and conditions.
WAVE 3
Full rollout
Remaining vehicles, with pause/rollback still on standby.

Knowing the fleet

Underpinning all of this is a digital twin of the fleet: a backend record of every vehicle’s exact configuration — which ECUs it has, which firmware version each is running, which optional features are enabled, which region and variant it is. Without this, the backend cannot compute correct deltas, cannot target campaigns accurately, and cannot know whether an update even applies. Fleet knowledge is the quiet foundation the whole system rests on.

Section 13 — Hard problems

Challenges and constraints

Despite the elegant architecture, automotive OTA remains genuinely hard. Several constraints have no equivalent in the consumer-electronics world.

Power and vehicle state

Flashing an ECU draws power and can leave the car temporarily unavailable. An update interrupted by a dying 12-volt battery mid-flash is exactly the scenario that bricks a control unit. Systems must therefore check battery state, sometimes require the car to be plugged in or running, and never begin an irreversible step without guaranteed power to finish it.

Safety and driver interaction

You cannot re-flash a brake controller while someone is braking. Updates to safety-critical systems must be gated on vehicle state — parked, in a safe location, with the driver informed — and require explicit consent for activation. Balancing seamless updates against the absolute requirement never to compromise a moving vehicle is a constant design tension.

Heterogeneity and long lifespans

A single model may exist in thousands of hardware and software permutations across model years, markets, and options. Each needs the right update, and the manufacturer must keep supporting the software for the vehicle’s entire 15-plus-year life — long after the original developers have moved on and the cloud platforms have been rebuilt.

Resource-constrained ECUs

Many ECUs have kilobytes of RAM and no room for a second firmware bank, no operating system, and no spare compute for cryptography. Delivering secure, reversible updates to such devices — squeezing signing, verification, and delta reconstruction into tiny microcontrollers — is a persistent engineering challenge.

Legacy networks

Older vehicles built on slow CAN buses without an Ethernet backbone can take a very long time to receive large updates, and may lack the compute for modern security. Retrofitting robust OTA onto legacy architectures is often impractical, which is one more reason the industry is moving toward centralised, Ethernet-based, zonal designs.

Validation before anything ships

By the time an update reaches the first real vehicle, it has already survived an extensive validation gauntlet, because in this domain there is no “push a hotfix and see what happens.” Updates are exercised in software simulation, then on hardware-in-the-loop rigs where the real ECU runs against a simulated car, then on physical test vehicles, and finally on the tightly-monitored pilot fleet described in Section 12. Engineers must also verify every update path — not just that version 4.2 works, but that upgrading to it from 4.0, from 4.1, and from every other version still in the field all succeed, and that each of those can roll back cleanly. The combinatorial explosion of source versions, hardware variants, and regional configurations makes this validation matrix one of the most demanding parts of the entire programme, and it is a large reason delta updates and accurate fleet records matter so much: they shrink the set of transitions that must be proven safe.

The overarching tension Every OTA design lives between two poles: make updates as frequent, seamless, and inexpensive as possible, while making it impossible for an update to ever endanger a passenger or brick the car. Almost every technique in this guide exists to hold those two goals together.
Advertisement
Section 14 — Where it’s heading

The road ahead: the software-defined vehicle

OTA is the enabling technology for the industry’s largest structural shift in a century. As cars consolidate their intelligence onto a few powerful central computers, the vehicle increasingly resembles a smartphone or a cloud server on wheels — and the practices of modern software engineering follow it there.

Several trends are converging. Containerisation and virtualisation let features be packaged as isolated, independently-updatable software modules — so one app can be updated without touching the rest of the car, much like updating a single app on a phone. High-performance central compute concentrates the frequently-changing software where it is easy to update and roll back. Continuous delivery pipelines, borrowed from web software, let manufacturers ship improvements in a steady cadence rather than in rare, monolithic releases. And data feedback loops — vehicles reporting real-world telemetry back to the cloud — let the next update be shaped by how the last one actually performed in the field, including training and refining driver-assistance and autonomy behaviours.

The business implications are just as significant. When a car’s capabilities live in software that can be changed at any time, the vehicle becomes a platform for ongoing services and features rather than a one-time sale. A car can be sold with hardware capability that is unlocked later, improved after purchase, and personalised to its owner — all delivered over the air. The line between “buying a car” and “subscribing to a car” blurs, and the update pipeline described in this guide becomes the single most strategically important system the manufacturer operates.

The bottom line In the software-defined era, the vehicle is only as good as its ability to keep improving — and OTA is the mechanism that makes continuous improvement possible. It has moved from a convenient extra to the backbone of how modern cars are built, sold, secured, and maintained.
Section 15 — Reference

Glossary of key terms

Table 6 — Quick-reference glossary
TermMeaning
OTAOver-the-Air: delivering software/firmware to a vehicle wirelessly, without a workshop visit.
SOTASoftware-Over-the-Air: updating high-level software such as apps, maps, and UI.
FOTAFirmware-Over-the-Air: updating low-level ECU firmware, often safety-critical.
ECUElectronic Control Unit: a specialised in-vehicle computer governing one function.
Telematics unitThe in-vehicle module that provides the wireless connection to the outside world.
GatewayCentral hub routing data between the car’s internal networks and managing update distribution.
Flash bootloaderSmall program on an ECU that receives new firmware and writes it into program flash.
UDSUnified Diagnostic Services (ISO 14229): the protocol used to diagnose and reprogram ECUs.
DoIPDiagnostics over IP (ISO 13400): carrying UDS diagnostics/flashing over Automotive Ethernet.
Diagnostic testerThe tool (or, in OTA, the gateway) that drives an ECU’s reprogramming sequence.
ContainerisationPackaging apps as isolated units so one can be updated without touching the rest.
CAN busController Area Network: the classic, robust, low-speed in-vehicle network.
Automotive EthernetHigh-bandwidth in-vehicle backbone increasingly used as the OTA data path.
Delta updateSending only the binary difference between versions instead of the whole image.
A/B partitionDual firmware banks (active + inactive) enabling safe, reversible updates.
RollbackAutomatic reversion to the last known-good version if an update fails.
Secure bootVerifying firmware authenticity at every power-on before it is allowed to run.
HSMHardware Security Module: tamper-resistant chip storing keys and doing crypto in isolation.
UptaneOpen security framework designed specifically for automotive OTA, separating trust roles.
Staged rolloutReleasing an update to progressively larger fractions of the fleet, with pause/rollback.
SUMSSoftware Update Management System — the certified process required by UN R156.
SDVSoftware-Defined Vehicle: a car whose value and behaviour live primarily in updatable software.
Zonal architectureE/E design with a few central computers and simple zone controllers for nearby I/O.

OVER-THE-AIR UPDATES IN AUTOMOTIVE — A VISUAL FIELD GUIDE

An educational overview of the architecture, workflow, security, and regulation of automotive OTA. Figures are original schematic illustrations. No external resources are loaded by this page.