AUTOSAR UDS Stack for ECU Diagnostics

Production-ready diagnostic stack enabling reliable ECU diagnostics, secure vehicle communication, and efficient fault management across modern automotive platforms.

AUTOSAR UDS Diagnostic Stack Overview

Modern ECUs demand reliable diagnostics, seamless integration, and zero surprises during vehicle validation and field deployment. However, many diagnostic implementations still struggle with integration delays, unstable flashing behaviour, and high debugging effort. 

ElectRay's UDS Diagnostic Stack is designed to eliminate these risks. 

Built on ISO 14229 Unified Diagnostic Services (UDS) and aligned with AUTOSAR R4.4.0 architecture, the stack provides a production-ready, integration-focused diagnostic framework for automotive and electric vehicle ECUs. 

It enables OEMs and Tier-1 suppliers to implement standardized diagnostics, fault management, and ECU programming with significantly reduced development effort and faster time-to-market. The stack seamlessly integrates with both AUTOSAR and non-AUTOSAR environments, supporting key modules such as Diagnostic Communication Manager (DCM), Diagnostic Event Manager (DEM), and CAN Transport Protocol (CAN-TP). 

Designed for real-world deployment, ElectRay's UDS Stack is MISRA-compliant, highly configurable, and optimized for performance across resource-constrained automotive microcontrollers, ensuring stable operation from development to production and into the field. 

2+ Years in Production. Zero Field Issues Reported

ElectRay's UDS Diagnostic Stack has been running in production automotive programs since 2023, with zero field-reported issues impacting diagnostics or ECU communication. 

This track record reflects a strong focus on robust implementation, deterministic behaviour, and real-world validation, enabling stable integration across multiple microcontrollers and vehicle platforms while minimizing debugging effort during validation and SOP. 

Key Capabilities

  • AUTOSAR-Aligned Architecture: Designed according to AUTOSAR R4.4.0 architecture guidelines for scalable diagnostics implementation.  
  • UDS Standard Compliance: Fully compliant with ISO 14229 Unified Diagnostic Services, ensuring seamless interoperability with OEM diagnostic tools and vehicle networks.  
  • MISRA-Compliant: Developed following MISRA C guidelines to ensure high reliability and safety in production automotive environments.  
  • Configurable Diagnostic Framework: Includes a Configuration & Code Generation tool to customize supported diagnostic services. 
  • RTOS-Independent Design: Can operate with or without an RTOS environments. 

Supported UDS Services

ServiceDescription
$10Diagnostic Session Control
$11ECU Reset
$14Clear Diagnostic Information
$19Read DTC Information
$22Read Data by Identifier
$23Read Memory by Address
$27 Security Access
$28Communication Control
$29Authentication
$2ARead Data by Periodic Identifier
0x2CDynamically Define Data Identifier
$2EWrite Data by Identifier
$2FInput Output Control
ServiceDescription
0x31Routine Control
0x34Request Download 
0x35Request Upload
0x36Transfer Data
0x37Request Transfer Exit
0x3DWrite Memory by Address
0x3ETester Present
0x83Access Timing Parameter
0x84Secured Data Transmission
0x85Control DTC Setting
0x86Response On Event
0x87Link Control
AUTOSAR-Aligned UDS Stack Modular Design

Software Package 

  • Diagnostic Communication Manager (DCM): ISO 14229-1 Services 
  • Diagnostic Event Manager (DEM): Fault Handler / Fault Memory to support UDS 
  • CAN Transport Protocol (CAN-TP): ISO 15765-2 Transport Layer 
  • Function Inhibition Manager (FIM): Inhibition Control for SW Modules 
  • Configuration & Code Generator: Configuration & Code Generator Tool 


ElectRay’s UDS vs
Typical UDS Diagnostic Stacks

Selecting the right UDS diagnostic stack is critical for ECU reliability, software scalability, and long-term maintainability. The table below compares ElectRay’s eSAR.UDS stack with typical UDS implementations available in the market across architecture, integration effort, safety, and tooling support.

USP AreaElectRay UDS StackTypical UDS Stacks in Market
STANDARDS & ARCHITECTURE
AUTOSAR ComplianceAUTOSAR R4.4.0 and ISO 14229 compliant with MISRA-compliant code. Works across AUTOSAR and non-AUTOSAR ECUs with seamless reuse.AUTOSAR or non-AUTOSAR implementations with limited reuse across platforms and programs.
Architecture & Memory FootprintModular DCM, DEM, FIM and CANTP. Lightweight and optimized for memory-constrained ECUs, scalable from 2W to PV.Generic or heavy implementations with limited optimization for low-resource ECUs.
Platform IndependenceANSI C stack runs with or without RTOS across MCU families. No hardware lock-in.Platform-dependent implementations with constraints on MCU, RTOS or toolchain.
EV / SDV Architecture ReadyDesigned for EV and software-defined vehicle architectures with support for scalable, connected ECU systems.Built for general automotive use; EV/SDV readiness depends on configuration and integration.
FLASHING & OTA
Flash Bootloader & OTA SupportNative integration with secure bootloader and FOTA. Seamless diagnostics and flashing workflow.Requires separate modules or integration effort for flashing and OTA.
TOOLING & INTEGRATION
Configuration & Code GeneratorStandalone CodeGen tool with ready-to-use templates. Faster setup with reduced integration errors.Manual or Tool dependent configuration with higher setup effort.
ODX SupportSupports ODX file import.No or requiring additional tooling or customization.
Integration EffortShips with a ready-to-run example application, user manual and test reports.Higher effort due to tools, configuration or custom development.
QUALITY & SAFETY
Production GradeZero reported bugs since 2023, with over 2 years of field-proven performance in active production programs.Maturity varies by product or project; validation effort required.
Functional SafetyAligned with ISO 26262, supporting ASIL-oriented development and assessment.Requires additional safety processes and system-level integration.
CybersecuritySupports secure diagnostics, HSM, secure boot and flashing. Aligned with ISO/SAE 21434 and AIS-189.Baseline security available; advanced cybersecurity depends on integration and configuration.
Post-Sales Support & SLADedicated technical support with defined SLA. Integration and customization supported through engineering services.Support typically limited to defined scope; integration and customization offered as separate services.
ECOSYSTEM
Ecosystem AvailabilityComplete ecosystem including UDS, Bootloader and FOTA under one vendor.Multiple tools, vendors or project-based integration required.

Accelerate ECU Diagnostics Integration

ElectRay's UDS Diagnostic Stack enables OEMs and Tier-1 suppliers to deploy production-ready ECU diagnostics faster and with lower integration risk. 

Built on an AUTOSAR-aligned, modular architecture, the stack is designed for seamless integration across diverse ECU platforms, including resource-constrained systems. With support for bootloader and OTA workflows, it provides a strong foundation for both current and next-generation vehicle programs. 

By reducing development complexity and ensuring compliance with modern automotive standards, ElectRay helps engineering teams shorten validation cycles and achieve faster time-to-production. 

Deployment & Support Ecosystem 

Platform Support 

  • Microcontroller Platform-independent design  
  • Suitable for both AUTOSAR and non-AUTOSAR environments 

Integration & Customization Support 

  • Stack configuration tailored to OEM-specific diagnostic requirements  
  • Support for seamless integration into existing ECU software architectures

Ready-to-Use Test Package

  • Delivered with a ready-to-run example application  
  • Enables faster evaluation, validation, and internal testing  

Comprehensive Documentation 

  • Detailed User Manual for development and integration  
  • Test Reports to support validation and quality assurance 

Start Your UDS Evaluation with Confidence 

Evaluate ElectRay's UDS Diagnostic Stack in your own environment with ready-to-run examples, integration support, and proven production stability. 

Take the next step toward faster ECU bring-up and reliable diagnostics deployment.