- 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.
Automatic code generation cannot generate A2L files when using DDS communication
6 次查看(过去 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!
0 个评论
回答(1 个)
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:
Best Regards,
Abhishek Chakram
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with DDS Blockset 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!