The full engineering story
The problem
Race teams wanted to change what their dash shows (pages, gauges, warnings, shift lights) without asking an engineer to rebuild firmware. The display had to read the car’s CAN bus in real time, stay smooth on small microcontrollers, and be updatable in the paddock without opening anything up.
Constraints
- Three display boards, two MCU families (Cortex-M7 running from QSPI flash, and STM32U5 with a 2D GPU), 800×480 panels.
- No extra wiring for updates: the CAN bus is the only way in.
- RAM was nearly full on the smallest board (99.9% at the start).
- The client reviewed every milestone; four formal review rounds.
What I built
A desktop designer (Qt 6/QML). Drag-and-drop pages with 22 widget types, DBC import with live signal decoding and simulation, an optional 28-node visual scripting editor for extra behaviour (sandboxed Berry, kept separate from the layout manifest), multi-language UI, and a licensing system with offline, signed tokens.
A manifest interpreter in firmware (Zephyr + LVGL). The designer does not generate code. It exports a compact, versioned, CRC-checked binary manifest, and the device loads it from flash at boot and builds the UI from it: widgets, bindings, pages and page rules. Layouts change without recompiling anything. It decodes up to 128 CAN signals plus 64 computed ones in about 0.5 ms per 16 ms frame.
Updates over CAN. Firmware and dashboards are flashed over the car’s existing bus using ISO-TP/SMP with MCUboot A/B slots. A new image that doesn’t confirm itself within 60 s rolls back automatically. LZ4 compression and protocol tuning brought a 3.25 MB update to about 55 seconds.
The interesting bug
Pages rendered at 12–14 fps on the GPU board, worse than expected. Profiling showed LVGL was silently falling back to software rendering for most draw calls. After reworking the render path (GPU-friendly draw ops, page flipping with partial redraws, -O2 where it mattered) the busiest pages went 14 → 26 fps and 12 → 40 fps, and frame times on one page dropped from 412 ms to 210 ms on the smallest board, while RAM use fell from 99.9% to 87.6%.
Result
A shipped, versioned product (v0.9) with Linux, Windows and macOS builds of the designer, released firmware for three boards, and a team that can now redesign their dash between sessions.



