Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

A2L File Management

Use an A2L file to allow communication between XCP master and slave modules via XCP

An A2L file is a special description file that defines the implementation of an ECU. The information in an A2L file allows an XCP master to communicate with a slave module via an XCP connection. The formatted text file contains event and measurement definitions, and other configuration information, used for acquiring and stimulating data and to perform other functions.

To communicate with an XCP slave over CAN, an A2L file (ECU description file) must contain at least the following property information:

  • ProtocolLayerInfo

  • TransportLayerCANInfo

  • Measurements

  • DAQInfo and Events

    • MATLAB®: DAQInfo and Events content is required if using dynamic DAQ list functionality.

    • Simulink®: Because the XCP Data Acquisition block uses dynamic DAQ list functionality, DAQInfo and Events content is required.

Functions

xcpA2LAccess A2L file
getEventInfoGet event information about specific event from A2L file
getMeasurementInfoGet information about specific measurement from A2L file

Properties

EventsDisplay A2L events list
MeasurementsDisplay A2L measurements list
DAQInfoData acquisition information in A2L file
SlaveNameName of connected slave
FileNameName of referenced A2L file
FilePathPath of A2L file
ProtocolLayerInfoProtocol layer information
TransportLayerCANInfoCAN transport layer information

Blocks

XCP ConfigurationConfigure XCP slave connection

Topics

XCP Database and Communication Workflow

Workflow diagram for XCP channel and A2L database configuration.

Inspect the Contents of an A2L File

Access A2L file measurement and event information

Featured Examples

Was this topic helpful?