#Firmware
OTA with rollback: updating a fleet without travelling
What a two-partition update guarantees and what still depends on the project: infrastructure, planning and validation.
In short
With A/B partitions, the new firmware is written to the inactive partition and, if the device does not boot correctly with it, it returns to the previous version by itself. Planning, connectivity and validation still depend on each project.
What a remote update with rollback is
A remote (over-the-air, OTA) update sends the new firmware to the device over its network and applies it without a physical visit.
With rollback, if the device fails to boot correctly with the new version, it returns to the previous one by itself. The AITHA Core electronics base supports this update with A/B partitions and automatic rollback. An A/B update keeps two firmware copies:
New version is written
It goes to the inactive partition while the device keeps running the active one.
Reboot
On reboot the bootloader switches to the new partition.
Validation
If it boots and passes validation, the version is accepted.
Rollback on failure
If validation fails, the previous partition becomes active again.
What it offers the operator
Fewer site visits
Firmware arrives through the device's own connectivity.
Reduced risk
A failing version does not leave the device unusable; it reverts.
Traceability
A fleet can be updated in staged batches and verified after each one.
What it does not guarantee by itself
Automatic rollback returns the system to a known previous state, but it does not replace deployment planning.
Automatic rollback
- Known previous state
- Protects the individual device
- No physical intervention
Planning and support
- Test on a small sample
- Stage the batches by groups
- Verify connectivity
- Anticipate interruptions
- Operator support if an environment issue appears
Updates in practice
In an implementation using the AITHA Core technical datasheet, the project defines four things.
Distribution channel
How the firmware reaches the fleet.
Schedule
When, and in which batches, it is updated.
Validation criteria
What confirms a correct boot.
Failure procedure
What to do when a batch does not confirm a correct boot.
Actual over-the-air availability depends on connectivity and on the product configuration in each deployment. See the AITHA Core technical datasheet.
What the technical datasheet documents for AITHA Core
The AITHA Core technical datasheet documents remote updates within the multi-network connectivity of the Cat-1 LTE modem and Wi-Fi: the inactive partition receives the image while the active one keeps operating, and the bootloader decides which one runs at the next reboot. The process depends on the device connectivity being operational and on the firmware distribution channel defined per project.
It also documents the mechanisms that support updates:
Watchdog
Supervises the system and critical services. It is what detects a failed boot and triggers the return to the previous partition without intervention.
NVS persistence
Keeps configuration and state across reboots, so an update does not lose the device operational parameters.
Update in batches and verify
Automatic rollback protects the individual device, but a fleet is updated in batches.
Small first group
A first group validates the new version under real conditions.
Check
After each batch, devices are checked to confirm boot and connectivity.
Pause on failure
If a batch fails, distribution is paused and the version is reviewed.
Decide with data
The decision is fix or stay on the previous one; expansion follows the results.
The process does not guarantee that a new version has no issues; it guarantees the decision is made with data.
Plan the update of your device fleet
Tell us the application, volume and connectivity. We will indicate what AITHA Core covers and what your project must define.