What Survives When the Update Client Breaks: Questions to Put to an OTA Middleware Vendor
Start by asking any OTA client vendor what the vehicle looks like when their daemon dies halfway through a delta apply. The rest of the datasheet matters less than that answer: streaming patches, SOME/IP distribution and AUTOSAR Adaptive integration. With limited lab time you cannot test every path. Each question below is worded to expose one specific failure, and the vendor has either engineered for it or has not.
Where does patch state live when power drops?
Streaming deltas in memory means the full image never has to be staged in flash. That is the point of the architecture, and it is also where it is exposed. If the patch is applied in place, a power cut at an arbitrary offset leaves a target that is neither the old image nor the new one, and the source blocks the delta depends on may already be overwritten. Ask three things: whether the client writes to an inactive bank, how often it saves a verified checkpoint, and whether resume rebuilds the decoder state from that checkpoint or starts the whole transfer again. A credible answer names the checkpoint granularity, for example a journaled marker after every 4 MiB of written output, and points to a fault injection campaign that cuts power at random offsets over many cycles. If the answer is that battery management prevents brownouts, the vendor has just told you the failure mode was never tested.
Who decides the new image is healthy?
Rollback is only as good as the signal that triggers it. Ask what the client counts as a successful boot: the process started, Execution Management reached its target state, or the application reported a functional self test. If success only means the process launched, an image that boots but never offers its SOME/IP services gets committed and the old bank is reclaimed, which leaves a broken image with nothing to fall back to. Then ask what happens when the updated component is the OTA daemon itself and it crashes on start. The only acceptable answer is a bootloader or hardware watchdog that rolls back without the daemon's help.
What happens when the distribution node disappears?
With SOME/IP distribution, one node, usually a gateway or the central compute unit, pulls the package and fans it out to the target ECUs. Ask what each target does when service discovery stops seeing the distributor mid transfer. It should keep the partial payload, time out cleanly and keep running the old image, not block on a subscription that never comes back. Also ask whether campaign state is held only on the distributor, because then a distributor reset orphans every target that was mid update. The stronger design keeps update state on each target and lets the distributor rebuild the campaign from what the targets report. This also touches compliance with cybersecurity and software update rules such as UN R155 and R156: an orphaned campaign leaves the fleet record showing one version while the vehicle runs another, which is exactly the gap an auditor looks for.
The shortlist rule
If the vendor cannot show, on your hardware or a representative board, a power cut at an arbitrary byte offset followed by a clean boot into the old image and a resumed transfer, treat streaming deltas as a risk you would be carrying rather than a benefit, and budget for full A/B storage instead, which by rough estimate costs about one extra application partition of flash per ECU.
Technical FAQ: Can these questions be settled without our own lab time?
Partly. Ask for the raw logs from the vendor's fault injection runs rather than a summary slide. You want offsets, cycle counts and the boot state recorded after each interruption. Logs that show only passes, with no failure ever found and fixed, usually mean the test was built to pass. Save your limited bench time for the distributor loss case, because it depends on your network topology and the vendor's test setup cannot reproduce it.