If you're building a hardware product, you'll hear the word firmware constantly, and it's often lumped in with software in general. They're related, but they're not the same job. Firmware engineering is the work of writing the code that lives inside a device, talks directly to its chips and keeps it running reliably for years with limited memory, power and attention. When founders ask us what is firmware and why it takes so long, we usually start with the explanation below. It's the guide we wish every product team had before their first project.
1. What Firmware Is and Why It's Different
Code That Lives Inside the Hardware
Embedded firmware is the program stored in a device's flash memory that runs from the moment power is applied. It reads sensors, drives motors and displays, manages the battery, talks over Bluetooth or Wi-Fi, and decides when to sleep. Unlike an app on a phone, there's no operating system doing the heavy lifting underneath. The firmware often is the operating system, or sits directly on top of a small one. That's why firmware is usually considered part of the product's embedded systems design rather than a separate software project.
Tight Constraints Change Everything
A typical microcontroller might have 256 KB of flash and 64 KB of RAM. That's less than a single photo on your phone. Firmware has to fit in that space, respond to events within microseconds, run for years on a battery and recover by itself when something goes wrong, because nobody's there to restart it. Those constraints shape every decision, from data structures to error handling. Embedded software written without respect for them tends to work in the demo and fail in the field.
The Languages and Tools Firmware Engineers Use
Most firmware is written in C and C++, with some Rust appearing in newer projects. Engineers work with vendor SDKs, compilers and debuggers, and spend a surprising amount of time with hardware tools. A logic analyzer shows what's happening on serial buses, an oscilloscope shows signal timing and power behaviour, and a JTAG or SWD probe lets them step through code running on the actual chip. These debugging tools are as important to a firmware engineer as the editor.
2. What a Firmware Engineer Actually Does
Brings Up the Hardware and Writes Drivers
On a new board, firmware engineers are often the first to make it do anything. They set up clocks, memory and pins, write the board support package, and build device drivers for each part on the board. That means peripheral drivers for buses like I2C, SPI and UART, careful handling of interrupts, and a hardware abstraction layer that keeps the rest of the code independent of the specific chip. When a sensor returns garbage or a bus locks up, they're the ones with a probe on the board working out whether it's the code or the circuit.
Chooses Between Bare-Metal and an RTOS
Simple devices can run as bare-metal programming, with a main loop, interrupts and sleep. More complex products juggling a radio stack, a user interface and sensor processing benefit from an RTOS such as Zephyr or FreeRTOS, which splits work into tasks with priorities. Choosing between them, and designing how tasks communicate safely, is a core part of firmware architecture. A good architecture keeps the code understandable and testable. A poor one creates timing bugs that only appear once a week.
Handles Power, Wireless and Updates
Modern products add three hard problems. Low-power firmware decides how the device sleeps and wakes, which directly sets battery life. Wireless firmware configures BLE, Wi-Fi, Thread or cellular stacks and copes with real-world interference. BLE firmware in particular needs care with connection parameters and phone compatibility. Then there's the bootloader and OTA updates, so the device can be fixed and improved after it ships. Each of these areas takes real specialist experience to get right.
3. How the Firmware Development Process Works
Requirements and Architecture First
A solid firmware development process starts on paper. What must the device do, how fast, on what battery, with which connectivity, and what happens when things fail? From there, the engineer designs the architecture: tasks, drivers, memory layout, update strategy and how logs and errors are handled. This is also when firmware and hardware engineers should agree on pin assignments and test points. A few days here prevents months of rework later. We also decide early how the device will report what it's doing, through logs, error codes and crash dumps, because good diagnostics are what make problems in the field fixable instead of mysterious.
Iterative Development on Real Hardware
Firmware is usually written in stages, first on a development kit and then on custom boards as they arrive. Microcontroller programming at this stage is very hands-on: flash the board, measure, adjust, repeat. Regular code review catches bugs early and keeps the codebase consistent when more than one engineer is involved. We also keep the firmware buildable and runnable at every stage, so the client can see progress on real hardware instead of waiting for a big reveal at the end.
Testing That Goes Beyond "It Works on My Desk"
Firmware testing has several layers. Unit testing checks individual modules on a computer, without hardware. Integration tests run on the target board. Hardware-in-the-loop testing connects the device to automated rigs that simulate sensors, power cuts and radio conditions. Long soak tests run units for days to catch memory leaks and rare crashes. Products that skip these layers often ship with bugs that are very expensive to fix once devices are out in customers' hands.
4. Working With Firmware Engineers on Your Product
In-House, Freelance or a Firmware Development Company
Small teams often start with one engineer or a freelancer, which works well for focused tasks. As products add wireless, low power, security and updates, the range of skills needed gets wide. A firmware development company brings a team that's already solved these problems, along with the lab equipment to debug them. Many of our clients use us alongside their in-house engineers, taking on specialist areas or crunch periods.
What Good Firmware Engineering Looks Like
Good firmware is predictable. It logs useful information, handles errors instead of hanging, sleeps when it should, and can be updated safely. The code is documented and organised so another engineer can take it over. If your current firmware only one person understands, has no update path or crashes "sometimes", those are signs it needs a review before you scale production.
Questions to Ask Before You Start
Before hiring, ask candidates or partners what chips and stacks they've shipped on, how they test, how they handle OTA and security, and whether they can debug hardware with a scope and logic analyzer. Ask to see how they document their work. The answers tell you far more than a list of programming languages does, and they'll quickly show whether someone has real embedded firmware engineering services experience or only hobby projects.

FAQ: Frequently Asked Questions
Q: What's the difference between firmware and software?
A: Firmware runs directly on a device's hardware, usually a microcontroller, with tight memory and power limits. Software usually means applications running on computers or phones with a full operating system.
Q: Is firmware engineering the same as embedded systems engineering?
A: They overlap heavily. Embedded systems engineering covers both hardware and firmware, while firmware engineering focuses on the code running on the device.
Q: How long does firmware development take for an IoT product?
A: A simple sensor can take a few weeks. A product with BLE, low power, OTA updates and a phone app commonly takes several months, depending on requirements and testing.
Q: Can firmware problems be fixed after products ship?
A: Yes, if the product was designed with a reliable OTA update system. Without one, fixes usually mean recalls or manual reflashing.
Q: What skills should a good firmware engineer have?
A: Strong C, a solid understanding of microcontroller hardware, comfort with an oscilloscope and logic analyzer, experience with an RTOS and at least one wireless stack, and the discipline to test and document their work.
Q: Is Rust replacing C in firmware?
A: Not yet, but it's growing. Some teams use Rust for new modules where memory safety matters, while most vendor SDKs and stacks are still written in C.
Conclusion
Firmware engineering sits right where hardware and software meet, and it decides whether a device feels reliable or frustrating. It covers drivers, real-time behaviour, power, wireless, updates and testing, all inside very small chips. If you're planning a product and need experienced help, VelocityCreate provides embedded firmware engineering services for Nordic, ESP32 and STM32 platforms, from the first board bring-up to production releases. Explore our Embedded Firmware Engineering work, read more technical notes, or book a technical call to talk it through with an engineer.