Embedded engineering · Engineering notes

Four cores do not give you four isolated systems.

How to review memory, timing and shared resources when safety-related and other software share a controller.

Aceman engineering4 min read
In this guide
Review the shared resourcesLogical responsibilities, not a depiction of a confidential controller design.
  1. 01
    Memory

    Every writer and permitted region

  2. 02
    Timing

    Deadlines under shared load

  3. 03
    Communication

    Ownership, freshness and failure

  4. 04
    Common dependencies

    Clock, reset, power and privileged services

Start with the paths a fault can take

Infineon’s AURIX guidance discusses interference through data, time and resources. That gives a useful structure for an architecture review: who can write each region, who can consume each shared resource, and what happens when a component stops responding? A core diagram alone does not answer those questions. Begin with the safety requirements and the actual dependencies, including startup code, interrupts, DMA and privileged drivers. Keep platform-specific assumptions separate from general software boundaries.

References: Infineon AURIX TC3xx: functional safety application note

Follow every writer, including DMA

A task’s memory permissions are only part of the story. List CPU, DMA and peripheral access paths to shared buffers and configuration registers. Identify which protection mechanisms govern each access and who can reconfigure them. Review the setup sequence as well as the steady state: there may be a period before the final permissions are installed. The acceptance evidence should show the configuration used on the target and the response to an attempted access outside the permitted region.

Measure timing with the other cores busy

A task can meet its deadline in isolation and miss it when another core uses a shared bus, memory path or peripheral. Use realistic contention cases when measuring the application, and include interrupt and driver behaviour. Measurement supports the argument but does not automatically establish a worst-case bound. Explain the workload assumptions, limits on other users of the resource and the monitoring that detects violations. A nominal CPU-utilisation figure is not enough to establish timing independence.

References: Infineon AURIX TC3xx: functional safety application note

Treat inter-core messages as interfaces

For each shared message or buffer, define the producer, permitted consumer, ownership change, freshness rule and behaviour when a writer stops halfway through. A value inside its numerical range may still be stale or belong to the previous operating mode. Review how sequence information and timestamps are generated and checked, including their wraparound and reset behaviour. The mechanism depends on the data and hardware. A mutex by itself says little about freshness or recovery.

Look beyond partitioning to common dependencies

Freedom from interference and common-cause analysis are related concerns, but they are not interchangeable. Separate tasks may still rely on one clock, power domain, reset path, privileged service or erroneous shared configuration. Infineon distinguishes cascading failures from failures with a common cause. Use that distinction to ask which assumptions can fail together. A partitioning mechanism can limit one component’s effects without making the whole system independent.

References: Infineon: freedom from interference

Make the architecture review reproducible

Keep the task and interrupt allocation, memory map, access-control configuration, shared-resource ownership and fault-response plan under version control. Link checks to the build and target configuration that were actually tested. When a new diagnostic feature adds DMA, interrupts or bus traffic, revisit the affected argument. The review table below is our proposed starting point. Specific verification methods and acceptance criteria must come from the programme, its safety plan and the hardware documentation.

AT THE DESIGN REVIEW

Evidence to ask for in a multicore review

A useful result links a claim to a configuration and a test or analysis.

Memory boundary

CheckWhich masters can write the protected region?

Evidence to keepAccess configuration and unauthorised-access response.

Timing boundary

CheckWhat competing load was assumed?

Evidence to keepTiming evidence, assumptions and violation handling.

Message boundary

CheckWhat if the producer resets during an update?

Evidence to keepConsumer behaviour for partial, stale and restarted data.

Shared service

CheckWho can change protection or reset other software?

Evidence to keepPrivilege ownership and failure-propagation analysis.

Sources and editions

Checked on 11 November 2026. Links support the technical discussion; the review examples are Aceman’s engineering analysis.

  1. Infineon AURIX TC3xx: functional safety application note Public manufacturer guidance
  2. Infineon: freedom from interference Manufacturer explanation of cascading and common-cause failures
  3. ISO 26262-6:2018: software development Published standard; public scope and edition status

Related experience: see the project and Aceman’s responsibility

Written by Aceman

UK software engineering across embedded systems, AI infrastructure and applications. Meet our founder and see his experience.