CANoe as a diagnostic tool
Version 1.2
2006/06/06
Application Note AN-IND-1-001
Author(s) Asa Forsberg, Thomas R. Schmidt
Restrictions Public Document
Abstract This application gives a general introduction into working with diagnostics in CANoe. It
presents the basic technical aspects and possibilities with the Diagnostic Feature
Set.This document complements the help file of CANoe and may be used as a tutorial
Table of Contents
1
Copyright © 2006 - VecScan AB, Vector Informatik GmbH
Contact Information: www.vector-informatik.com or ++49-711-80 670-0
1.0 Overview ..........................................................................................................................................................3
1.1 Introduction....................................................................................................................................................3
1.2 Diagnostic components.................................................................................................................................4
1.3 Major changes between CANoe 5.0 and CANoe 5.1....................................................................................4
1.4 Major changes between CANoe 5.1 and CANoe 5.2....................................................................................4
2.0 Diagnostics in CANoe......................................................................................................................................6
2.1 OSEK TP support..........................................................................................................................................6
2.2 Diagnostic descriptions .................................................................................................................................6
2.2.1 Trace window..............................................................................................................................................6
2.2.2 Diagnostic Feature Set ...............................................................................................................................6
2.2.3 CAPL ECU simulations...............................................................................................................................7
2.2.4 CAPL tester simulations or test modules....................................................................................................7
2.2.5 Physical Network Request and Network CDD............................................................................................8
2.2.6 Access to diagnostics features via COM ....................................................................................................8
2.2.7 Symbolic selection dialog for diagnostics objects and parameters ............................................................8
2.3 KWP2000 and UDS.......................................................................................................................................9
3.0 First steps.......................................................................................................................................................10
3.1 Usage of diagnostic database files .............................................................................................................10
3.1.1 Add a CDD file ..........................................................................................................................................10
3.1.2 Configure the CDD file..............................................................................................................................10
3.2 Usage of Diagnostic Console and Fault Memory Window..........................................................................11
3.2.1 Send a diagnostic request and receive a response..................................................................................11
3.2.2 Read fault memory....................................................................................................................................11
3.2.3 Physical network requests ........................................................................................................................11
3.3 Usage of CAPL and CDDs to simulate diagnostics ....................................................................................11
3.3.1 CAPL Browser ..........................................................................................................................................11
3.3.2 Mandatory CAPL functions in ECU simulations and non-standard testers ..............................................11
3.3.3 Mandatory variable ...................................................................................................................................12
3.3.4 Debug level...............................................................................................................................................12
3.3.5 Create a simulated node with TP functionality .........................................................................................12
3.3.6 Set the diagnostic target ...........................................................................................................................12
3.3.7 Qualifier for Diagnostics request...............................................................................................................13
3.3.8 Qualifier for Diagnostics response............................................................................................................13
3.3.9 Create a diagnostic request......................................................................................................................13
3.3.10 Create a diagnostic response...................................................................................................................14
3.3.11 Work with parameters...............................................................................................................................14