/blog
A/B FOTA for field devicesAn update that fails on a machine in a yard costs far more than the update. The design decision is what happens after the failure - and whether anyone has to drive there.
Firmware updates are presented as a convenience. On a machine in another country they are a risk management problem: if the new image does not boot, the unit is silent and someone has to go to it. A/B partitioning exists to make that outcome survivable.
How A/B works
The flash holds two images: one running, one candidate - or one known-good fallback. An update is written to the inactive slot and verified, then a switch is committed. If the new image fails to start or fails a health check, the unit returns to the previous slot automatically.
Resume matters as much as rollback
A cellular link drops during a firmware download. Without resume the transfer restarts from zero, which on a poor site can mean it never completes. With resume and a verified image before switching, the update is a series of small steps rather than an all-or-nothing event.
What to require in writing
- A/B (or dual-image) boot with automatic fallback on a failed health check.
- Resume after a dropped connection, with image verification before any switch.
- A version report the platform can read, so an inventory of firmware is a query rather than a site survey.
- A throttle, so a fleet is not updated in one wave.
The operational rule that saves fleets
Update a small group first, watch the version report, then continue. The hardware capability is only half of it; the other half is a process that never puts the whole fleet on an unproven image.
Next
DTU hardware · HTTP posting · AWS IoT Core · buying guide.
Data sheet, interface list and a payload example on request — contact us (ralph@gz-can.com · +86 130 7692 2278).