Vector CANoe.DiVa User Manual

CANoe.DiVa
Automated Testing of Diagnostic Software in ECUs
Diagnostics
What is CANoe.DiVa?
DiVa is a CANoe extension for automated testing of diag­nostic 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 gene­rates a conclusive test report. CANoe.DiVa then supports the evaluation and further processing of the test results.
Overview of Advantages
>
Automatic generation of test cases and their specifica­tion 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 and bus systems (CAN, FlexRay, DoIP, 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.
Functions
CANoe.DiVa consists of a configuration tool with a dedi­cated user interface, test case generator and runtime library for extended CANoe test functionality. The gene­rator uses diagnostic descriptions in ODX or CANdela format to generate comprehensive test cases (good and bad cases). It generates a test module that is loaded to a CANoe test environment, as well as a test specification. The generated tests cover both protocol and application scope. The (re-) programming of ECUs for valid and invalid sequences is also checked. The test results are docu­mented in a clear report. The test analysis is supported by CANoe.DiVa with functions for sorting, comparing, filte­ring, commenting and further processing of the test results.
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
Report analysis in CANoe.DiVa
Factsheet CANoe.DiVa
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
>
Error states can be automatically provoked (network
signal errors or electrical errors via VT System) and reset
>
Test of whether the ECU detects the error, reports it
according to protocol and specification and again resets
the error
Software Download Test
Validation of ECU flash programming in conjunction with vFlash and D-PDU based diagnostic testers. CANoe.DiVa can generate tests for the bootloader supported by vFlash. vFlash supports more than 120 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 flas-
hing.
Requirements Mapping
>
Creation of requirements or import of requirements
from requirements systems (e.g., Doors) or test data
management systems
>
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 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 func-
tions, e.g. for diagnostic authentication.
>
Test of diagnostic authentication and service availability
Highlights of Version 14
Integration and Testing of 3rd Party Diagnostic Procedures
>
Test of any diagnostic jobs executed via the D-PDU API.
>
Test of timing, protocol, supported services and expected values under freely configurable system conditions (e.g. undervoltage). Advantage: OEM-specific use cases from develop­ment, production, after-sales service or OTA are tested automatically and reproducibly. The test checks whether the ECU and the diagnostic proce­dure work together. Components that are not yet available at the time of development (e.g. on-board testers) are emulated in this way so that the test of diagnostic procedures can take place much earlier.
Further Optimizations
>
Support of the new 60V Vector VT system modules (VT2808, VT1104, VT7101)
>
Full support of relative paths for better localization of the DiVa project, e.g. in continuous integration or regression test applications
>
Optimizations in the user interface with regard to high-resolution display and performance
>
New UDS tests: Test that only readable DIDs can actually not be overwritten.
>
Many new OEM specific test extensions
Application Areas
Only with the help of test automation, it is possible to secure the extensive diagnostic interfaces of ECUs. CANoe. DiVa contributes a large part to this: The system supplier needs extensive tests to support development as well as regression and release tests. Automotive OEMs also need systematic tests, especially in integration and release on the vehicle level. CANoe.DiVa is designed to be used by automotive OEMs and suppliers. CANoe.DiVa is not tailored to a specific automotive OEM, but it allows OEM specific adaptions and extensions by configuration and/or plug-ins.
CANdelaStudio
Diagnostic
Authoring Tool
CDD
ODX
ECU
Specification
Configurator
Generator
CANoe.DiVa
XML
CAPL
Test Module
CANoe.DiVa system architecture
www.vector.com/contact
Runtime
Library
CANoe
Test Feature Set
ECU
System
under Test
Report
Analyzer
HTML
XML
Test Report
Supported Bus Systems/Diagnostic Standards/Protocols
>
CAN/CAN FD, FlexRay, DoIP, LIN, etc.
>
ISO 14229 (UDS): 2006/2013/2020, ISO 15765 (Diagno­stics on CAN), ISO 14230 (KWP 2000), ISO 15031/ J1979 (OBDII), ISO 27145 (WWH-OBD), GMW 3110
>
Specific test support for numerous automotive OEMs
More information: www.vector.com/diva
V14, 10/2020
Loading...