CANoe.DiVa - Automated Testing of the Diagnostic Protocol in ECUs
DiVa is a CANoe extension for automated testing of diagnostic software implementations in ECUs. Reproducible test cases are generated based on an ECU diagnostic description in CANdela or ODX format.
CANoe automatically executes these test cases and generates a conclusive test report.
Advantages
- Automatic generation of test cases and their specification with comprehensive test coverage based on ECU diagnostic descriptions in ODX or CANdela format
- Automated execution of test cases and generation of a test report
- Supports different diagnostic standards (UDS, OBD, KWP2000, GMW3110) and OEM-specific interpretations and test specifications
- Easy to configure test contents
- Integration in the CANoe test environment
This means savings in time and effort while improving the quality of ECU diagnostic software at the same time.
Application Areas
Generating test cases and automating test execution are two important trends in testing. The system supplier needs extensive tests to support development as well as regression and release tests. Automotive OEMs need systematic tests and requirement traceability, in all phase’s development, integration and release.
CANoe.DiVa is designed to be used by automotive OEMs and suppliers. DiVa is not tailored to a specific automotive OEM, but it allows OEM specific adaptions and extensions by configuration and/or plug-ins
Highlights Version 16
Significantly Extended Test Portfolio
- Test of environmental conditions
- Automatic testing of the availability of diagnostic services under freely selectable valid and invalid execution conditions
- Fault memory
- Testing of environmental conditions that should explicitly not lead to the storage of a DTC
- Content checking of DTC snapshots
- Software download
- Endurance test of the ECU‘s update capability
Support of CANoe Test Report Format
- Newly designed CANoe.DiVa Test Report
- Modern design and informative diagrams
- In-place editing of comments and linking of requirements
- Generation of CANoe.DiVa Test Report in CANoe Test Report Viewer format (optional)
- Enables evaluation and commenting of CANoe.DiVa test results using CANoe Test Report Viewer even without a CANoe.DiVa license
- Automated further processing of test results possible via CANoe Test Report Viewer API
Support of New Protocols and OEMs
- Support of OBDonUDS (SAE-J1979-2)
- Protocol tests and testing of OBD PVE (Production Vehicle Evaluation)
- Support of additional OEMs as well as updating of existing OEM extensions
Continuous Testing
- Execution of CANoe.DiVa tests in a CANoe4SW Automotive Server environments
Functions
CANoe.DiVa provides test configuration, test generation, test result analysis support accompanied by requirement traceability and automated test control.
The generator uses diagnostic descriptions in ODX or CANdela format to generate comprehensive test cases in accordance to the configured test depth (good and bad cases). It generates a test environment that is added to a CANoe configuration, as well as a test specification with details on the test flow and the individual tests. The tests cover both protocol and application scope. The (re-) programming of ECUs for valid and invalid sequences is also checked. The execution results are documented in a clear report. The analysis of the test results is supported by CANoe.DiVa with mechanisms for sorting, comparing, filtering, commenting, requirement linking and post processing of tests and test results. Comments and requirements given by the user are persistently stored over sequential test runs.
Protocol Validation
- Physical/functional addressing and timing
- Protocol format: Processing of valid and invalid requests
- Execution or rejection of services at various session and security levels
- Data types and value limits
Validation of Diagnostic Sequences
With CANoe.DiVa you can test ECU-specific diagnostic sequences in freely selectable system states (e.g. ignition on/off). Any diagnostic sequences from applications based on the ISO D-PDU API are supported - and of course all sequences defined in VDS (Vector Diagnostic Scripting).
- Continuous testing of diagnostic sequences and (D-PDU API) diagnostic systems within the CANoe test environment using CANoe‘s environment stimulation capabilities.
- Evaluation and documentation of outputs of diagnostic sequences in the test report.
- Checking of used diagnostic services against diagnostic specification: e.g. timing behavior, format, data contents.
- Simple and fast setup of self-defined diagnostic sequences in VDS, e.g. via the CANoe Macro Recorder or the Indigo Script Recorder. Self-generated VDS scripts or sequences can also be used easily.
Validation of the Application: Diagnostic Parameter and Fault Memory
- Parameter vs. parameter: Compare write/read
- Compare parameters to expected values, e.g. values acquired over CCP/XCP
- Compare parameter with I/O or network signals
- Provoke and reset error states automatically (network signal errors or electrical errors via VT System or other HIL)
- Comprehensively check proper DTC setting, resetting and reporting, according to protocol and specification
Software Download Test
Validation of the flash programming of ECUs in conjunction with vFlash. CANoe.DiVa can generate tests for the bootloader supported by vFlash. Vector offers prepared vFlash Templates for a large number of different automotive OEMs and bootloaders.
CANoe.DiVa generates, among others, the following tests:
- Valid flashing and testing of diagnostic communication with regard to timing and format.
- Flashing when under / overvoltage.
- Abort the flash sequence at different points and targeted interruption of the power supply during flashing.
Requirements Mapping
- Creation of requirements or import of requirements from requirements systems (e.g., Doors) or test data management systems using the Vector Connection Utilities/AddIn
- Generated tests can be mapped to requirements. This facilitates the tracking of the requirements
- Display of all test results for individual requirements
- Returning test results to the requirement or test data management system
- Automated control of CANoe.DiVa for integration into an existing build and test environment (e.g. Jenkins or Subversion)
Security
- Integration of Vector Security Manager. The Vector Security Manager provides OEM-specific security functions, e.g. for diagnostic authentication.
- Test of diagnostic authentication and service availability
Supported Diagnostic Standards and Protocols
- ISO 14229 (UDS): 2006/2013/2020,
- SAE J1979-2 (OBDonUDS),
- ISO 15031/ J1979 (OBDII),
- ISO 27145 (WWH-OBD),
- ISO 15765 (Diagnostics on CAN),
- ISO 14230 (KWP 2000),
- GMW 3110
- Specific test support for numerous automotive OEMs:
Beside the general diagnostic tests (e.g. for ISO14229) CANoe.DiVa also offers additional test support for many OEMs.
Product Descriptions
Component | Recommended | Minimum |
CANoe | CANoe.DiVa runs with the CANoe variants Full, Run and Pex. | |
Operating System | Windows 10 | |
Processor | Intel Core i5 3,0 GHz | Intel Core 2 Duo 2,6 GHz |
Memory (RAM) | 4 GB | 1 GB |
HDD Capacity | ≥ 2,0 GB (depends on used options and needed Operating Systems components) | |
Screen Resolution | 1920x1080 |
Do you have technical questions and are looking for suitable answers? Our KnowledgeBase provides the most important!
Downloads
News / Events
Training

The number and complexity of control units used in automobiles has increased tremendously. It is therefore important to include diagnostics in the development process of control units from an early stage.
Our training classes and workshops will provide you not only with a basic understanding of diagnostics. Especially with practical exercises you will gain a comprehensive view on the Vector diagnostic tool chain.