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 |
API |
Application programming interface. Used here of the python surface a plugin is written
against - |
ARXML |
AUTOSAR XML, the interchange format of an AUTOSAR tool chain. DDD writes none; it is named as an example of what a consumer of the resolved dictionary could produce. |
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.
|
ASCII |
American Standard Code for Information Interchange, the 128 character encoding whose
printable range is what a string |
AUTOSAR |
AUTomotive Open System ARchitecture, an automotive software standard. DDD does not
target it; its |
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, each one subscribed to an event. DDD writes which event a measurement belongs to when a raster names one; the module level list that configures the events themselves is 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
|
GCC |
The GNU Compiler Collection, the compiler the container compiles the generated c with,
under |
IEEE 754 |
The floating point standard the |
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 - |
ISO |
International Organization for Standardization. Named here for the ISO C spelling of
the integer types - |
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. |
MISRA |
The guidelines of the Motor Industry Software Reliability Association for c in safety
related software. DDD takes no position on them: a project that needs a deviation
record above every |
MSVC |
The Microsoft Visual C++ compiler. Named on the build integration page, whose recipes guard a compiler flag with |
NaN |
Not a number, the IEEE 754 value that is equal to nothing including itself. A limit or an initial value may not be one: every comparison against it is false, so it would pass every range check in silence, and no output format can carry it. |
NVM |
Non-volatile memory, storage that survives a power cycle. One of the kinds of memory a declared section stands for; DDD carries the section name and the linker decides what it means. |
OIDC |
OpenID Connect, the protocol behind trusted publishing: GitHub mints a short lived token for the publishing job and the package index decides whether the claims in it match a publisher somebody registered, so no API token is stored in the repository. |
PEP |
Python Enhancement Proposal. PEP 440 says what a version of a python package may be, which is why the development builds on TestPyPI cannot carry their commit in theirs. |
RAM |
Random access memory, the volatile storage a measurement normally lives in. Named in the checks for what a section usually stands for. |
ROM |
Read-only memory, the storage a calibration value normally lives in - often behind an emulation overlay so that a calibration tool can write it. Another of the kinds of memory a declared section stands for. |
UTF-16 |
The two byte Unicode encoding Windows PowerShell 5.1 re-encodes redirected output in,
which is why |
VSIX |
The package format of a Visual Studio Code extension. The |
WSL |
The Windows Subsystem for Linux, where docker speaks linux containers on a Windows machine. It is where the compose services of this repository are run from. |
XCP |
Universal Measurement and Calibration Protocol, the successor of CCP. An exported
measurement with a raster reaches the generated a2l with
an |
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 software writes and the calibration tool measures. 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, unit and display format and shares it, so two objects scaled the same way in the same unit, and displayed with the same format, 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. |
|
An interface specific block, whose content is defined by the interface it names rather
than by ASAP2 itself. DDD writes exactly one kind, |
|
The XCP block inside that |
|
The events a |
|
One entry of that list: the event channel number, which is the number the
|
|
A named collection of measurements and characteristics, used to organise the objects in the calibration tool. DDD emits one per component that exports at least one object, containing exactly the objects that component declares and that are present in the file. |