Main Content

XCP

Stimulus and measurement with XCP in master mode

The Universal Measurement and Calibration Protocol (XCP) is a network protocol for connecting calibration systems to electronic control units (ECUs). To receive measurement values and send stimulation data for bypassing ECU code, use XCP blocks to implement a real-time application that runs in XCP master mode.

Functions

getStatusReturn status of root inports stimulation of model on target computer
pausePause stimulation of root inports of model on target computer
reloadDataReload data signal of root inports of model on target computer
startStart stimulation of root inports of model on target computer
stopStop stimulation of root inports of model on target computer
copyPageCopy one calibration page to another in the real-time application
getECUPageGet current page number used by ECU on real-time application
getNumPagesGet number of pages in memory for real-time application
getXCPPageGet current page number used by XCP on real-time application
setECUAndXCPPageSet memory pages used by XCP and ECU to selected memory page on real-time application
setECUPageSet memory page used by ECU to selected memory page on real-time application
setXCPPageSet memory page used by XCP to selected memory page on real-time application

Blocks

XCP CAN ConfigurationConfigure XCP server connection
XCP CAN Data AcquisitionAcquire selected measurements from configured server connection
XCP CAN Data StimulationPerform data stimulation on selected measurements
XCP CAN Transport LayerGenerate and consume XCP messages that are transported by CAN hardware
XCP UDP ConfigurationConfigure XCP UDP server connection
XCP UDP Data AcquisitionAcquire selected measurements from configured server connection
XCP UDP Data StimulationPerform data stimulation on selected measurements
XCP UDP BypassConnect the function-call outport to a function-call subsystem

Topics

XCP Master Mode

Learn about Simulink® Real-Time™ support for XCP master mode.

Control and Update Stimulation of Inports to Real-Time Application

Stimulate the root inports of the application running on target computer.