This guide follows embedded firmware development from requirements to a tested handover: define behaviour against a specific board revision, test on target hardware against agreed pass criteria, and record the version delivered. Use this guide to plan or review a firmware project. For commissioned implementation work, see our embedded firmware development service.
Firmware development process
| Stage | What to confirm | What to record |
|---|---|---|
| Requirements and hardware | Which board revision will run the firmware? What should the device do in normal use and after a fault? | Board revision, required behaviours and pass criteria. |
| Firmware build | Which source revision and build settings produced the binary loaded on the board? | Source revision, build settings and binary version. |
| Target-board testing | Does that build meet the agreed criteria on the target board? | Board and firmware versions, test conditions, pass criteria and observed results. |
| Handover | Can the recipient rebuild the tested version and see which checks are still open? | Source, build instructions, test record and known limitations. |
What embedded firmware development covers
Embedded firmware development covers the software that runs directly on a product’s hardware: reading sensors and inputs, controlling outputs, managing power and timing, communicating with other devices, and handling the cases where something does not go as planned. It sits between the hardware design and the user’s experience. Hardware design decides what the product can do; firmware decides what it actually does, in which order, and how it recovers when conditions change.
That division matters because the two sides are often planned separately and then expected to fit together at the end. A board that was designed without a clear view of what the firmware must do — which pins are used, how much memory and processing time are available, how the device is programmed and updated — creates rework that looks like a firmware problem but started as a design decision. The reverse is also true: firmware written against an assumed board, rather than the board as built, will fail in ways that are hard to trace. Firmware development therefore starts with the hardware as it exists, not with an idealised version of it.
Settle the requirements and the hardware constraints first
Before code is written, four things need to be settled in plain language. First, what the product must do in normal use, and what it must do when something goes wrong — for example, on a power loss, a sensor fault, or a failed connection. Second, what hardware it runs on, including the exact board revision, so that firmware is never developed against a revision that is no longer current. Third, what the firmware must talk to: other boards, a phone or cloud service, a test fixture, or nothing at all. Fourth, how the device will be programmed, tested, and updated after it leaves the bench, because a product that cannot be reprogrammed reliably is difficult to support.
These points do not need to be a full specification, and not every detail needs to be settled in advance. But they do need to be written down and agreed, because every assumption left unstated becomes a decision the developer has to guess at later. When a project stalls, the cause is often not a difficult technical problem but a requirement that was never agreed: a behaviour that two people understood differently, or a constraint that only became clear once the hardware was built.
Version discipline: know exactly which firmware was tested
A prototype that works once is not yet a product, and the same is true of firmware. A build that works on one board, on one day, proves very little unless it can be identified and repeated. Version discipline means that every firmware build that is tested can be named: which source version it came from, which board revision it ran on, and which test was run against it. If a problem is found later, that record is what makes it possible to tell whether the problem is new, whether it was already present, and whether a fix actually changed anything.
This discipline also protects the handover. When firmware is handed over without a version record, the next person to work on it cannot tell which build was tested, which build is in the delivered boards, or whether a reported fault applies to the current version at all. Agreeing a versioning habit early — even a simple one, applied consistently — avoids a large part of the confusion that appears late in a project, when several builds, boards, and test notes are in circulation at once.
For a related check on the hardware side, see our debugging and redesign service.
Test on the hardware, and agree what counts as a pass
Firmware cannot be fully tested away from the hardware it runs on. Simulation and bench tests are useful, but they do not replace running the firmware on the actual board, with its actual sensors, power supply, and timing. Testing on hardware is where timing problems, power issues, and interactions between subsystems show up — the kinds of problems that do not appear when each part is tested in isolation.
Just as important as running tests is agreeing, before testing starts, what counts as a pass. “It works” is not a test result. A pass criterion states what was checked, under what conditions, and what result was required: for example, which functions were exercised, what inputs were used, and what the device was required to do in each case. Without that agreement, testing can go on indefinitely, or stop too early, because nobody has defined the point at which the firmware is good enough to ship. Writing the pass criteria down, even briefly, also gives the customer something concrete to accept — not a claim that the firmware is perfect, but a record of what was actually verified.
What is handed over: a tested version and its test record
At the end of firmware development, the handover should contain two things. The first is the tested firmware version itself, identified by version, with the source and build information needed to reproduce it. The second is the test record: what was tested, on which board revision, against which pass criteria, and what the results were, including any known limitations or items left for a later version.
That pair is what turns a working prototype into a product that can be supported. If a fault is reported later, the version and test record make it possible to reproduce the fault, check whether it was covered by testing, and fix it without guessing which build is in the field. If the product moves to a next build, the same record shows what needs to be re-tested and what can be carried forward. A handover without either part — firmware without a test record, or a test record without an identified version — leaves the next stage to work from assumptions, and assumptions are where most prototype time quietly goes.
If you are comparing providers, see how to choose an embedded firmware development partner. Share your board revision and the functions you want to develop or change when you discuss your firmware project.