Software Testing / Learning brief
Tom cuts the power to the lamp in the middle of an update
In simple terms / 01
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.
Complete lesson / 02
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 / 03
Evidence & review
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
- 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)
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.
- 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)
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.
- 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)
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.
- 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)
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.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
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.