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

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

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.

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

User Manual Vector Logger Configurator. Version 2.7 English

Data. Declaration System DDS. DDS Advanced Training. Raster & DAQ-Lists Configuration. DDS Advanced Training

Using Vector CANape with Raptor New Eagle Products, Inc.

CANape Option Bypassing

Current and Prospective High-speed Measurement Systems

Design Verification and Calibration Based on Physical Measurements for Electrical Vehicles

Getting Started with VN5640

A CAN Protocol for Calibration and Measurement Data Acquisition

Measurement Solution for new Radar Microcontroller V

CANape. Version History

From Signal to Service

Vector vmdm TechLunch, October 24 th 2018, Novi Mi

INCA-EIP V7.2 User s Guide

Microsoft Access 2010

INCA-FLEXRAY V7.2 User Manual

Microsoft Access 2013

Microsoft Access 2013

ASAM MCD-1 (XCP) Protocol Layer Specification Base Standard

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.

Vector Logger Cloud. VECTOR GB Ltd Conference, 28th Sept, 2017 V

Accessories GL Loggers & CANlog

Release Notes. PREEvision. Version 6.5 SP11 English

INCA-EIP (Experimental Target Integration Package) V7.0.2 User s Guide

Efficient testing of ECUs despite Security

AUTOSAR Software Design with PREEvision

1 About this Support Note


CANape. Product Information

Leica SCN400 user guide

ECU Measurement and Calibration in a Real-Time Test Environment. Roland Magolei National Instruments Engineering GmbH Embedded Networks

Your partner for non-proprietary maintenance. METSOFT Presentation Roschi Rohde & Schwarz AG

High-End Datalogging System for Autonomus Driving V

INCA-FLOW V4.6 - What s new? Guided Calibration for INCA

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

CANape. Product Information

Scheme Editor 6.3. Release Notes

Flash Kernel Programming on an HC12 Microcontroller Version /05/2003 Application Note AN-IMC-1-002

Robin A Schmid, Training Support Specialist St. John Fisher College 3690 East Ave Rochester NY

MDA V8.2.x What s New Functional Enhancements & Usability Improvements (V8.2.0 V8.2.2)

GPR Analyzer version 1.23 User s Manual

ASAM ASAP3 Interface User s Guide

INCA ASAM ASAP3 Interface. User's Guide November 2010

New IDE Application Profiler Enhancements

Feature Matrix CANoe 10.0 and CANalyzer 10.0

INCA-FLEXRAY V6.2. User Manual

imc FAMOS 7.4 What is new

The MAXQDA Stats Data Editor

Newage hardness testing

OUTLOOK ATTACHMENT EXTRACTOR 3

A02 - How to Combine Existing Model with New DWG

Tutorial 1 Importing Data

Code Matrix Browser: Visualizing Codes per Document

Understanding and Using the Controller Area Network Communication Protocol

Release Notes INCA-FLOW V4.6. Release Notes. Page 1 of 12

Quick Reference Card Business Objects Toolbar Design Mode

MDA V8.2 User's Guide

Creating a Crosstab Query in Design View

ASAM ASAP3 Interface User s Guide

HSP-SP V Release Notes HSP-SP V Release Notes. Page 1 of 7

User Manual PLUS+1 License Administration Tool powersolutions.danfoss.com

SilkTest SilkTest Recorder Quick Start Tutorial

XCP The Standard Protocol for ECU Development. Fundamentals and Application Areas. Andreas Patzer Rainer Zaiser

I/ Video Capture 1. Remove the len s cover 2. Turn on Computer 3. Open the XCAP For Window icon OK

Development of a Calibration Tool using CCP and XCP on CAN Bus

Quick Guide Copyright Bureau van Dijk 2010 Last updated September 2010

IntegriSign for MS Excel

GL Logger Families. Product Information

Tooling Overview ADAS - Status & Ongoing Developments

Getting Started With DO Analyser Software Version 4

Analysis and Testing of LIN ECUs

Fixed problem with InfoRecall crashing when Export Merged Documents & Print Merged Documents are chosen when files are closed.

Frequency tables Create a new Frequency Table

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

Unified Diagnostic Services Protocol Implementation in an Engine Control Unit

SQL Studio (BC) HELP.BCDBADASQL_72. Release 4.6C

ROADMAPPING TOOL USER INTERFACE SPECIFICATION

testo Comfort Software Basic 5 Instruction manual

17 - VARIABLES... 1 DOCUMENT AND CODE VARIABLES IN MAXQDA Document Variables Code Variables... 1

Dendrogram export options

GET TO KNOW FLEXPRO IN ONLY 15 MINUTES

Regard as 32 runs of length 1. Split into two scratch files of 4 blocks each, writing alternate blocks to each file.

First Edition Termologger USB & OSAKA MicroLab Lite User guide

Getting Started Guide. New Eagle Products, Inc. May 13, 2013

Keyboard Shortcuts. The following keyboard shortcuts are available in MAXQDA. General

FLOWgate500. Software Manual. Software Manual FLOWgate500 Release 2.2. Revision number: V2.2. Manufacturer: SICK AG. Erwin-Sick-Str.

Raptor Application Monitor Guide

User Manual Device Manager

testo Comfort Software Basic 5

MicroLite & MicroLab Lite User Guide. First Edition First Print February 2007 Fourier Systems Ltd.

User Manual. Programming & SCN-Coding of Emission Related Control Units with Pass-Thru Programming System SAEJ2534. Version 0.7.

pure::variants Server Support Plug-In Manual

å To access Advanced List Edit: Advanced List Edit

2015 Gantner Instruments Inc.

Programming Manual KX-TVA50 KX-TVA200. Voice Processing System. Model

scancontrol 3D-View 3.1 Instruction Manual

Release Notes. PREEvision. Version 6.5 SP13 English

XTR WinControl akrobit software gmbh -

Transcription:

Trace Configuration to Analyze CCP/XCP Communication 2014-03-12 SN-IMC-1-002_Trace_Analysing_CCP_XCP_en.pdf Author(s) Restrictions Marx, Alexander Table of contents 1 Overview... 1 2 Configuration of the Trace Window... 1 3 Export of the Trace Information... 3 3.1 Insert Protocol Information Into a Text File... 3 3.2 Write a Text File Automatically... 4 4 Application Example... 5 4.1 Preconditions... 5 4.2 Working Instruction... 6 4.3 Summary... 8 5 Contacts... 10 1 Overview This Support Note describes how to configure the trace window to analyse CCP or XCP communication in CANape. 2 Configuration of the Trace Window To open a Trace window click Display Trace window in the menu bar. Figure 1: Opening of the Trace Window You have to select a device to see the protocol information in the Trace window. SN-IMC-1-002_Trace_Analysing_CCP_XCP_en.pdf 1

Figure 2: Select the Device in the Device List of the Trace Window Some settings in the trace configuration should be set to become a whole trace: Figure 3: Trace Configuration Dialog, Page Extended 1. For the buffer the number of entries can be in a range between 10000 and 100000. 2. The general options "Delete content at measurement start" and "Trace only when measurement is running" should be unselected to display also the CONNECT sequence and the DAQ list configuration in the Trace window. 3. Additionally to the trace buffer it is possible to write a log file to save also a huge number of CCP or XCP messages. SN-IMC-1-002_Trace_Analysing_CCP_XCP_en.pdf 2

3 Export of the Trace Information Information from the Trace window can be exported into a text document by copy and paste. Since CANape version 6.5 a log file can also be saved automatically from the Trace window. 3.1 Insert Protocol Information Into a Text File The content of the Trace window can be exported by the option Copy as Text in the context menu of the Trace window. After this you can open a text document and insert the protocol information with paste. Figure 4: Copy Content of the Trace Log to Clipboard In this case only the selected commands will be copied. With the Select All option in the context menu of the Trace window the whole content can be copied. Figure 5: Copy Content of Trace Log from Clipboard into a Text File SN-IMC-1-002_Trace_Analysing_CCP_XCP_en.pdf 3

3.2 Write a Text File Automatically With the option "Write log file" in the trace configuration it is possible to generate a trace log automatically. Figure 6: Trace Configuration Dialog, Page Extended The path and the file name can also be configured like the behavior of overwriting or extending an existing log file. When several devices or calibration processes are traced it can be that the messages are not traced in the correct order by time. But the logged strings in the log file cannot be sorted of course. If the log file should be sorted by time it is recommended to open and sort it in Excel. Make sure that the general options "Delete content at measurement start" and "Trace only when measurement is running" are deactivated. Only in doing so, the entire trace log is displayed from the connection setup to a stop command. SN-IMC-1-002_Trace_Analysing_CCP_XCP_en.pdf 4

4 Application Example The following short application example will show a way to analyze the communication between CANape and an ECU with a CCP or XCP protocol command. 4.1 Preconditions Please reduce the count of the signals in the measurement list to one or two signals. This is enough to check the functionality in general. Figure 7: Reduction of Amount of Signals in the Measurement Configuration The initial state in CANape should be the offline mode. The current state is displayed in the main window of CANape. Figure 8: Verification of the OFFLINE Status of CANape If the current state is ONLINE, please disconnect the device by the symbol in the toolbar or (with a double click) in the Device window. SN-IMC-1-002_Trace_Analysing_CCP_XCP_en.pdf 5

Figure 9: Going ONLINE in CANape Finally, please empty the Trace window by the option Clear All in the context menu or via the symbol in the toolbar of the Trace window. Figure 10: Delete Existing Messages in the Trace Window 4.2 Working Instruction First of all please change the current state of the device to ONLINE. You can do this for example by the online symbol in the toolbar or (with a double click) in the Device window. Figure 11: Go ONLINE in CANape SN-IMC-1-002_Trace_Analysing_CCP_XCP_en.pdf 6

It is important that the information in the Trace window is starting with the command CONNECT. If you save the information into a text file, make sure that the first protocol command will also be the CONNECT command. Figure 12: Connection Establishment Shown by the Command CONNECT After the CONNECT command every device can have different protocol commands in the Trace window. This depends on the different driver settings of the device, the protocol type and some other things. The second step is to start the measurement. You can do this by the symbol in the toolbar: Figure 13: Start Measurement Before the measurement starts, some other protocol commands could be sent like the DAQ list configuration. Figure 14: Display of the DAQ List Configuration Before Measurement Results SN-IMC-1-002_Trace_Analysing_CCP_XCP_en.pdf 7

Last of all, please stop the measurement by the symbol in the toolbar: Figure 15: Stop Measurement 4.3 Summary Please check if all protocol commands are available in the Trace window. Starting with the protocol command CONNECT Figure 16: Command CONNECT until the protocol command START_STOP_SYNCH, START_STOP_ALL or START_STOP. Figure 17: Command START_STOP_SYNCH The content of the Trace window can be exported by the context menu options Select All and Copy as Text. After this you can open a text document and insert the protocol information with paste. Figure 18: Copy Content of the Trace Window SN-IMC-1-002_Trace_Analysing_CCP_XCP_en.pdf 8

If you have saved the protocol commands into the text file, please check if the text file begins with the protocol command CONNECT and ends with one of the START_STOP_* commands. Figure 19: Checking the Completeness of the Trace Log SN-IMC-1-002_Trace_Analysing_CCP_XCP_en.pdf 9

5 Contacts Please find the contacts of Vector Informatik GmbH and all subsidiaries worldwide via: http://www.vector.com/vi_addresses_en.html SN-IMC-1-002_Trace_Analysing_CCP_XCP_en.pdf 10