Fifteen firmware architecture anti-patterns, each with a measurable tell you can run today: a grep, a runtime stat or a scope trace, before the fix gets costly.
Tag: FreeRTOS
How to Design a Production-Grade Firmware Architecture
A production firmware architecture built end to end on STM32H7: task table, memory map, ownership matrix, dependency rules and error propagation.
Firmware Architecture Interview Questions: 100 Q&A for Senior and Staff Engineers
One hundred firmware architecture interview questions and answers across system architecture, RTOS vs bare-metal vs Linux, OTA updates and rollback, and bootloader design and secure boot.
FreeRTOS Semaphore vs Mutex on STM32: Ownership, Priority Inheritance, and Why They Are Not Interchangeable
Most FreeRTOS synchronisation tutorials treat semaphores and mutexes as two flavours of the same thing — a binary flag you acquire and release. That framing
FreeRTOS Queues on STM32: Copy Semantics, the ISR Boundary, and the Anti-Patterns That Cause Silent Data Loss
Most FreeRTOS queue tutorials stop at xQueueSend and xQueueReceive — the two calls that were never the hard part. They show you a producer task,
Event-Driven Firmware Architecture
Most write-ups on event-driven firmware stop at the conceptual layer: events decouple modules, a queue holds them, a dispatcher routes them. That part is easy
Hierarchical State Machines (HSM) in C for Telecom and RF Firmware
In telecom, RF, SATCOM, and industrial communication products, firmware coordinates dozens of subsystems that all run at once: PLL lock supervision, thermal protection, VSWR monitoring,
ISR Integration — ISR-safe APIs, the syscall-priority boundary, and deferred interrupt processing
Previously: Semaphore vs Mutex | Next: Heap Management Why ISRs Are Different — The One Rule You Cannot Break An Interrupt Service Routine runs outside