How professional firmware development prevents field failures

Picture a prototype that sailed through every demo and stakeholder review before going into production on schedule. A few weeks after launch, the returns start to arrive, with devices that lock up after a few days or batteries that drain in a week when they were specified to last a year.

When an embedded product fails in the field, the hardware usually gets the blame. More often than not, the root cause sits in the firmware, or in the gap between the firmware and the board it runs on.

If you lead a product development, innovation or R&D team, you need to know what good looks like, so you can spot risk early and ask the right questions of whoever writes your code.

This post covers the failures we see most often, why they happen, and what professional firmware development and quality assurance do to stop them reaching your customers.

Where embedded products go wrong

Most field failures aren’t exotic. They are the same handful of problems that recur across projects and industries. Each one is preventable, but only if someone is looking for it before launch.

What the customer sees

What’s usually going on underneath
Device freezes or locks up after hours or daysMemory leaks, stack overflow, race conditions between interrupts and the main loop, or no working watchdog
Battery life far shorter than the datasheet suggestedPeripherals left powered, the processor never reaching its deepest sleep state, or a radio polling too often
Unit won’t start properly after a brown-out or power cutNo defined power-on sequence, corrupted settings in flash, or a reset threshold set too close to the supply rail
Works on the bench, fails in the cold, heat or a noisy environmentTiming that only just meets spec, clock tolerance ignored, or no filtering on noisy inputs
A field update turns devices into bricksNo fail-safe bootloader, no image verification, and no way to roll back
Different behaviour between batchesFirmware relying on a specific component’s quirks, or a substituted part the code was never tested against

The common thread: none of these show up in a short demo on a clean bench supply. They tend to surface after long periods of use, across larger production volumes and at the edges of the operating envelope, which is where real customers end up using the product.

For a mid- to high-volume product, a single latent defect doesn’t cost you one repair. It can trigger a recall and months of extra support work, usually at the moment the product is meant to be proving its business case.

Software-hardware integration is where the risk really lives

Firmware and hardware are two halves of the same design. When they’re developed separately, by people who rarely talk, the risk collects in the interface between them.

We often see projects where the board was designed by one supplier and the firmware written by another, or by a single contractor working from a schematic alone. Each side does a reasonable job. Nobody owns the bit in the middle.

Good integration looks like this:

  • Firmware engineers are involved before the PCB is laid out. They can flag a pin assignment that blocks a low-power mode, a missing test point, or an interrupt line that should have been on a different port. A schematic change costs hours, whereas a change after the boards have been fabricated can cost weeks.
  • The hardware’s limits are written down and designed against. Supply tolerances, clock accuracy, sensor settling times and worst-case current draw are captured in the firmware design, not discovered during testing.
  • Power is treated as a system problem. Standby and low-power performance depend on hardware choices and firmware behaviour together. You can’t fix one without the other.
  • Bring-up is planned, not improvised. Each new board revision is checked against a defined set of tests, so you know whether a change in behaviour came from the hardware or the code.
  • One team owns the whole picture. Whoever is accountable for the product working should understand both sides well enough to make trade-offs.

If your hardware and firmware are coming from different places, ask who is responsible for making them work together. If nobody gives a clear answer, that’s your biggest risk.

Firmware quality assurance, much more than “it works”

“It works” is a demo result, not a quality standard. Professional firmware QA is about proving that every unit you ship keeps working in real-world conditions for its full intended life.

Here’s what to look for:

  • Requirements you can test against. Every behaviour, including failure behaviour, should be written down with a measurable pass or fail. “Battery lasts a long time” isn’t a requirement. “Average current below 15 µA in standby at 25 °C” is.
  • Version control and repeatable builds. You should be able to rebuild exactly the firmware that shipped on any given date. If the code lives on one engineer’s laptop, you have a single point of failure.
  • Code review and coding standards. A second pair of expert eyes catches problems testing misses. Recognised standards such as MISRA C, used where they fit, reduce whole classes of defect.
  • Static analysis. Automated tools find buffer overruns, uninitialised variables and other bugs before the code reaches hardware.
  • Testing at several levels. Unit tests for logic, hardware-in-the-loop tests for real peripherals, and system tests for the full product.
  • Testing at the edges. Temperature extremes, supply brown-outs, noisy inputs, long soak runs and repeated power cycling. This is where field failures hide.
  • Robust update and recovery. A fail-safe bootloader, verified images and a defined recovery path if an update goes wrong.
  • Defensive design. A properly configured watchdog, fault logging you can read back from returned units, and sensible behaviour when something unexpected happens.

When thousands of units are in the field, none of this is excessive, and it is often the difference between a product that copes with real-world use and one that keeps coming back.

Seven questions to ask your firmware partner

You don’t need to be an embedded specialist to judge whether a partner works to a professional standard. These questions will tell you a lot, and quickly:

  1.  How do you capture and test against requirements, including what happens when things go wrong?
  2.  Who makes sure the hardware and firmware work together, and when do they get involved?
  3.  Where does the source code live, and could you rebuild any released version today?
  4.  What does your testing cover beyond the bench: temperature, power disturbances, long- duration runs?
  5.  How are field updates protected against failure, and how does a unit recover?
  6.  What happens to the project if your lead engineer is off sick or leaves?
  7.  What evidence will I get to show my stakeholders that the product is ready?


Clear, specific answers suggest a mature process. Vague answers, or “we just test it thoroughly”, suggest the risk is sitting with you.

Question six matters more than it looks, because a project built around a single contractor is exposed the moment that person becomes unavailable. A specialist team gives you continuity, peer review and a broader range of experience to draw on.

Final thoughts…

Reliable products aren’t a matter of luck. They come from firmware designed alongside the hardware, tested against clear requirements and proven at the edges, not just on the bench.

That’s where the right partner earns its keep. Rather than selling you engineering hours, they should give the project enough structure that your stakeholders can see it is in safe hands.

At Ignys, firmware is developed as part of our 6 Stage Development Process, with hardware and software engineers working side by side from day one. Whether you need a complete product, a specific part of a project, or help recovering one that’s gone off track, we’ll give you clear direction and fast progress when the pressure is on.

Ready to cut risk and start progress?

If any of the failures above sound familiar, or you’d like a second opinion before a crucial launch, contact us today for a quick, no-obligation chat about your project.