Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Embedded & IoT QAMiddleSpecialistTest design

What should an interrupted firmware-update test matrix include?

Answer

Interrupt download, validation, erase, copy, swap, first boot and confirmation using lost power, reset, lost network and corrupt data. Verify the old image remains bootable until the new one is validated, retries are bounded, progress metadata is consistent, and the device either resumes safely or rolls back. Include low storage, low battery and multi-image dependencies.

Strong answer includes

  • covers every update phase
  • requires a bootable recovery path
  • includes integrity, capacity and dependency failures

Practical example

An OTA update test suite covers download interruption and power loss, but nobody tests what happens when the battery drops below the safe-write threshold exactly during the image-swap phase. In the field, that exact scenario leaves a device with a half-swapped bootloader pointer, bricking it — a gap the test matrix closes after the incident by adding a battery-level fault injection at each update phase.

#embedded#firmware-update#ota#recovery

Sources

MCUboot design documentationMCUboot · Firmware image validation, secure boot, update swaps, rollback and downgrade protectionNIST IR 8259A — IoT Device Cybersecurity Capability Core BaselineNIST · IoT device identity, configuration, data protection, interface access, software update and security-state capabilities