XCP Calibration for Autosar Adaptive Linux Executables

11 visualizaciones (últimos 30 días)
Jens
Jens el 23 de Jul. de 2025
Respondida: Ronit el 12 de Ag. de 2025
Hello,
Is it possible - and if so, how - to calibrate parameters via XCP for applications built with the AUTOSAR Adaptive Linux Executable Toolchain?
The calibration procedure is described here:
“The XCP and ASAP2 capabilities are defined outside the Adaptive Platform (AP) specification, which as of Release 19‑11 does not address data calibration.”
In my AUTOSAR  Adaptive model, I cannot configure a parameter’s storage class to ExportedGlobal.
Thank you very much for your reply!

Respuestas (1)

Ronit
Ronit el 12 de Ag. de 2025
Hello @Jens,
You are correct that the AUTOSAR Adaptive Platform specification (as of Release 19-11) does not cover XCP or ASAP2 (A2L) based calibration and measurement. This means that, according to the standard, there is no defined method for run-time parameter calibration in Adaptive applications.
However, support for XCP server communication and ASAP2 file generation is available for AUTOSAR Adaptive applications created with certain tools. This enables you to perform run-time calibration and measurement on Linux executables generated from Simulink models, even though it is not part of the official AUTOSAR Adaptive specification.
Refer to the following steps for more details:
  • Create a "Simulink.Parameter" in base workspace and set the storage class to "ExportedGlobal" to make it a tunable parameter.
  • Mark any signals you want to measure as test points.
  • In the model configuration, set up the XCP server (for example, choose "XCP On TCP/IP" and specify the IP address and port).
  • Use the "Generate Calibration Files" option to create the ASAP2 (A2L) file.
  • Build and deploy the application to your Linux target using the recommended workflow (such as Linux Runtime Manager).
  • You can then connect with calibration tools that support XCP and A2L for measurement and tuning.
I hope the above steps help you resolve your query!

Categorías

Más información sobre AUTOSAR Blockset en Help Center y File Exchange.

Productos


Versión

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by