Calibration Access
ASCET allows a three-step configuration of calibration access to elements. In non-AUTOSAR projects, information on calibration access is required for the ASAM-MCD-2MC (*.a2l) generation. In AUTOSAR projects, this information is required for the generation of the AUTOSAR descriptions (*.arxml files).
The following calibration access settings are available:
- no access (in AUTOSAR R4: NotAccessible)
read-only (in AUTOSAR R4: ReadOnly)
Read-only access is available for variables, messages, parameters, and system constants.
read/write (in AUTOSAR R4: ReadWrite)
Read/write access is available for parameters and system constants.
If a variable or message has read-only access, it is included in the *.a2l file. If the read-only access of the variable or message is disabled, i.e. the variable or message is set to no access, it is not included in the *.a2l file.
If a parameter has read/write access, it is included in the *.a2l file. If write access is disabled, i.e. the parameter has read-only access, it is included in the *.a2l file and gets the keyword READ_ONLY. If the target option Generate Calibration Access is activated, the keyword CALIBRATION_ACCESS is added to the ASAM-MCD-2MC description of the parameter, according to the following table.
read/write access | CALIBRATION_ACCESS CALIBRATION | |
read-only access | CALIBRATION_ACCESS NO_CALIBRATION |
If even the read-only access is disabled, i.e. the parameter is set to no access, it is not included in the *.a2l file.
When you open a database/workspace from ASCET V6.2 or older, or import such old models in ASCET, the two-step calibration access setting (calibration activated or deactivated) is migrated to the three-step configuration as follows:
old calibration setting | current calibration settings | |||
variables | parameters | system constants | constants | |
activated | read | read + write | read + write | no access |
deactivated | no access | read | read | no access |
See also