Diagnostics with CAPL
2023-07-27
Support Note SN-IND-1-040
Author(s) Ernst, Oliver; Schwarz, Dirk
Restrictions Public Document
Copyright © 2022 – Vector Informatik GmbH 1
Contact Information: www.vector.com
Table of Contents
1 About this Support Note ............................................................................................................................... 2
2 Overview ....................................................................................................................................................... 2
3 Configuring the diagnostic components of CANoe/CANalyzer .................................................................... 2
3.1 How to add a diagnostic description in CANoe/CANalyzer .................................................................. 3
3.2 Property Pages ..................................................................................................................................... 5
3.2.1 Transport Layer ............................................................................................................................ 5
3.2.2 Diagnostic Layer ........................................................................................................................... 6
3.2.3 Additional descriptions .................................................................................................................. 7
4 About qualifiers and short names ................................................................................................................. 8
5 Addressing the ECU ..................................................................................................................................... 9
6 Creating and sending a request ................................................................................................................... 9
7 Setting the parameters of a request ........................................................................................................... 10
8 Receiving the response and reading the response parameters ................................................................. 11
9 Reading the fault memory .......................................................................................................................... 13
10 Reading extended data records and snapshot data of the fault memory................................................... 14
11 Security access with Seed & Key DLL ....................................................................................................... 17
12 Diagnostics in test modules ........................................................................................................................ 19
13 Simulating an ECU ..................................................................................................................................... 21
14 Sending functional requests ....................................................................................................................... 24
15 Manipulating diagnostic data on raw level .................................................................................................. 25
16 Object-oriented programming ..................................................................................................................... 25
17 Where to find more information .................................................................................................................. 27
18 Contact information .................................................................................................................................... 28