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
getStatus | Return status of root inports stimulation of model on target computer |
pause | Pause stimulation of root inports of model on target computer |
reloadData | Reload data signal of root inports of model on target computer |
start | Start stimulation of root inports of model on target computer |
stop | Stop stimulation of root inports of model on target computer |
copyPage | Copy one calibration page to another in the real-time application |
getECUPage | Get current page number used by ECU on real-time application |
getNumPages | Get number of pages in memory for real-time application |
getXCPPage | Get current page number used by XCP on real-time application |
setECUAndXCPPage | Set memory pages used by XCP and ECU to selected memory page on real-time application |
setECUPage | Set memory page used by ECU to selected memory page on real-time application |
setXCPPage | Set memory page used by XCP to selected memory page on real-time application |
Blocks
XCP CAN Configuration | Configure XCP server connection |
XCP CAN Data Acquisition | Acquire selected measurements from configured server connection |
XCP CAN Data Stimulation | Perform data stimulation on selected measurements |
XCP CAN Transport Layer | Generate and consume XCP messages that are transported by CAN hardware |
XCP UDP Configuration | Configure XCP UDP server connection |
XCP UDP Data Acquisition | Acquire selected measurements from configured server connection |
XCP UDP Data Stimulation | Perform data stimulation on selected measurements |
XCP UDP Bypass | Connect 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.