Automatic code generation cannot generate A2L files when using DDS communication

조회 수: 3 (최근 30일)
Hello everyone,
I want to use XCP to calibrate system signals. But in my system, DDS commucnication is required. And the question occurs.
XCP need to add the A2L file to realize calibration. But the simulink system with DDS commucnication function cannot generate A2L file by automatic code generation.
So, how i to calibrate system signals in DDS system?
Thank you very much!

답변 (1개)

Abhishek Chakram
Abhishek Chakram 2024년 2월 8일
Hi hengyang wang,
Calibrating system signals in a DDS (Data Distribution Service) system when you cannot generate an A2L (ASAP2) file directly from Simulink can be challenging, as A2L files are typically used by calibration tools to identify and access variables within the ECU software. However, you can still approach this problem in the following ways:
  • If the automatic code generation does not support A2L file generation, you can manually create or edit an A2L file to include the necessary information for calibration. This process can be error-prone and time-consuming but may be necessary if no other options are available.
  • You can develop a middleware layer that bridges DDS communication with XCP or another calibration protocol. This layer would translate XCP commands to DDS messages and vice versa, allowing you to use standard calibration tools with DDS systems.
  • Develop a custom application or tool that interacts with DDS topics to monitor and modify variables. This tool would subscribe to DDS topics for monitoring and publish to DDS topics to change variable values. While not using XCP directly, this method leverages the DDS infrastructure for calibration purposes.
Best Regards,
Abhishek Chakram

카테고리

Help CenterFile Exchange에서 Get Started with DDS Blockset에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by