Embedded Software SERVICE / 02

Embedded Software Engineering:
From Model to Production Code

Model-Based Design · AUTOSAR · SIL/HIL · ISO 26262

We develop, verify, and validate embedded control software across the full development workflow — from Simulink-based controller design and AUTOSAR architecture through SIL/HIL test campaigns, functional safety activities, and RTOS integration.

Model-Based DesignAUTOSARSIL TestingHIL IntegrationISO 26262RTOS

What We Do

Full-Stack Embedded Software
Development & Validation

Embedded software is increasingly the primary source of product differentiation — and the primary source of validation cost. Model-based design accelerates development by replacing hand-coded implementations with verified simulation models, while AUTOSAR architectures provide the standardised platform for software reuse. Our team covers the complete workflow from algorithm design through safety validation.

6Service Types
ASIL DSafety Capability
MIL–HILFull V-Cycle Coverage

Key Problems We Solve

Manual C code introducing undetected errors
AUTOSAR complexity delaying ECU integration
Software validation starting too late in the programme
Safety evidence incomplete at product release

6 Service Types

Our Embedded Software Capabilities

Select a capability to explore the methodology, deliverables, and tools in detail.

01

ANALYSIS TYPE / 01

Model-Based Design

Simulink · controller design · automatic code generation

Developing embedded control algorithms in Simulink and Stateflow — from plant modelling and controller design through simulation verification and automatic production code generation, eliminating manual coding errors and compressing development cycles.

Deliverables
Simulink Plant ModelController DesignMIL Verification ReportGenerated Production Code
Tools Used
MATLAB/SimulinkStateflowEmbedded CoderPolyspace

Key Aspects

ASPECT / 01

Plant & Environment Modelling

Building accurate dynamic plant models in Simulink — capturing mechanical, electrical, thermal, and fluid behaviour to provide the virtual environment for closed-loop controller development.

ASPECT / 02

Controller Design & Tuning

Designing and tuning feedback controllers, state machines, and supervisory logic in Simulink/Stateflow — iterating rapidly against the plant model to meet performance and stability requirements.

ASPECT / 03

Simulation Verification

Running model-in-the-loop (MIL) simulations to verify controller behaviour against requirements before any code is generated — catching algorithm errors at the lowest cost point.

ASPECT / 04

Automatic Code Generation

Generating production-quality MISRA-compliant C/C++ code from verified Simulink models using Embedded Coder — eliminating manual coding, reducing errors, and maintaining model-code traceability.

02

ANALYSIS TYPE / 02

AUTOSAR Architecture

Classic & Adaptive · BSW configuration · SWC design

Architecting and implementing AUTOSAR Classic and Adaptive software stacks for automotive ECUs — configuring BSW modules, defining the software component architecture, and integrating application software into the AUTOSAR runtime environment for target ECU hardware.

Deliverables
ARXML ArchitectureBSW Configuration SetRTE Integration PackageAP Service Design
Tools Used
Vector DaVinci DeveloperEB tresosMATLAB/SimulinkVector CANoe

Key Aspects

ASPECT / 01

Software Architecture Definition

Defining the AUTOSAR software component (SWC) architecture — decomposing application functionality into components with clearly defined ports, interfaces, and runnable semantics.

ASPECT / 02

BSW Configuration

Configuring Basic Software modules — OS, COM, DCM, DEM, NVM, and watchdog — to match ECU hardware constraints, network topology, and functional requirements.

ASPECT / 03

RTE Generation & Integration

Generating the Runtime Environment from the ARXML system description, integrating application SWCs, and verifying interface compatibility before compilation.

ASPECT / 04

AUTOSAR Adaptive (AP)

Designing and implementing Adaptive AUTOSAR service-oriented architectures for high-compute ECUs running POSIX-compliant OS — covering ara::com, execution management, and update & config management.

03

ANALYSIS TYPE / 03

Software-in-the-Loop (SIL) Testing

automated test campaigns · code coverage · CI integration

Executing comprehensive Software-in-the-Loop test campaigns to verify embedded software behaviour against requirements before any hardware is available — automating test execution, measuring code coverage, and establishing the regression baseline for continuous integration workflows.

Deliverables
SIL Test Case LibraryAutomated Test SuiteCoverage Analysis ReportCI Integration Setup
Tools Used
TPT (PikeTec)Vector CANoeMATLAB/SimulinkJenkins / GitLab CI

Key Aspects

ASPECT / 01

Test Case Development

Developing structured SIL test cases with explicit traceability to software requirements — covering nominal behaviour, boundary conditions, and safety-critical failure modes.

ASPECT / 02

Test Automation & Execution

Automating test execution using TPT, CANoe, or custom Python frameworks — enabling overnight regression runs and rapid feedback on code changes.

ASPECT / 03

Code Coverage Analysis

Measuring structural coverage (statement, branch, MC/DC) against ISO 26262 or DO-178C targets — identifying untested code paths and driving additional test case development.

ASPECT / 04

CI/CD Integration

Integrating SIL test suites into CI pipelines — triggering automated test runs on every commit, reporting coverage trends, and blocking releases that fail coverage thresholds.

04

ANALYSIS TYPE / 04

Hardware-in-the-Loop (HIL) Integration

real-time plant simulation · fault injection · closed-loop validation

Integrating developed ECU software with HIL simulation environments for closed-loop real-time testing — validating control algorithms against simulated plant models, injecting fault conditions, and verifying safety responses before vehicle integration.

Deliverables
HIL Bench ConfigurationReal-Time Plant ModelFault Injection Test ReportClosed-Loop Validation Evidence
Tools Used
dSPACE HILNational Instruments VeriStandVector CANoeETAS LABCAR

Key Aspects

ASPECT / 01

HIL Test Bench Setup

Configuring the HIL platform — signal conditioning, I/O mapping, real-time plant model deployment, and ECU stimulation — to replicate the target vehicle electrical environment.

ASPECT / 02

Real-Time Plant Model

Deploying high-fidelity real-time plant models on HIL hardware — ensuring model execution meets timing requirements and accurately represents the physical system's dynamic response.

ASPECT / 03

Fault Injection Testing

Injecting electrical faults (short circuits, open lines, signal noise) and functional faults into the HIL environment to verify ECU diagnostic responses and safety reactions.

ASPECT / 04

Closed-Loop Validation

Running closed-loop test scenarios — including drive cycles, emergency manoeuvres, and boundary conditions — to validate end-to-end ECU behaviour against system requirements.

05

ANALYSIS TYPE / 05

Functional Safety (ISO 26262 / IEC 61508)

ASIL decomposition · software safety · safety validation

Supporting functional safety activities for embedded software development — ASIL decomposition, software safety requirements, safety-oriented architecture design, dependent failure analysis, and safety validation activities aligned with ISO 26262 and IEC 61508.

Deliverables
Software Safety RequirementsSafety Architecture DesignDFA ReportSafety Validation Evidence
Tools Used
Ansys medini analyzePolyspaceMATLAB/SimulinkTPT

Key Aspects

ASPECT / 01

Software Safety Requirements

Deriving software safety requirements from the technical safety concept — specifying the safety mechanisms, error detection and handling behaviour, and ASIL classification for each software element.

ASPECT / 02

Safety Architecture Design

Designing the software architecture to achieve freedom from interference between ASIL and QM partitions — applying spatial and temporal separation, error detection, and safe state mechanisms.

ASPECT / 03

Dependent Failure Analysis

Performing dependent failure analysis (DFA) to confirm that ASIL decomposition assumptions are valid — evaluating common cause and cascading failures across software partitions.

ASPECT / 04

Software Safety Validation

Designing and executing software safety validation activities — including back-to-back testing between model and code, and regression testing of safety-relevant software changes.

06

ANALYSIS TYPE / 06

RTOS Integration & Optimisation

task scheduling · timing analysis · deterministic behaviour

Integrating and optimising embedded software on RTOS platforms — configuring task scheduling, managing shared resource conflicts, performing timing analysis to validate CPU load and worst-case execution times, and ensuring deterministic real-time behaviour under all operating conditions.

Deliverables
Task Architecture DesignWCET Analysis ReportResource Conflict ResolutionCPU Load Profile
Tools Used
OSEK/VDX RTOSFreeRTOSAUTOSAR OSLauterbach TRACE32

Key Aspects

ASPECT / 01

Task & Interrupt Architecture

Designing the task and interrupt architecture — defining task priorities, periods, and activation patterns to ensure timing requirements are met under full CPU load.

ASPECT / 02

Worst-Case Execution Time (WCET)

Analysing worst-case execution times for safety-critical tasks using static analysis tools — providing evidence that timing deadlines are met regardless of input conditions.

ASPECT / 03

Resource Management

Identifying and resolving shared resource conflicts — configuring mutexes, semaphores, and priority inheritance to prevent priority inversion and deadlock.

ASPECT / 04

CPU Load & Latency Profiling

Measuring runtime CPU load, interrupt latency, and context switch times on target hardware — identifying bottlenecks and optimising task scheduling to achieve required performance headroom.

Start Your Embedded Software Engagement

Connect with our embedded software team to discuss model-based design, AUTOSAR implementation, or safety-compliant software development for your application.

Contact Us Today