Measurement and Calibration Using XCPonSoAd (Ethernet)
Features at a Glance
The XCPonSoAd device is an Ethernet device in INCA, which enables you to communicate with XCP on CAN devices through a gateway that implements an AUTOSAR Socket Adaptor.
Commands (CMD objects) sent by INCA to the ECU are packed into AUTOSAR PDUs by INCA. The gateway interprets the PDUs, extracts the commands and forwards them as CAN frames to the target ECU.
Responses from the ECU and DAQ data on the CAN bus are packed into PDUs, which include an AUTOSAR header by the gateway. This AUTOSAR header is interpreted by INCA.
Note |
|---|
Specifications for implementing XCP in ETAS calibration systems can be obtained directly from ETAS |
Example A2L File
You can find the example A2L file XCPonSoAd.a2l at the following location:
...\ETASData\INCA7.x\Data\Demo
Preparation of the A2L File
To use the XCPonSoAd device in INCA, the A2L file must contain the following extensions:
IF_DATA XCPplus
The A2L file must contain an XCP on CAN transport layer that complies with the XCP specification. For XCPonSoAd, XCPplus must be used. Additionally, the TRANSPORT_LAYER_INSTANCE must provide a meaningful name, which is used to link to the SoAd gateway parameters.
IF_DATA XCPextensions
This part contains the description of the SoAd parameters in send and receive direction. Current version is 0x100, the MSB represents the major version and LSB represents the minor version.
Parameters for CMD and STIM direction, all are mandatory:
SOAD_CLIENT_DESTINATION_PORT; the destination port on Gateway side
SOAD_CLIENT_DESTINATION_ADDRESS; destination IP-Address of Gateway
SOAD_CLIENT_SOURCE_PORT; source port on tool side
SOAD_CLIENT_SOURCE_ADDRESS; source IP-Address of the tool
SOAD_CLIENT_AUTOSAR_MESSAGE_ID; ID of AUTOSAR PDU header
Parameters for RES, DAQ and EV direction, all are mandatory:
SOAD_SERVER_DESTINATION_PORT; destination port on tool side
SOAD_SERVER_DESTINATION_ADDRESS; destination IP-Address of the tool
SOAD_SERVER_AUTOSAR_MESSAGE_ID; ID of AUTOSAR PDU header
The LINKED_TRANSPORT_LAYER_INSTANCE corresponds to the TRANSPORT_LAYER_INSTANCE of XCP and links a transport layer to the tunnel parameters. The name of this item is also displayed in the INCA hardware configuration editor as the transport layer instance of the XCPonSoAd device.
AML XCPextensions
The A2L file must contain the AML XCPextensions. These are already integrated in the XCPonSoAd.a2l demo file , which you can find under ...\ETASData\INCA7.x\Data\Demo.
IP Address
The XCPonSoAd device does not use the Windows TCP/IP stack. IP-Addressing is handled by INCA.
See also
