Acronyms
The vocabulary of this documentation comes from two worlds that rarely overlap in one head: the embedded software project, which speaks of components, images and linkers, and the measurement and calibration world, whose file format is a list of upper case keywords with thirty years of history behind them. The two tables below expand both, and say - where it makes a difference - what the term means for DDD in particular.
Acronyms and abbreviations
Term |
Meaning |
|---|---|
A2L |
The file extension, and by extension the common name, of the ASAM MCD-2 MC description
of an ECU. DDD generates one per project, named |
ASAM |
Association for Standardisation of Automation and Measuring Systems, the body that publishes the MCD-2 MC standard the generated a2l follows. |
ASAP2 |
The former name of ASAM MCD-2 MC, still used for the version number of the format.
|
CCP |
CAN Calibration Protocol, the older of the two protocols a calibration tool uses to
reach the values described by an a2l. DDD describes the data, not the transport: no
generated file contains an |
CI |
Continuous integration, the automated build that runs the checks on every change. DDD
is built for it: every command that produces findings also produces them as json with
|
DAQ |
Data acquisition, the mechanism by which an XCP slave sends measured values cyclically. The lists that configure it are not part of what DDD writes. |
DDD |
The tool this documentation describes: a data dictionary for the global variables of a
component based embedded software project. The same three letters name the command,
the importable python package and the double extension of the description files,
|
DWARF |
The debugging data format usually embedded in an ELF file, which describes the symbols
of the compiled software. DDD does not read it: the addresses it needs for the a2l are
supplied as a json map with |
ECU |
Electronic control unit, a piece of electronic hardware running the software whose
variables DDD describes. The term appears in the a2l keywords - |
ELF |
Executable and Linkable Format, the format of the linked software image on most
toolchains. It is the artefact whose link step decides the addresses that later go
into the a2l, and the file an a2l address patcher resolves the generated
|
IR |
Intermediate representation: the resolved data dictionary that sits between the
checking front end and the output backends, with every limit filled in, every shape
worked out and the producing component’s definition selected. It is a published
contract rather than an internal detail - |
json |
JavaScript Object Notation, the format of every file DDD reads: the project and component descriptions, the address map, the archived dictionary used as a comparison baseline, and the machine readable diagnostics. |
MCD-2 MC |
Measurement, Calibration and Diagnostics, part 2, Measurement and Calibration: the formal ASAM name of the format everybody calls a2l. |
XCP |
Universal Measurement and Calibration Protocol, the successor of CCP. As with CCP, DDD
generates no |
a2l keywords
These are the keywords that appear in the files DDD generates, and therefore in the generated artefacts chapter and in the faq. They are listed here in the order in which they build on each other rather than alphabetically, so that the table can be read as a description of one file.
Keyword |
Meaning |
|---|---|
|
Version of the format the file is written in. DDD writes |
|
Module wide defaults: the alignment of each datatype and the byte order, which
|
|
One quantity the calibration tool may only read, because the software writes it. Every
object of kind |
|
One quantity the calibration tool may write, because the software never does.
Parameters, value blocks, curves and maps all become one, distinguished by their type
field: |
|
The |
|
The break points of a shared axis, stored once as a record of their own so that every curve and map over the same axis can point at them instead of repeating them. |
|
The description, inside a curve or a map, of one of its axes: which attribute it has, which quantity indexes it, how many points it holds and within which limits. |
|
The |
|
The reference from an |
|
How the bytes of an object are laid out in memory. DDD emits one per datatype and
storage category and shares it between all objects that deposit into it, which is why
the generated names read |
|
The index mode inside a |
|
The rule that converts a raw value into a physical one, together with the unit and the display format. DDD emits one per distinct conversion and unit and shares it, so two objects scaled the same way in the same unit refer to the same method. |
|
The |
|
The |
|
That verbal table itself - the list of raw values and the text shown for each of them.
DDD emits one per enum conversion, filled with the enumerator names, so that a
calibration tool displays |
|
The placeholder written instead of a method name for an object that has neither a conversion nor a unit, and whose raw value is therefore already the physical one. |
|
The dimensions of an array, fastest index first - the reverse of the c declaration
order. Version 1.6.1 carries exactly three, so an array of eight elements is written
|
|
The address of an object in the target, as it appears on a |
|
The name of the symbol an object corresponds to in the linked software, plus an offset. DDD always writes it, so that an address patcher can fill the addresses in after the link even when no address map was given. |
|
A named collection of measurements and characteristics, used to organise the objects in the calibration tool. DDD emits one per component, containing exactly the objects that component declares and that are present in the file. |