Can I use a Speedgoat real-time target as an XCP Client device for ECU bypassing?

20 Ansichten (letzte 30 Tage)
Can I use a Speedgoat real-time target as an XCP Client device (formerly XCP Master device), for example, to do ECU testing via ECU bypassing?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 30 Okt. 2025 um 0:00
Bearbeitet: MathWorks Support Team am 30 Okt. 2025 um 13:12
Simulink Real-Time (SLRT) can be used in XCP Client mode (formerly XCP Master mode) to replace (bypass) a subsystem of the ECU controller by acquiring internal signals and stimulating or injecting new values back into the ECU.
As of R2024b, Simulink Real-Time provides the following XCP Client capabilities: 
  • Support for XCP over CAN, CAN-FD and UDP
  • Load A2L file that represents the ECU memory layout, signals, and parameters characteristics
  • DAQ – Data acquisition from the ECU during runtime (data is available in the model)
  • STIM – Data stimulation on the ECU during runtime (data is stimulated from the model) 
An overview of relevant blocks and the basic workflow can be found here:XCP Client Mode - MATLAB & Simulink (mathworks.com)
For such ECU testing applications, it is typically required to calibrate and measure ECU parameters and signals. As of R2024b, a second connection to the ECU is required for calibration. You can use the 'Vehicle Network Toolbox' MATLAB functions readCharacteristic and writeCharacteristic, or tools such as Vector CANape® and ETAS® Inca.
The following webinar provides an overview of all XCP capabilities with Simulink Real-Time:
NOTE: This webinar was recorded in 2018, and Simulink Real-Time went through a major update in R2020b. Some features shown in the webinar have changed or been deprecated. For example, Target Scopes and the "Generate INCA/CANape extensions" model parameter (shown at 10:46) are no longer available.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by