XCP Transforms can be used for data acquisition and flash programming a SUT over a CAN bus. This sample shows how to use XCP ports and Signals. Normally XCP is used with a hardware SUT, but for purposes of this sample, the SUT is simulated by MxVMC Transforms.
Click here to download the project: https://github.com/DanlawMxTeam/Samples/raw/master/XCP.rar
•MxSuite 3.41.14 or later
This sample includes the following:
•Two ASAP2 A2L files in the project folder:
oA DBC file, CanBus.dbc
•Two MxVMC Transforms to simulate a SUT. Source code for the VMCs is not provided.
•Two XCP Transforms. The ports and properties on the Transforms are described here.
Each TestCase in the sample includes one of more XCP_Config, XCP_Connect, and XCP_Ready Signals. For information about these Signals, see Setting Up a TestCase.
CCP/XCP Reference (commands and error codes)