Which microcontrollers do you work with?
Common Arm Cortex-M families (STM32, Nordic nRF, ESP32 and similar). The approach — clean drivers and testable structure — carries across parts.
Start a projectFirmware development
Raptotype writes the embedded software that makes hardware do its job: bring-up, peripheral drivers, communications, and robust application logic on microcontrollers — built to be testable and maintainable, not just to demo once.
Start a projectWhat’s included
Hardware schedules are set by fabrication and assembly lead times, which are knowable in advance. Firmware schedules are set by how many surprises the hardware holds, which is not. That asymmetry is why firmware is so often the piece still being finished when everything else is ready.
Most of those surprises are not exotic. A sensor that returns plausible nonsense until it has been initialised in one particular order. A peripheral that behaves on the bench and fails at temperature. A radio stack whose real power consumption bears little relation to the figure in the datasheet. None of them are hard to solve once found. All of them are expensive when found late.
So the work starts where the electronics work starts: with the parts nobody can answer confidently yet. The riskiest peripheral gets a driver and a measurement first, while there is still room to change the hardware if the answer turns out to be a bad one.
Bring-up comes first — clocks, power rails under software control, a working serial console, and a debugger that connects reliably. It sounds trivial and frequently is not, and everything afterwards depends on being able to see what the part is actually doing.
Then board support and drivers: GPIO, timers, ADC, DMA and interrupts configured deliberately rather than copied out of a vendor example and left alone. Sensor and peripheral drivers over I²C, SPI, UART and analogue are written as separate, testable units, so each one can be exercised on its own before anything else depends on it.
Connectivity follows where the product needs it — BLE, Wi-Fi, or a serial protocol to a host — with error handling designed in rather than added after the first field failure. Links drop, packets arrive twice, hosts disappear mid-transaction. Firmware that assumes otherwise works right up until it is in the hands of a customer.
Then the application logic, the low-power behaviour, and the measurements that prove it: real current draw in each sleep state, checked against the power budget rather than against the datasheet.
Prototype firmware has an awkward habit of becoming product firmware. The demo works, the schedule tightens, and code that was only ever meant to prove a point ends up shipping. Writing it as though that will happen costs very little at the time and saves a rewrite later.
In practice that means drivers kept separable from application logic, hardware access behind interfaces so the logic can be exercised without a board attached, a build that someone else can reproduce from a clean checkout, and comments that explain why a register is set that way rather than restating what the line does.
It also means thinking about manufacture. A board that cannot be tested quickly on a production line will be tested slowly, or not at all, so a production test mode and a field-update path are treated as features of the firmware rather than as an afterthought.
Deliverables
Scope
FAQ
Common Arm Cortex-M families (STM32, Nordic nRF, ESP32 and similar). The approach — clean drivers and testable structure — carries across parts.
Yes. Firmware rescue — debugging, stabilising, and finishing a stalled codebase — is a common request; we start by mapping what works and what the real failure is.
Whichever the product actually needs. A sensor node that wakes, measures and sleeps rarely justifies a scheduler. A device juggling a radio stack, a display and a control loop usually does. The decision follows from what the firmware has to do at the same time, not from preference, and it is worth making early because it is awkward to reverse.
Yes, and the first thing you get is an honest read on the hardware. Firmware spends much of its life working around board-level decisions, so if something in the design will make the software permanently harder — a pin that cannot be reassigned, an over-loaded bus, no way to reset a peripheral — it is better to hear it at the start than to absorb it quietly for the rest of the project.
Hardware travels. For work on your design, having a unit on the bench with a debugger attached is worth a great deal compared with diagnosing faults over a call, so that is the usual arrangement. Where a board cannot leave your site, we work against it with a remote debug setup and keep any on-site time for the parts that genuinely need hands on the hardware.
That is the intention. You get the source, a build that works from a clean checkout, and documentation of the parts that are not self-evident. Where a team is taking it on, a handover session walking through the structure and the known rough edges is usually worth more than any amount of written documentation.