Most product families start the same way. One product, one firmware. Then a variant, copied from the first and adapted. Then a new board, a new radio, a new display. Ten years later the company maintains several firmwares that do broadly the same thing, each with its own bugs, its own build and its own update mechanism.
At some point the decision is taken to stop. The next generation will share a common platform: reusable modules, product-specific adapters, one way to update every device. It is the right decision. It is also the point where the most expensive mistakes are made, because module boundaries, RTOS and MCU architecture chosen now will be inherited by every product that follows.
The Cyber Resilience Act adds a deadline to that decision. From 11 December 2027, products with digital elements placed on the EU market must meet its essential requirements, secure updates included. A platform designed today will ship into that regime.
This article sets out what a firmware architecture audit should cover before the platform work starts, how to run it, and what it should deliberately leave out.
The Business Challenge Behind a Firmware Platform Move
The reasons for a platform are clear. The obstacles are usually hidden in the existing code, and they are not all technical.

Every variant is a new project.
Common functions have been copied and modified product by product. Nobody can say with confidence which blocks are truly shared, which are product-specific and which are duplicates that drifted apart.

The HMI is wired into the control logic.
Menus, parameters and error reporting call control functions directly and share their timing. A richer display means touching code that was validated, and sometimes certified, years ago.

Technology was chosen product by product.
Different RTOS versions, vendor SDKs and connectivity stacks, each a sound choice at the time. A platform needs one set of choices, and the switching cost has to be known before it is made.

Security and updates were designed per product.
Each product has its own bootloader, keys and update path. Under the Cyber Resilience Act, the platform has to provide secure boot and signed updates by design, for every product built on it.
The Technical Solution: 4 Areas a Firmware Architecture Audit Should Cover
A useful audit works on all four areas at once, because the answers depend on each other. Where the HMI sits decides the MCU partitioning. The MCU partitioning decides how updates travel. The update path decides what the CRA assessment will find.
1. Modularity: What Is Common, What Is Specific, What Is Duplicated
The audit starts by rebuilding each firmware from source on a clean machine and recording SDK and RTOS versions and memory budgets. A firmware that cannot be rebuilt reliably is the first finding.
Then the architecture of each firmware is recovered as it is, not as the documentation says it is: layers, components, interfaces and dependencies. Comparing the products block by block shows what a platform can share, what must stay product-specific behind an adapter, and where duplicated code has diverged.
Two points are easy to miss. Safety-relevant software has to be mapped early, because a module boundary that cuts through certified code can force a recertification. And build, test and CI maturity matter as much as the architecture: a platform without unit tests and hardware stubs will not stay modular for long.
The target is then defined as two or three modular architecture options, compared against criteria agreed with your team, recertification impact included. Testing each option against one hypothetical new variant shows quickly which one actually reduces work.
2. HMI: Find the Boundary
Look at how the HMI is integrated today (display, menus, parameters, error reporting) and how a change to it reaches a product: tools, workflow, who validates it. Then find what limits a more advanced screen. It is usually one of four things: control timing, memory, the MCU, or display drivers written for one panel.
Decoupling is a placement decision. The HMI can stay on the same MCU behind a clean interface, or move to a separate processor. Either way, the deliverable that matters is the HMI interface itself: the commands, parameters, events and states exchanged with the control firmware. Once that is defined, the screen can evolve without reopening the control logic.
3. Technology Choices: RTOS and MCU Partitioning on Evidence
Platform decisions are often framed as FreeRTOS against Zephyr. Both are sound. The useful question is which one fits your MCUs, your vendor SDKs, your certification constraints and your team. Compare them on footprint on your target MCUs, SDK and driver support, impact on existing certifications, build system and the real complexity of migrating your code.
MCU partitioning deserves the same care. A single MCU is simpler and cheaper. A dual-MCU design, with a power or control board and a separate communication and wireless processor, isolates the control function and lets the connectivity side evolve on its own. It also changes how updates must work: the control MCU is then updated through the connectivity MCU, and the trust chain has to cover both.
The output is a comparison table with the evidence behind each choice, not a preference.
4. Cyber Resilience Act and Secure Updates: Map the Trust Chain
Start by agreeing which products and variants are in scope and how each is likely to be classified under the Act. Some products will be out of scope or covered by sector rules. The others fall into the default, important or critical categories, and the category decides the conformity route. Then list the standards that apply and their status. Products with a radio interface have had to meet the cybersecurity requirements of the Radio Equipment Directive (EN 18031 series) since 1 August 2025; from 11 December 2027 those requirements are replaced by the Cyber Resilience Act.
The core of the work is the update and trust chain of each product as it works today: signing, keys, factory provisioning, bootloaders, rollback, and updates relayed through a gateway or a second MCU. A gap matrix then records each applicable requirement, the evidence reviewed or still missing, and the associated risk.
For the target platform, the audit defines a secure update concept for single- and dual-MCU products, and the CRA requirements built into the architecture: secure boot, signed updates, key management, and separation of connectivity from control. Our guide to Cyber Resilience Act requirements covers the deadlines and classification in more detail.
How the Audit Runs: Assess, Define, Prioritise
The four areas are worked in three steps, and each step ends with a deliverable your team can review.
- Assess the current state. A current-state assessment of the firmwares (architecture, comparison, HMI integration, technologies in use, safety-relevant software, test maturity) and a separate CRA and secure update assessment with the gap matrix.
- Define the target. A target architecture: module boundaries and interfaces, HMI included, technology recommendations, the secure update concept and the CRA requirements built in. It opens with a short summary of the current and proposed architectures, for readers who will not go further.
- Prioritise actions. Recommendations for the existing products and for the new platform, each with its rationale, dependencies and the decisions needed to move forward.
A weekly technical review with your engineers keeps the audit grounded. Drafts are discussed as they emerge, not unveiled at the end. If the audit finds a vulnerability, it leaves the weekly review: it is reported within 24 hours to a named security contact and handled in a separate, restricted process.
What a Good Audit Leaves Out
An audit is useful because it is bounded. Ours does not include firmware development or refactoring, implementation planning and cost estimates, an RTOS migration, production security implementation, a formal CRA conformity assessment, penetration testing or a full threat model, or product recertification. Each of those is a project in its own right, and each is better scoped once the audit has given you the facts.
The recommendations are technical advice based on the evidence available. The decisions, and the regulatory accountability for the products, stay with you.
Where AI Helps, and Where It Does Not
Recovering the architecture of several large firmwares by reading code alone takes weeks. AI-assisted exploration shortens that considerably: mapping call graphs, finding duplicated blocks across products, tracing how a parameter travels from the HMI to the control loop.
It does not replace judgement. Every finding is checked by an engineer against the code before it reaches a deliverable. AI is used only with services whose terms exclude training on submitted data, under confidentiality conditions agreed with you in advance. Content produced during the audit, AI-assisted or not, is handled like any other deliverable.
Results: What a Firmware Architecture Audit Gives You
A shared picture of the existing products. One factual description of how each firmware is built, which your architects, product owners and management can all work from.
Platform decisions taken on evidence. Module boundaries, RTOS and MCU partitioning chosen with their trade-offs written down, before the first platform product commits to them.
A CRA position you can plan around. Which products are in scope, what evidence exists, what is missing, and what the platform must provide so that new products are compliant by design.
An ordered list of actions. For the products on the market today and for the platform, with their dependencies and the decisions needed to start them.
Technology Stack
Category | Technologies |
Firmware and RTOS | C, C++, FreeRTOS, Zephyr, vendor SDKs (ST, Espressif), bare-metal |
Architecture | Layered and modular architectures, hardware abstraction, product adapters and configuration, single- and dual-MCU partitioning |
HMI | Embedded displays, LVGL, HMI–control interface definition |
Connectivity | BLE, Wi-Fi, Thread, sub-GHz radio, gateways |
Security and Updates | Secure boot, MCUboot, signed firmware, key provisioning, rollback, SBOM |
Regulation and Standards | EU Regulation 2024/2847 (CRA), Radio Equipment Directive and EN 18031, IEC 62443 |
Avel Technologies audits and engineers embedded firmware for manufacturers of connected products, from the first review of an existing codebase to the platform that replaces it. Our team brings embedded software, HMI, connectivity and cybersecurity specialists together, with hands-on FreeRTOS and Zephyr experience. Learn more about our embedded software development, applications and user experience and Cyber Resilience Lifecycle Services.
Working on something similar?
Our embedded engineers can review your architecture, compliance gaps or delivery roadmap and tell you where to start.
Prefer email? info@aveltechnologies.com



