In the table below you will find the icon conventions used throughout the Support Note. This icon indicates notes and tips that facilitate your work.

Similar documents
1 About this Support Note

1 About this Support Note Introduction Use Loops Use Test Case Lists Example Contacts... 8

CANoe and CANalyzer as Diagnostic Tools

In the table below you will find the icon conventions used throughout the Support Note. This icon indicates notes and tips that facilitate your work.

In the table below you will find the icon conventions used throughout the Support Note.

CAPL Callback Interface in CANoe

Automatic validation of diagnostics in ECUs

Minimum CANoe version to execute test units built with a specific version of vteststudio

Diagnostics via CANoe Gateways

Getting Started with VN5640

CANoe/CANalyzer.J1587

CANalyzer. Product Information

CAN FD - Flexible Tools for Flexible Data Rates

ODX TechDay, Seoul. How to come to ODX data? V

CANoe 6.0. The Professional Development and Test Tool for CAN, LIN, MOST, FlexRay and J1587 TOOLS FOR NETWORKS AND DISTRIBUTED SYSTEMS

Product Information CANdelaStudio

User Manual Vector Logger Configurator. Version 2.7 English

Indigo. Vector Diagnostic Tester V / 6

Introduction to Ethernet and IP in automotive vehicles

In the table below you will find the icon conventions used throughout the Support Note. This icon indicates notes and tips that facilitate your work.

ODX Live. How to Setup a Standards-based Diagnostic Process Chain

CANape ASAM-MCD3 Interface Version Application Note AN-AMC-1-103

time now it has also been used productively in a multi-oem, requires precise knowledge of the protocol, the layout, the

Getting Started With CANoe.ISO11783 Version Application Note AN-ION

Concept Manual vteststudio. Version 2.2 English

Overview of Security Support in Vector Tools

Tools for CAN based networking. On the street, in the air, in the orbit

Research and Development of Vehicle Fault Diagnostic Protocol ISO15765

Aula Mercedes Benz : Table of Contents THEORY (20 HOURS) 1.- BASIC INTRODUCTION TO VEHICLE TELEMATICS IN-VEHICLE NETWORKS - 30 MINS

This Support Note describes how to configure the trace window to analyse CCP or XCP communication in CANape.

Analog Devices, Inc. Protocol 6 Flash/EE Programming via LIN Downloading software with CANoe.LIN

VT System Smart HIL Testing

Intrepid Control Systems, Inc.

Automated Flashing and Testing with CANoe, vflash and VN89xx Version Application Note AN-IDG-1-018

Diagnostic Use Cases V

Analysis and Testing of LIN ECUs

RIOT and CAN. Vincent Dupont. RIOT Summit September 25-26, OTA keys. Vincent Dupont (OTA keys) RIOT and CAN RIOT Summit / 34

ISO INTERNATIONAL STANDARD

CANalyzer.J1939. Product Information

CANoe.J1939. Product Information

webinar series

OFF-ROAD VEHICLE DIAGNOSTICS WITH AUTOSAR. Jigar Patel Namdeo Dhawle July 18, 2018

CANoe.Ethernet. Product Information

CANoe. DENoe. .CAN.LIN.MOST.FlexRay. Manual. Version 4.1

CANoe/CANalyzer New Features

ISO INTERNATIONAL STANDARD

Association Information Exchange Form

vflash Vector Webinar V

PCAN-OBD-2 API. Documentation. API Implementation of the OBD-2 Standard (ISO ) Document version ( )

MotoHawk support for ISO 15765

CAPL Scripting Quickstart

Standardized Tool Components for NRMM-Diagnostics

CANoe/CANalyzer. Tools for comprehensive CAN Network Analysis and Test - An Overview V

Fending Off Cyber Attacks Hardening ECUs by Fuzz Testing

High-Speed Reprogramming and Calibration with CAN FD: A Case Study

,879 B FAT #1 FAT #2 root directory data. Figure 1: Disk layout for a 1.44 Mb DOS diskette. B is the boot sector.

RTA-BSW v3.0.0 RTA-BSW Getting Started Guide Status: Release

PREEvision Technical Article

USB-Link 2 Vehicle Interface Installation and Setup Manual

Test requirements in networked systems

webinar series

ARIB TR-T13-C.R v1.0. cdma2000 Multimedia Services Evaluation Methodology: Software Tools

FAQ. For ICPDAS DCON (I-7000/8000/87K) series modules [Version 1.0]

User Manual ASAP2 Lib. Version 4.5 English

The CANoe.Ethernet Solution

PREEvision. Release Notes. Version 8.0 SP5 English

NOTE: Debug and DebugSingle are the only MPI library configurations that will produce trace output.

OEM Conformance Tests for CAN FD

Softing echograph. Configuring Softing echograph enabled devices to display data from a Siemens S7-300 PLC on a web browser.

AN-946 APPLICATION NOTE

Diagnostics is evolving

Welcome to the Webinar Embedded Software for J1939

Automotive Security: Challenges and Solutions

Automotive Security: Challenges, Standards and Solutions. Alexander Much 12 October 2017

Using LabView via the CANape COM Interface Version Application Note AN-IMC-1-036

ACP reporting. This guide provides a general overview on how to run ACP reports. In this guide: Available reports Page 3

XCP. Version 1.0. The Universal Measurement and Calibration Protocol Family. Part 3. XCP on CAN - Transport Layer Specification

ODX Process from the Perspective of an Automotive Supplier. Dietmar Natterer, Thomas Ströbele, Dr.-Ing. Franz Krauss ZF Friedrichshafen AG

Configuration guide for Switchvox and PAETEC

TIP120-SW-42. VxWorks Device Driver. Motion Controller with Incremental Encoder Interface. Version 2.1.x. User Manual. Issue 2.1.

FieldbusAccess v.1.0.0

AUTOSAR Software Design with PREEvision

FlexRay - FlexRay Synchronization with CANoe as Gateway

SmartDispatch Installation Guide

OBD Simulator. Software to simulate and re-play a vehicle.

IPEmotion_PlugIn_SERIAL_V01_01_00

User Manual. PLUS+1 Service Tool.

Advantech AE Technical Share Document

ADS MultiTrace Tutorial v2.0

Using AD360 as a reverse proxy server

UCANDAS Quick Operation

Troubleshooter Quick Reference Guide

Feature Matrix CANoe 10.0 and CANalyzer 10.0

Efficient testing of ECUs despite Security

SINETPLAN Siemens Network Planner

PCAN-ISO-TP API. Documentation. API Implementation of the ISO-TP Standard (ISO ) Document version ( )

Grandstream Networks, Inc. GAC2500 Audio Conference Phone GUI Customization Guide

Adaptive AUTOSAR. Ready for Next Generation ECUs V

Chapter 4. TCP / UDP Transport Protocol Overview

Intrepid Control Systems, Inc.

Transcription:

2016-01-26 SN-IND-1-015_CANoe_CANalyzer_Padding_DiagnosticFrames.pdf Author(s) Restrictions Morizur, Pascale and Ernst, Oliver Table of contents 1 About this Support Note... 1 2 Overview... 1 3 Set frame padding... 1 3.1 Set padding using a CDD... 2 3.1.1 For CAN... 2 3.1.2 For LIN... 2 3.2 Set padding using CAPL (CANoe only)... 3 3.2.1 For CAN... 3 3.2.2 For LIN... 5 4 Check frame padding... 6 5 Contacts... 7 1 About this Support Note In the table below you will find the icon conventions used throughout the Support Note. Symbol Utilization This icon indicates notes and tips that facilitate your work. This icon warns of dangers that could lead to damage. This icon indicates examples. 2 Overview In most cases, diagnostic frames using the ISO Transport Protocol (ISO-TP) shall be padded in order to have a constant 8 bytes long data field, independently of the actual data amount that is transported. This Support Note explains how to process if your project CANoe /CANalyzer Setup doesn t provide the required padding. It also explains how to automatically control the proper frame padding using the Trace Window. 3 Set frame padding There are two possibilities to set up the padding of the diagnostic frames: Set the padding of the frames sent by the Diagnostics Console (tester) of the corresponding ECU SN-IND-1-015_CANoe_CANalyzer_Padding_DiagnosticFrames.pdf 1

Set the padding of the frames sent by a CAPL routine (tester or ECU). This possibility does only exist for CANoe. We can send you on demand an example making usage of both possibilities. 3.1 Set padding using a CDD 3.1.1 For CAN To obtain the padding of all CAN diagnostic frames that are sent by CANoe/CANalyzer Diagnostics Console modify the CDD file of the concerned ECU using CANdelaStudio. In the ECU Information / Supported Interface / Diagnostic CAN section of the communication parameters (see figure below), the two following parameters shall be present. Note: The name Diagnostic CAN is project specific and can be different in your case. If they are not present, please add them. Note: you require for this operation the CANdelaStudio Admin Edition. If the parameters are present, the CANdelaStudio Standard Edition is sufficient to set the parameters to the necessary values. FillerByteHandling from type ENUM: o True the frames will be padded to a DLC of 8. o False no padding. CANFrameFillerByte from type unsigned: provides the byte value which is used to pad the frames. 3.1.2 For LIN According to LIN 2.1 Specification, all unused bytes shall be padded to 0xFF. Therefore CANoe/CANalyzer from CANoe 8.5 SP5 on automatically pad the requests that are sent by the Diagnostics Console. SN-IND-1-015_CANoe_CANalyzer_Padding_DiagnosticFrames.pdf 2

3.2 Set padding using CAPL (CANoe only) If you are using CAPL nodes to implement a tester or simulate a diagnostic ECU, you can make use of some available CANoe TP (Transport Protocol) functions to force the padding of your Diagnostic frames. These functions must be integrated as a CCI (CAPL Callback Interface) which gives the CAPL user the possibility to adapt the PDUs that are exchanged between Diagnostics Layer and Transport Layers before they are sent on CAN. Note: You can find more information on CCI in the corresponding Application Note that you can find for instance in the Windows Start Menu like shown in the picture below. Note: Each concerned CAPL nodes shall be configured using the TP dll as component. For that use in Measurement Setup the mouse positioned on the node and press on the right mouse button. Add CANoe TP dll (see 3.2.1 or 3.2.1) as Component like indicated below. 3.2.1 For CAN The following two CAPL functions pad the desired CAN frames with a constant value. CanTpGetPadding CanTpSetPadding SN-IND-1-015_CANoe_CANalyzer_Padding_DiagnosticFrames.pdf 3

Note: Both functions are part of the OSEK_TP.DLL which implements ISO-TP and are available for CANoe versions 7.0 or higher. Please first copy the corresponding CCI Header File to the same directory as your CAPL module: - for CANoe up to version 8.2: CCI_Implementation.cin, stored in the Demo_CAN_CN\Diagnostics\UDSSim\Nodes in the Location of user data. The directory Location of user data is installation dependent and can be found like shown in the picture below. - from CANoe version 8.5 on: CCI_CanTP.cin that can be found in the Reusable\CAPL_Includes\Diagnostics subdirectory of the CANoe user data directory. Then include the following code in your CAPL module for CANoe: - Up to CANoe version 8.2: - For CANoe version 8.5 on: SN-IND-1-015_CANoe_CANalyzer_Padding_DiagnosticFrames.pdf 4

Then set the required padding value, for instance: Note: The padding settings will then be used in all diagnostic parts of CANoe: trace window, diagnostics console window and fault memory window. 3.2.2 For LIN Please first copy the following corresponding CCI Header File to the same directory as your CAPL module: - for CANoe up to version 8.2: Please contact support@vector.com for more details. - from CANoe version 8.5 on: CCI_LINTP.cin that can be found in the Reusable\CAPL_Includes\Diagnostics subdirectory of the CANoe user data directory. Then include the following code in your CAPL module for CANoe: - For CANoe version 8.5 on: and set the Index of LIN schedule table to the correct value, for instance: Note: the padding value of all Diagnostics Frames sent using CAPL is then automatically set to 0xFF. Make sure that the following LIN setting has been made in Diagnostics/ISO TP Configuration: SN-IND-1-015_CANoe_CANalyzer_Padding_DiagnosticFrames.pdf 5

4 Check frame padding To observe the content of a padding field, the following CANoe settings are necessary: ZeroPadding = 1 ZeroPaddingValue = set value This can be done like shown in the picture below in the CANoe osek_obm.ini file that is to be found in the Location of application data. Note: see also to find the actual location. SN-IND-1-015_CANoe_CANalyzer_Padding_DiagnosticFrames.pdf 6

Padding failure will then be indicated after next measurement start like indicated in the following trace window: 5 Contacts Please find the contacts of Vector Informatik GmbH and all subsidiaries worldwide via: http://www.vector.com/vi_addresses_en.html SN-IND-1-015_CANoe_CANalyzer_Padding_DiagnosticFrames.pdf 7