PlatformsFaststream SiliconFaststream RadioFaststream VisionConnected EdgeFaststream SecureMobility & Rail
ProductsSemiconductor IPIP CoresWireless & RANEdge & GatewaysTracking & IdentificationSoftware & FrameworksConnected Systems
Technology5G protocol stackWireless and RF architectureBaseband and low PHYForward error correctionControl and data planeHigh-speed interfacesFirmware and bootSilicon root of trustSoftware-defined vehicleAutomotive OTAFunctional safety
AIAI Engineering ServicesEdge AI & Embedded MLComputer Vision EngineeringSensor Fusion & PerceptionAI Silicon & AccelerationMLOps for DevicesAI Visual InspectionPredictive MaintenanceDriver MonitoringVideo Analytics & Safety
SolutionsSemiconductorIndustrial AIConnected ProductsAsset TrackingBluetooth AoA RTLSWearable TrackingAutomotive & MobilitySmart InfrastructureSecure IdentityWireless & SatelliteNTN Asset TrackingPrivate 5GSmart WashroomsFuel ManagementSmart BuildingsWorker SafetyEnergy MonitoringSmart AgricultureSmart CityAutonomous PlatformsAssembly AutomationLiDAR Rail SafetyHardware Wallet
IndustriesSemiconductorTelecommunicationsIndustrial & ManufacturingAutomotive & MobilityTransportation & RailAerospace & DefenceHealthcare & MedicalEnergy & UtilitiesOil & GasRetailConsumer ElectronicsMedia & EntertainmentSmart Infrastructure & IoT
ServicesSystem Integration overviewASIC & SoC DesignRTL to GDSIIVerification methodologyDFT and silicon testLow-power designMixed-signal integrationDesign enablementFPGA DesignFPGA-to-ASIC ConversionAnalog, Mixed-Signal & RFHardware & High-Speed PCBEmbedded SoftwareCloud, OTA & Device ManagementManufacturing TransitionHow we engage
CompanyAbout FaststreamEngineering ExcellenceLeadership & OrganisationHow We EngageQuality & ComplianceStandards & EcosystemPartners & EcosystemTrust CentreLocations & DeliveryNewsroom & MediaCareersCase StudiesKnowledge CenterWhite PapersGlossaryNewsletterResources & Support
ContactStart a projectHow we engage
Talk to us
AUTOMOTIVE ARCHITECTURE

Automotive OTA

Updating a phone is one endpoint with spare flash and mains power. Updating a vehicle is fifty to a hundred and fifty endpoints, most of them small microcontrollers on CAN or LIN with no room for a second image, reached through a gateway, on a battery that must still start the car afterwards. The single-device update problem is solved. The campaign problem is not.

Multi-ECUCAN · CAN FDLIN · FlexRayAutomotive EthernetUDS · DoIPDeltaR155/R156
ShareLinkedInXEmail
One campaign, from release to a vehicle that still starts
FASTSTREAM TECHNOLOGIESFIG. 01 · AUTOMOTIVE OTAOTA backendcampaign + rolloutSigned deltaintegrity keyVehicletelematics gatewayOTA to carCAN · LIN · FlexRayBody ECUPowertrainADAS ECUslot Arunningslot Bnew imgrollback onfailed bootEvery flash lands in a spare bank. The ECU boots the new image; if it fails, it rolls back to the known-good one — so the car always starts.
THE ENDPOINTS

Three classes of target, and they behave nothing alike.

A campaign has to accommodate all three at once. Designing for the easiest class and retrofitting the others is the common and expensive mistake.

Update targets in one vehicle
ClassWhat it runsHow it updates
High-performance computeLinux or Adaptive AUTOSAR on a domain or zonal controllerA/B partitions, atomic switch, rollback — closest to conventional device update
Classic ECU on CANClassic AUTOSAR or bare-metal on a microcontroller, 256 kB to 4 MB flashFlash bootloader entered over UDS; erase-then-write, usually with no room for a second image
LIN nodeSmall actuator or sensor node behind a CAN master, often 20 kbit/sReprogrammed through its master where supported at all; frequently excluded from campaigns entirely

The gateway is the only node with enough memory to stage images, which makes it the campaign engine whether or not it was specified as one.

How a firmware image reaches each ECU across the in-vehicle networks
FASTSTREAM TECHNOLOGIESFIG. 02 · AUTOMOTIVE OTAOEM backendcampaign · signingcellularTelematics (TCU)modem · resumable dlinternalCentral gatewaystages · untrustedPowertrain zoneFlexRay · 10 Mbit/sECUECUChassis & safetyCAN FD · ≤5 Mbit/sECUECUBody & comfortClassic CAN · 500 kbit/sECUECUA firmware image rides cellular to the telematics unit, is staged by the gateway, then distributed to each domain controller over the bus its ECUs speak.
THE NETWORKS

The image has to cross four kinds of bus, and each one fights back differently.

A campaign is only “over the air” for the first hop. Inside the vehicle the image is forwarded from the gateway down through a tree of buses, and the bus a node sits on decides how — and how fast — it can be reprogrammed. Designing the campaign for the Ethernet-class nodes and discovering the FlexRay and LIN nodes late is the expensive mistake.

In-vehicle networks and how firmware crosses each
BusTypical rateWhere it sitsHow an image reaches a nodeWhat constrains it
Automotive Ethernet100 Mbit–1 Gbit/s (100/1000BASE-T1)Backbone: gateway to domain and zonal controllersDoIP (ISO 13400) straight to high-compute nodes; large images travel hereOnly high-end nodes are wired to it; not every ECU can be reached directly
CAN FD1–5 Mbit/s data phasePowertrain, body and comfort domainsUDS over ISO-TP (ISO 15765-2) into a flash bootloaderStill far slower than Ethernet, and most classic ECUs have no second bank
Classic CAN500 kbit/sLegacy ECUs and diagnosticsUDS over ISO-TP, erase-then-writeBandwidth sets the campaign in hours; framing and flow-control overhead is large
FlexRay10 Mbit/s, time-triggeredChassis, braking, steering — safety-critical controlUDS in a reserved slot; the flash is scheduled around the static communication cycleThe deterministic schedule must be preserved; reprogramming windows are tight and planned
LIN~20 kbit/sActuators and sensors behind a master ECUReprogrammed through its CAN or CAN FD master node, where supported at allToo slow for OTA at fleet scale; frequently deferred to a service visit

FlexRay is where OTA most often breaks down: the nodes are safety-critical, the bus is time-triggered, and the reprogramming slot has to be engineered into the schedule rather than assumed. It is the opposite of a best-effort download.

UDS reprogramming of one ECU, over CAN FD or DoIP (ISO 14229 with ISO 15765-2)
FASTSTREAM TECHNOLOGIESFIG. 03 · AUTOMOTIVE OTA1Default sessionentry2ProgrammingUDS 0x10 023Security accessUDS 0x274Request downloadUDS 0x345Transfer dataUDS 0x366Transfer exitUDS 0x377Checksum / routineUDS 0x318ECU resetUDS 0x11One ECU, reprogrammed — ISO 14229 (UDS) over ISO 15765-2, on CAN FD or DoIP.
WHAT IS ACTUALLY HARD

Eight problems, and none of them is the download.

CAMPAIGN FLOW

From release to a vehicle that still starts.

01

Release and compatibility

Images signed, versions registered, and the dependency matrix established across the affected set. A release is a combination of versions, not a file.

02

Distribution

Delta packages against each vehicle's known base, delivered over cellular with resumable transfer and integrity checked on arrival.

03

Staging at the gateway

The gateway holds the images and verifies what it can, but is not trusted to be the only thing that verifies.

04

Preconditions and consent

Ignition, motion, gear, battery charge, fault state and driver consent. A campaign that cannot meet its preconditions waits rather than proceeds.

05

Reprogramming

Each ECU entered into its flash bootloader over UDS, erased and written, with the bootloader itself untouched. Signature verified by the target before the application is marked valid.

06

Verification and activation

Version readback across the whole set, checked against the matrix. Activation only when every member is where it should be.

07

Reversion or completion

Either the set is complete, or the affected members are written back to their previous images and the vehicle is left in a combination that was tested.

08

Record

Software versions per vehicle retained for type approval and for the next delta to have a known base.

SECURITY AND HOMOLOGATION

Update stopped being a feature and became a type-approval requirement.

WHERE THIS APPLIES

Industries this serves.

COMMON QUESTIONS

What engineers ask about this.

01

Why is automotive OTA harder than updating a phone?

A phone is one endpoint with spare flash and mains power. A vehicle is fifty to a hundred and fifty endpoints, most of them small microcontrollers on CAN or LIN with no room for a second image, reached through a gateway, on a battery that has to start the car afterwards. The single-device problem is solved; the campaign problem is where the difficulty is.

02

How are ECUs without A/B partitions updated safely?

The update is destructive — erase then write — so safety comes from the flash bootloader, which is locked, never erased, and always able to re-request an image. If power is lost mid-write the ECU has no valid application but can still be recovered over the bus, which is the difference between a retry and a workshop visit.

03

How long does a multi-ECU campaign take?

Bus bandwidth sets it. Classic CAN at 500 kbit/s delivers considerably less than its headline once diagnostic framing and flow control are counted, so a megabyte-class ECU takes minutes and a thirty-ECU campaign can take hours. CAN FD helps without eliminating the constraint, which is why delta updates matter.

04

Can LIN nodes be updated over the air?

Sometimes, through their CAN master where the design supports it. At typical LIN rates, reprogramming is slow enough that many programmes exclude LIN nodes from campaigns and handle them at service instead. That is a decision to take deliberately at architecture rather than discover during a rollout.

05

What happens if one ECU in a campaign fails?

The campaign is a transaction across a version combination, not a queue of independent updates. If a member fails, the affected members are written back to their previous images so the vehicle is left in a combination that was actually tested. Without A/B that means reflashing, so the bus time is budgeted twice.

06

Why must each ECU verify its own signature?

Because if only the gateway verifies, a compromised gateway can write anything it likes to every ECU behind it. Verification at the target makes the gateway untrusted infrastructure rather than a single point of total compromise.

07

Is over-the-air update a regulatory requirement now?

In adopting markets, yes. UNECE R156 requires a software update management system for type approval and R155 a cybersecurity management system, with ISO/SAE 21434 as the engineering practice underneath. Update capability moved from a product feature to a homologation obligation.

08

How is firmware pushed to a FlexRay ECU?

Over UDS, like any other ECU, but the transfer has to fit the time-triggered schedule. FlexRay reserves communication slots in a static cycle, so the reprogramming traffic is planned into a slot rather than sent best-effort, and the node’s deterministic behaviour has to be preserved throughout. Because FlexRay carries chassis and braking functions, the preconditions around flashing it are stricter than for a comfort ECU, not looser.

09

Where do Automotive Ethernet and DoIP fit?

Automotive Ethernet (100/1000BASE-T1) is the backbone between the gateway and the domain or zonal controllers, and DoIP (ISO 13400) carries UDS over it. Large images move here quickly, which is why high-compute nodes update in a fraction of the time a classic CAN ECU does. The image is then forwarded down from the controllers onto CAN FD, CAN, FlexRay and LIN, so a campaign mixes a fast backbone with slow leaves in the same transaction.

KEEP READING

Related work.

BUILD WITH FASTSTREAM

Bring us the difficult part.

Tell us the specification, the constraint and the deadline. Programmes that cross silicon, radio, embedded and AI are where Faststream is strongest.