Log XCP on CAN data

XCP on CAN is a protocol often used in prototype development in automotives.

In this section we provide tips on how to log XCP on CAN data with your CANedge.

Note

We strongly recommend that you read our XCP intro and A2L intro before proceeding


Configure your device

The CANedge can be used to record XCP on CAN data by initializing dynamic DAQ lists.

For this purpose you should use our canedge-xcp Python tool. This lets you provide an A2L file and a CSV with measurements you wish to record. The script then creates a ‘transmit list’ for the CANedge for initializing the DAQ lists and a DBC for decoding the data.

If you have any questions on using the script, contact us.

XCP on CAN DAQ lists

Record XCP on CAN data

To log XCP on CAN data, simply connect the CANedge (with the generated Configuration File) to your XCP on CAN application using a suitable adapter cable. The device will initialize the DAQ lists and start recording the ECU response data.


DBC decode XCP on CAN data

To DBC decode XCP on CAN data you need the associated DBC file - specifically the DBC file created by the canedge-xcp tool, which matches the transmit list your device is using.

You can decode your data via the processing tools - we recommend to start with asammdf.