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

20 ビュー (過去 30 日間)
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?

採用された回答

MathWorks Support Team
MathWorks Support Team 2025 年 10 月 30 日 0:00
編集済み: MathWorks Support Team 2025 年 10 月 30 日 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.

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by