PlatformsFaststream SiliconFaststream RadioFaststream VisionConnected EdgeFaststream SecureMobility & Rail
ProductsSemiconductor IPWireless & RANEdge & GatewaysTracking & IdentificationSoftware & FrameworksConnected Systems
TechnologyRTL to GDSIIVerification methodologyDFT and silicon testLow-power designMixed-signal integrationDesign enablement5G 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 TrackingAutomotive & MobilitySmart InfrastructureSecure IdentityWireless & SatelliteSmart 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 DesignFPGA DesignFPGA-to-ASIC ConversionAnalog, Mixed-Signal & RFHardware & High-Speed PCBEmbedded SoftwareCloud, OTA & Device ManagementManufacturing TransitionHow we engage
InsightCase StudiesKnowledge CenterWhite PapersGlossaryNewsletterResources & Support
CompanyAbout FaststreamEngineering ExcellenceLeadership & OrganisationHow We EngageQuality & ComplianceStandards & EcosystemPartners & EcosystemTrust CentreLocations & DeliveryNewsroom & MediaCareers
ContactStart a projectHow we engage
Talk to an engineer
APPLICATION NOTE

Designing over-the-air update before you ship

Over-the-air update depends on partition layout, bootloader design, signing infrastructure and rollback capability — none of which can be added to a fleet that has already shipped without a physical intervention. It is the clearest example of a decision that costs almost nothing in week three and is close to impossible in year two.

ShareLinkedInXEmail
Update schemes, decided when the flash part is chosen
SINGLE IMAGEDUAL IMAGE (A/B)Flash costLowestTwo full application slotsPower loss mid-writeBricks the unitRunning image untouchedRollbackNot possibleAtomic switch backBad release exposureThe installed baseA canary groupRetrofittableNoNo — decided at part selectionPartition layout, signing and rollback are fixed before the first unit ships.
THE DECISIONS

What has to exist before the first unit ships.

01

Partition layout

Enough flash for two application images, or a scheme that can install into the space available without a window in which a power loss bricks the device. This is a bill-of-materials decision as much as a software one, and it is made when the flash part is chosen.

02

Bootloader

Immutable first-stage code that can select between images, verify a signature and fall back. It is the one component that cannot itself be updated safely, so it is written conservatively and reviewed hard.

03

Signing infrastructure

Keys generated, stored and used in a process that will still be operable and still be defensible in year eight. A signing key on a departed engineer's laptop is a product that can no longer be updated.

04

Version and compatibility model

How the device reports what it runs, and which combinations of firmware, configuration and platform schema are permitted. Without this a staged rollout has nothing to stage on.

05

Rollback

A defined trigger and a defined path back. Automatic on a boot-loop or a health-check failure, because a device that cannot phone home cannot be told to revert.

06

Staged rollout

Canary group first, monitored against explicit signals, then progressive expansion. A bad release should reach fifty devices, not fifty thousand.

THE FAILURE MODES

What goes wrong, and when.

Power loss mid-write. The single most common way to brick a fleet. A dual-image scheme with atomic switchover removes it; a single-image in-place update does not, however careful the code is.

The partially-successful rollout. Sixty per cent of devices take the update and forty per cent do not, because they were asleep, out of coverage or on a battery too low to risk it. The fleet is now running two versions indefinitely, and the platform has to be correct for both.

The update that works and then does not. A release that boots fine and fails four days later under a condition the canary group did not encounter. This is why the monitoring window matters as much as the canary size.

The unreachable device. A unit that missed several releases and is now too far behind to take the current one. A migration path from any shipped version, not just the previous one, is worth designing early.

SCHEMES

Choosing an update scheme.

Update scheme comparison
SchemeFlash costPower-loss safeTypical fit
Dual image (A/B)Two full application slotsYes, with atomic switchoverAnything that can afford the flash; the default choice
Image plus recoveryOne slot plus a minimal recovery imageYes, with a degraded recovery pathCost-constrained devices where two full slots do not fit
Delta or differentialSmaller transfers, dual slots still neededYesConstrained links where transfer size, not flash, is the limit
In-place single imageLowestNoAvoid in fielded products; acceptable only with physical recovery access
COMMON QUESTIONS

What engineers ask before they call.

01

Why can over-the-air update not be added after launch?

Because it depends on flash partition layout, bootloader design and signing infrastructure that are fixed at the hardware and first-firmware stage. Adding a safe update path to devices already in the field generally requires physically reaching them.

02

What is a dual-image or A/B update scheme?

The device holds two application slots. A new image is written to the inactive slot, verified, and then activated by an atomic switch. If it fails to boot or fails a health check, the bootloader reverts to the previous slot. Power loss during the write leaves the running image untouched.

03

How large should a canary group be?

Large enough to encounter the conditions that matter and small enough that a failure is recoverable — often one to five per cent of a fleet, weighted toward variety of environment rather than raw count. The monitoring window matters as much as the size, because some failures appear days later.

FOUND THIS USEFUL?

Pass it on.

Written for engineers. Share it with one.

ShareLinkedInXEmail
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.