Leaving Single-Bank Flashing Behind: What a Dual-Bank Fleet Migration Really Costs
In the older update stack most fleets still run, the ECU overwrites the only image it can boot from, and that one fact decides everything else. Every resilience feature added later, from signed metadata to staged campaigns, sits on top of it and keeps its failure mode. Moving to dual-bank A/B with separate signing roles removes that failure mode. You pay for it in flash, in key ceremony overhead and in a long tail of controllers that will never fit the new model.
Where the old stack breaks
A single-bank controller that loses supply voltage halfway through an erase cycle has no image to return to, and its bootloader usually falls back to a diagnostic mode that only a workshop tool can reach. Across a fleet this is not rare: cranking dips, a driver pulling the battery isolator and a low-voltage rail sagging on a cold start will all land inside a write window sooner or later. The legacy fix was procedural. Vehicles updated only when parked and on charge, which moved the risk into scheduling and stretched campaign completion across weeks. Signing has the same weakness, because one key signs both the image and the manifest. A backend compromise or an expired certificate therefore stops every campaign at once, and nothing on the vehicle can tell a stale but valid instruction from a current one.
What stays alive when a component dies
With a dual-bank layout, the new image is written into the inactive slot while the vehicle keeps running from the active one, and the boot flag flips only after verification passes. The new image must then confirm itself within a commit window. We set that window at 120 s from first boot so it covers bus enumeration and the slowest peer ECU coming online. If confirmation never arrives, the bootloader reverts to the previous slot with no server involvement. On the signing side, authority is split between an offline image repository and an online director, the pattern Uptane formalises, so a compromised director can reorder or withhold updates but cannot inject code the image repository never signed. That separation is what the type approval and process standards for software update management actually audit: the question is not whether you sign, but whether one compromised component can silently become the whole chain of trust.
The part that hurts
Doubling application flash on every controller in the update scope is the line item that gets a migration budget challenged, and it needs a direct answer. By our estimate it adds roughly 8 to 15 percent to the memory cost of a mid-range domain controller. Put that figure next to the measured cost of each field recovery event: workshop labour, towing and the warranty claim it generates. Post-quantum signatures add a smaller but real cost, because larger keys and signatures make metadata verification slower on low-end microcontrollers, and that time comes straight out of the commit window. The worst cost is the controllers that cannot migrate at all, typically older body and chassis ECUs with fixed flash and a bootloader nobody will requalify. For those, the gateway has to act as the redundant bank, holding the last known good image and reflashing over the local bus, which keeps them recoverable. Our rule: migrate an ECU to native A/B when its estimated field recovery cost, multiplied by its expected update count over the vehicle's life, exceeds the cost of the extra flash plus requalification, and otherwise leave it behind the gateway.
Where the risk moves next
Once rollback happens on the vehicle and signing is split, the remaining single point is the gateway, so the budget discussion should move away from flash per ECU and toward how many independent recovery paths the gateway itself gets, because that number, not the count of migrated controllers, decides how much of the fleet survives a bad campaign.
Technical FAQ: Can the legacy and new update stacks run side by side during the migration?
Yes, as long as the director knows the capabilities of every ECU and never sends a campaign that assumes rollback to a controller that cannot roll back. In practice that means mixed vehicles carry two campaign profiles: native A/B controllers update independently, and legacy controllers update only through the gateway's buffered path. Keeping both profiles costs extra validation effort, which you get back as legacy ECUs are retired.