HeapCrash / Design rounds / Fail-safe OTA for a cellular sensor

Fail-safe OTA for a cellular sensor

A battery-powered asset tracker on an STM32L4 with an LTE-M modem is deployed in shipping containers. You must design firmware updates over the air. Units are unreachable once shipped, the link drops often, and a bricked unit is written off.

What the interviewer wants

Constraints

If you ask the interviewer

How it's graded

The rubric a senior interviewer would use. Each item is scored 0 to 3 and weighted.

Flash layout and boot flowweight 3
Authenticity and integrityweight 3
Atomic switch-over and rollbackweight 3
Resumable, metered downloadweight 2
Power and battery awarenessweight 1
Validationweight 2

How to structure your answer

  1. Requirements and assumptions: the numbers that drive the design.
  2. Architecture: blocks, tasks, data flow, memory.
  3. Key decisions and trade-offs, with the alternatives you rejected.
  4. Failure modes and recovery.
  5. Testing and validation.

More design rounds

Write your design in five sections and get it graded against this rubric, with a follow-up question from the AI interviewer.

Answer this round