Software Testing / Learning brief

Tom cuts the power to the lamp in the middle of an update

What this means in plain language

Leo's Daily List desk lamp gets updates over the air. A flight simulator story shows how Tom tests it on a laptop, on a bench and with power cuts, and why an update that keeps only one copy is risky.

Understand the full idea, step by step

A flight simulator keeps the real controls and fakes the sky. The pilot can face a storm without risking a plane, and the trainer can make the same storm again.

Leo has built the Daily List lamp. It glows green or amber and updates itself over a wireless link. Tom must test it, and he starts by asking what happens if the power fails halfway through an update.

Evidence & review

REVIEWED 2026-10-18

The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.

Embedded and hardware-in-the-loop testing as taught in this academy, with an invented lamp. The counts come from a toy model of update rules that was run for this lesson.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The flight simulator is a teaching picture, and the model cuts power only between steps.

Sources for this brief — 5 sources
  1. Market practice

    Hardware-in-the-loop vs software-in-the-loop (OPAL-RT) ↗ — OPAL-RT Technologies · Software-in-the-loop runs the software in a fully virtual setup, usually early and cheap; hardware-in-the-loop connects a real control unit to a simulation of its sensors and the parts it drives in real time and finds timing and hardware limits that simulation misses (search excerpt, page not opened)

    Says software-in-the-loop runs the software in a fully virtual setup, usually early and cheap, and hardware-in-the-loop connects a real control unit to a simulation of its sensors and actuators in real time, finding timing and hardware limits that simulation misses. Practitioner or vendor guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    What are model-in-the-loop, software-in-the-loop, processor-in-the-loop and hardware-in-the-loop tests, and how do they fit with model-based design (MathWorks Answers) ↗ — MathWorks · Four test steps with growing realism: the model alone, the code on a computer, the code on the target chip, and the chip wired to a simulated world; hardware tests show effects such as delay on a real signal path (search excerpt, page not opened)

    Describes four test steps with growing realism: the model alone, the code on a computer, the code on the target chip, and the chip wired to a simulated world. Says hardware tests show effects such as delay on a real signal path. Vendor answer page. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    OTA Testing 101: the ultimate guide (Memfault) ↗ — Memfault · Over-the-air update testing should include incomplete downloads, corrupt files and power loss during install, and should check recovery and rollback (search excerpt, page not opened)

    Says to test incomplete downloads, corrupt files and power loss during an update, to roll out in stages and to keep a rollback ready. Vendor blog. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Market practice

    Designing firmware for secure over-the-air updates without bricking your device (Bytesnap) ↗ — Bytesnap · Power loss during install is the usual cause of one bricked device; dual-bank (two copy) updates are the baseline and a factory fallback image helps when both copies fail (search excerpt, page not opened)

    Says power loss during install is the usual cause of one bricked device, that dual-bank (two copies) updates are the baseline, and that a factory fallback image helps when both copies fail. Engineering blog. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  5. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

Learn this properly

START HERETesting embedded software: simulators, benches and real hardwareTest device software in steps: on a laptop, on a bench with the real chip and a fake world, then on the real device. Cause faults on purpose and cut power mid-update.Opens at L0 Explain simply · about 20 min

Related briefs

Tom and the knife that cuts

Reminders in Daily List pass every test, yet Lily is not happy. A good knife shows three questions to ask of any feature: is it all there, is it right and does it suit the job it has to do.

READ BRIEF