ADTF Calibration Toolbox
Loading...
Searching...
No Matches
XCP On FlexRay Filter

Plugin Information

Plugin Filenamexcp_on_flexray_filter.adtfplugin
Plugin Descriptionxcp_on_flexray_filter.plugindescription
Plugin NameXCP On FlexRay - Filter Plugin
LicenseADTF Subscription
Support Mailsupport@digitalwerk.net
Homepage URLhttps://adtf.dev/

Plugin Versions

Plugin Version3.99.99
Plugin File Version1.0
adtf::calibtb3.99.99
adtf3.21.0
adtf::ucom3.1.0

Component Information

NameXCP On FlexRay Filter
CIDxcp_on_flexray.filter.calibtb.cid
DescriptionUse this filter to communicate with ECUs that support XCP via FlexRay.
TypeFilter

Properties

NameValueTypeDescriptionSubproperties
Alignment-1tInt32This property indicates the alignment a slave uses for its XCP packets. If there should be used the settings from the corresponding A2L file, use the default '-1' setting.Value List:
-1 = -1
eFlexPackAlignment8 = 1
eFlexPackAlignment16 = 2
eFlexPackAlignment32 = 3Value Range:
minimum =
maximum = Filename Extension Filter:
ConcatenationfalsetBoolDefines if multiple XCP Frames can be concatenated into one buffer.Value Range:
minimum =
maximum = Filename Extension Filter:
FlexRay Channel-1tInt32The FlexRay Channel which should be used to sent and receive FlexRay-messages. If not specified, the settings from the current A2L file will be used.Value List:
-1 = -1
Channel A = 0
Channel B = 1Value Range:
minimum =
maximum = Filename Extension Filter:
Ignore FlexRay ChanneltruetBoolIf true it is ignored if a signals is sent at ChannelA or ChannelB.Value Range:
minimum =
maximum = Filename Extension Filter:
Message CounterfalsetBoolIf sequence correcting should be possible, the slave has to use a header type that contains the CTR field. The 1-byte field CTR allows to detect missing packets and to correct sequencing errors.Value Range:
minimum =
maximum = Filename Extension Filter:
NAX-1tInt32If multiple XCP slaves want to use the same LPDU_ID in the direction from master to slave, the slaves are distinguished by their Node Address for XCP (NAX). If specified, the configuration uses this integer as NAX. Otherwise the settings from the A2L file will be used.Value Range:
minimum =
maximum = Filename Extension Filter:
Slave ModefalsetBoolEnables slave mode, for use with the 'XCP Emulator' - Filter.Value Range:
minimum =
maximum = Filename Extension Filter:
XCP FlexRay Header Type-1tInt32Header types for first XCP message of a FlexRay frame. If no Header type is specified, the system will use the XCP FlexRay Header Type from the current A2L fileValue List:
-1 = -1
eFlexHeaderNax = 0
eFlexHeaderNaxFill = 1
eFlexHeaderNaxCtr = 2
eFlexHeaderNaxFill3 = 3
eFlexHeaderNaxCtrFill2 = 4
eFlexHeaderNaxLen = 5
eFlexHeaderNaxCtrLen = 6
eFlexHeaderNaxFill2Len = 7
eFlexHeaderNaxCtrFillLen = 8Value Range:
minimum =
maximum = Filename Extension Filter:
log_channels/default/fatal_action2tUInt32The default action when a fatal error is reported.Value List:
Stop session = 2
Shutdown ADTF = 3
Abort to crash handler = 4Value Range:
minimum =
maximum = Filename Extension Filter:
log_channels/default/log_level35tUInt32The log level for this channel.Value List:
None = 0
Error = 10
Warning = 20
Info = 30
Detail = 35
Dump = 40
All = 255Value Range:
minimum =
maximum = Filename Extension Filter:
log_channels/default/recoverable_action0tUInt8The action to perform when a recoverable error is reported.Value List:
Log only = 0
Treat as fatal = 1Value Range:
minimum =
maximum = Filename Extension Filter:

Input Pins

NameStream TypeDescription
flx_msg_in adtf/devicetb/flexray Incomming FlexRay frames from the connected ECU.
xcp_frames_in adtf/calibtb/xcp_frames Incoming XCP frames from the connected 'XCP Master'.

Output Pins

NameStream TypeDescription
flx_msg_out adtf/devicetb/flexray Outgoing FlexRay frames to the connected ECU.
xcp_frames_out adtf/calibtb/xcp_frames Outgoing XCP frames to the connected 'XCP Master'.

Runner Pins

NameActivation TypeData TriggeredData InputThread TriggeredThread CyclicTimer TriggeredTimer IntervalDescription
process_flx_msg_in91flx_msg_in0000Default runner port for the input pin 'flx_msg_in'
process_xcp_frames_in91xcp_frames_in0000Default runner port for the input pin 'xcp_frames_in'

Output Binding Objects

NameIIDProxy OIDDescription
xcp_masterxcp_master.aconcagua.calibtb.adtf.iidNecessary connection to the 'XCP Master' - Filter

Dynamic Pins

Dynamic Input Pinsfalse
Dynamic Output Pinsfalse
Dynamic Input Binding Pinsfalse
Dynamic Output Binding Pinsfalse

Required Interfaces

IID
flexray_database.axle.flexray.sdk.devicetb.adtf.iid

Input Pin Stream Types

Pin Nameflx_msg_in
Meta Type Nameadtf/devicetb/flexray
Stream Type Properties
NameValueTypeDescriptionSubproperties
channel1cStringValue Range:
minimum =
maximum = Filename Extension Filter:
clustercStringValue Range:
minimum =
maximum = Filename Extension Filter:
databasecStringValue Range:
minimum =
maximum = Filename Extension Filter:
md_data_serializedfalsetBoolValue Range:
minimum =
maximum = Filename Extension Filter:
md_definitions
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?><adtf:ddl xmlns:adtf="adtf"><enums><enum name="tFR_TAG" type="tUInt8"><element name="FR_TAG_CYCLESTART" value="1" /><element name="FR_TAG_FRAME" value="2" /><element name="FR_TAG_INVALID" value="0" /><element name="FR_TAG_PDU" value="3" /><element name="FR_TAG_SYNC" value="4" /></enum></enums><structs><struct name="tFlexRayData" alignment="1" version="1"><element type="tUInt16" name="nSize" bytepos="0" arraysize="1" byteorder="LE" alignment="1"/><element type="tFR_TAG" name="nTag" bytepos="2" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt8" name="nReserved" bytepos="3" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt64" name="nTimeStamp" bytepos="4" arraysize="1" byteorder="LE" alignment="1"/></struct></structs></adtf:ddl>
cStringValue Range:
minimum =
maximum = Filename Extension Filter:
md_structtFlexRayDatacStringValue Range:
minimum =
maximum = Filename Extension Filter:
projectcStringValue Range:
minimum =
maximum = Filename Extension Filter:

Pin Namexcp_frames_in
Meta Type Nameadtf/calibtb/xcp_frames
Stream Type Properties
NameValueTypeDescriptionSubproperties
md_data_serializedfalsetBoolValue Range:
minimum =
maximum = Filename Extension Filter:
md_definitions
<struct name="tXcpFrame" alignment="1" version="1"> <element name="eDirection" type="tUInt32" arraysize="1"> <deserialized alignment="1"/> <serialized byteorder="LE" bytepos="0"/> </element> <element name="tmReceiveTime" type="tInt64" arraysize="1"> <deserialized alignment="1"/> <serialized byteorder="LE" bytepos="4"/> </element> <element name="ui16Counter" type="tUInt16" arraysize="1"> <deserialized alignment="1"/> <serialized byteorder="LE" bytepos="12"/> </element> <element name="ui16Length" type="tUInt16" arraysize="1"> <deserialized alignment="1"/> <serialized byteorder="LE" bytepos="14"/> </element> <element name="aui8Packet" type="tUInt8" arraysize="ui16Length"> <deserialized alignment="1"/> <serialized byteorder="LE" bytepos="16"/> </element></struct>
cStringValue Range:
minimum =
maximum = Filename Extension Filter:
md_structtXcpFramecStringValue Range:
minimum =
maximum = Filename Extension Filter:
xcp_configcStringValue Range:
minimum =
maximum = Filename Extension Filter:

Output Pin Stream Types

Pin Nameflx_msg_out
Meta Type Nameadtf/devicetb/flexray
Stream Type Properties
NameValueTypeDescriptionSubproperties
channel1cStringValue Range:
minimum =
maximum = Filename Extension Filter:
clustercStringValue Range:
minimum =
maximum = Filename Extension Filter:
databasecStringValue Range:
minimum =
maximum = Filename Extension Filter:
md_data_serializedfalsetBoolValue Range:
minimum =
maximum = Filename Extension Filter:
md_definitions
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?><adtf:ddl xmlns:adtf="adtf"><enums><enum name="tFR_TAG" type="tUInt8"><element name="FR_TAG_CYCLESTART" value="1" /><element name="FR_TAG_FRAME" value="2" /><element name="FR_TAG_INVALID" value="0" /><element name="FR_TAG_PDU" value="3" /><element name="FR_TAG_SYNC" value="4" /></enum></enums><structs><struct name="tFlexRayData" alignment="1" version="1"><element type="tUInt16" name="nSize" bytepos="0" arraysize="1" byteorder="LE" alignment="1"/><element type="tFR_TAG" name="nTag" bytepos="2" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt8" name="nReserved" bytepos="3" arraysize="1" byteorder="LE" alignment="1"/><element type="tUInt64" name="nTimeStamp" bytepos="4" arraysize="1" byteorder="LE" alignment="1"/></struct></structs></adtf:ddl>
cStringValue Range:
minimum =
maximum = Filename Extension Filter:
md_structtFlexRayDatacStringValue Range:
minimum =
maximum = Filename Extension Filter:
projectcStringValue Range:
minimum =
maximum = Filename Extension Filter:

Pin Namexcp_frames_out
Meta Type Nameadtf/calibtb/xcp_frames
Stream Type Properties
NameValueTypeDescriptionSubproperties
md_data_serializedfalsetBoolValue Range:
minimum =
maximum = Filename Extension Filter:
md_definitions
<struct name="tXcpFrame" alignment="1" version="1"> <element name="eDirection" type="tUInt32" arraysize="1"> <deserialized alignment="1"/> <serialized byteorder="LE" bytepos="0"/> </element> <element name="tmReceiveTime" type="tInt64" arraysize="1"> <deserialized alignment="1"/> <serialized byteorder="LE" bytepos="4"/> </element> <element name="ui16Counter" type="tUInt16" arraysize="1"> <deserialized alignment="1"/> <serialized byteorder="LE" bytepos="12"/> </element> <element name="ui16Length" type="tUInt16" arraysize="1"> <deserialized alignment="1"/> <serialized byteorder="LE" bytepos="14"/> </element> <element name="aui8Packet" type="tUInt8" arraysize="ui16Length"> <deserialized alignment="1"/> <serialized byteorder="LE" bytepos="16"/> </element></struct>
cStringValue Range:
minimum =
maximum = Filename Extension Filter:
md_structtXcpFramecStringValue Range:
minimum =
maximum = Filename Extension Filter:
xcp_configcStringValue Range:
minimum =
maximum = Filename Extension Filter: