![](https://csdnimg.cn/release/download_crawler_static/5191457/bg6.jpg)
CANoe as a diagnostic tool
6
Application Note AN-IND-1-001
2.0 Diagnostics in CANoe
CANoe can be used in all steps of developing ECUs and performing diagnostics on them:
• Design of the diagnostic functionality (system simulation)
• Implementation of diagnostic functionality in an ECU (remaining bus simulation)
Æ OSEK TP DLL and CAPL extensions, using a (generic) CDD
• Specification-/Integration-/Regression tests
Æ CAPL extensions using a (generic) CDD AND CANoe test support. OSEK TP DLL only necessary if TP
fault injection requested.
• Analysis of real ECU communication
Æ ISO TP Observer OR KWP2000 Interpreter OR Diagnostics Interpreter
• Perform diagnostics of ECUs with integrated tester functionality
Æ diagnostics console
• Error search
Æ fault memory console
2.1 OSEK TP support
CANoe includes the OSEK TP Observer, which interprets messages sent over the CAN bus according to the
OSEK Transport Protocol ISO/TF2 and displays the results in the Trace Window in clear text. It also includes an
implementation of the transport protocol that enables easy sending and receiving of diagnostic objects. This
implementation is realized by a node layer DLL that comes with every CANoe standard installation and takes care
of transport protocol specific functions such as segmentation, flow control etc.
To enable transport layer interpretation it is needed to activate the ISO TP Observer. Please refer to the help file of
CANoe on how to activate the observer.
To enable the TP functionality for a simulated node, please refer to paragraph
3.3.5.
2.2 Diagnostic descriptions
CANdela Diagnostic Descriptions (CDD) files are databases for diagnostic data, comparable to the DBC file used
for CAN messages and signals. The CDD files are created in the Vector tool CANdelaStudio and can be used in
CANoe and CANalyzer for symbolic access and interpretation of diagnostic services and parameters.
Note 1: CANalyzer only has interpretation capabilities.
Note 2: The below mentioned features can only be used after including a CDD file into the CANoe
configuration.
2.2.1 Trace window
A CDD file allows tracing diagnostic services (requests/responses) and their parameters in a symbolic fashion. You
can expand the requests/responses in the same way as with ordinary bus messages.
2.2.2 Diagnostic Feature Set
The Vector Diagnostic Feature Set includes several functions that are necessary for development, test and
application of ECUs with/via diagnostics.
Based on the diagnostic description files (*.CDD) of CANdela Studio the Diagnostics Console — part of the
Diagnostic Feature Set — provides interactive access to all diagnostic services. Diagnostic requests can be
selected, parameterised and displayed with their according response.
The Fault Memory Console provides quick and easy access to the fault memory of an ECU.