Embedded software and firmware
Software that sits close to the hardware and has to run reliably for years.
Sound familiar?
- Your firmware has grown over the years without a clear architecture.
- New hardware needs new drivers and control software.
- Your team has no time for that extension.
What we do
- Embedded software in C++ (C++20) and C
- Bootloaders and boot chain
- CAN bus communication between controllers, sensors and actuators
- Motion control and real-time control
- Hardware/software integration and commissioning
- ROS for robotics and autonomous systems
What you get
- Working, tested software with source code
- Documentation of architecture and interfaces
- Test set-up and test results
Technology
- C++20
- C
- CAN
- ROS
- Embedded Linux
When an extra work package helps
A familiar picture at machine builders: the list of features wanted in the controller gets longer every quarter, while the software team is a handful of people who also handle the issues coming back from the field. The firmware has grown over the years, part of it was written by someone who has since left, and nobody is keen to touch the core. New features still get in, just more slowly each time.
In that situation we take over a clearly bounded piece of work. Think of integrating a new drive, rewriting a communication layer, or making a module testable. Your team stays the owner of the code and keeps sight of everything that changes.
How a fixed work package runs
- Scope and acceptance criteria. Up front we agree on what has to be done and how we demonstrate it: which behaviour, on which hardware, with which tests. A fixed price comes with it.
- Work in your repository. We work in your own version control and follow your branching model and coding style. No separate copy that has to be merged back later.
- CI with automated tests. Logic that can be tested apart from the hardware gets unit tests that run on every change. If there is no pipeline yet, we set up a simple one.
- Hardware-in-the-loop. Timing, bus behaviour and the interaction with real drives and sensors are tested on the real hardware, preferably automated on a test rig.
- Code review as a gate. No change reaches the main branch without review, where possible also by someone from your team.
- Handover. On delivery you get the code, the test results and documentation that lets your team carry on, plus a handover session.
Terms and approach are described under the fixed work package.
Motion control and real time
In machine control software, average speed matters less than predictability. A control loop that is on time almost always is not good enough. So we separate the time-critical part from the rest: no dynamic memory allocation and no blocking calls inside the control loop, fixed priorities, and logging or communication that cannot hold the loop up. Worst-case execution time is measured on the target hardware, not on a development PC.
Just as important is what happens when things go wrong: a sensor that drops out, a drive that does not respond, a message that arrives late. That behaviour has to be designed and tested on purpose. Our founder has written motion control software in C++ for industrial machines, including the operator software that goes with it.
Interfaces
Machines talk to the world around them over CAN, serial links and Ethernet. We treat every interface as a contract: message definitions kept in one place, protocol versions tracked, and clear behaviour on timeouts and invalid messages.
Working safely with AI coding agents
We use AI coding agents for writing tests, making sense of old code and routine refactoring. Fixed rules apply:
- Only local models or tools you have approved in advance.
- Your source code never goes to an online AI service without your written consent.
- Every change is reviewed and tested, exactly like hand-written code.
What that looks like in practice is described in Developing with AI agents.
Pitfalls we often see
- Testing everything only on the real machine, which makes every test scarce and expensive.
- Bus and protocol definitions scattered across the code.
- Refactoring without writing tests first, after which behaviour changes unnoticed.
- Treating the bootloader and update mechanism as an afterthought, while they decide whether you can update safely later. See also embedded Linux.
Frequently asked questions
Can you work with our existing, older firmware?
Yes. We usually start by putting tests around the part that has to change, so the current behaviour is pinned down before we modify anything. A full rewrite is rarely needed.
Do you work on site or remotely?
Both. Most development can be done remotely. For integration and tests on the machine we come over, or you provide a test rig.
Who owns the code afterwards?
You do. Code and documentation become your property. Licences of the open source components used are respected and recorded.