No project description provided
Project description
a2ltool
A tool to edit, merge and update a2l files
Features of a2ltool
- update the addresses of measurement variables and tunable parameters (characteristics) based on the elf file containing the compiled embedded application
- merge multiple a2l files into a single file
- add new measurements or characteristics based on the elf file
- check a2l files for consistency
- display XCP connection parameters embedded in the a2l file, if any exist
- maintain the formatting and ordering of items in the a2l file during manipulation, so that the diff between the original and the updated/modified file is as small as possible
- Supports files up to a2l version 1.71 (current)
Installation
a2ltool binaries are available on the releases page. You can get pre-built binaries for Windows (x64) and Linux (x64) there.
For any other platform you can compile a2ltool using cargo build --release.
Usage
Refer to the manual for a detailed description of the features and options of a2ltool.
Examples
The following examples show how to use a2ltool for common use cases:
Merge two A2L files
a2ltool file1.a2l --merge file2.a2l --output merged.a2l
Merge multiple A2L files
a2ltool file1.a2l --merge file2.a2l --merge file3.a2l --merge file4.a2l --output merged.a2l
Merge all included files into the main file
a2ltool file1.a2l --merge-includes --output flat.a2l
Update the addresses and other data in an A2L file
a2ltool input.a2l --elffile input.elf --update --output updated.a2l
Update the addresses and other data in an A2L file, while keeping invalid elements
a2ltool input.a2l --elffile input.elf --update --update-mode PRESERVE --output updated.a2l
Update only the addresses in an A2L file, and exit with an error if any other A2L elements are incorrect
a2ltool input.a2l --elffile input.elf --update ADDRESSES --update-mode STRICT --output updated.a2l
Create a new A2L file and add a characteristic from an ELF file to it
a2ltool --create --elffile input.elf --characteristic my_var --output newfile.a2l
Create a new A2L file and add multiple measurements from an ELF file to it using a regular expression
a2ltool --create --elffile input.elf --measurement-regex ".*name_pattern\d\d+*" --output newfile.a2l
Create a new A2L file and add multiple measurements from an ELF file to it using an address range
a2ltool --create --elffile input.elf --measurement-range 0x1000 0x3000 --output newfile.a2l
Change the version of an A2L file, while deleting any incompatible elements
a2ltool input.a2l --a2lversion 1.5.1 --output downgraded.a2l
Check an A2L file for consistency
a2ltool input.a2l --check --strict
Use response files containing command arguments
Assume that the file a2ltool.rsp exists and contains valid arguments for a2ltool.
a2ltool @a2ltool.rsp
About A2L Files
A2L files describe measurement variables and tunable parameters of an embedded device (typically, an automotive ECU).
The consumer of the A2L file typically allows online calibration over a protocol such as XCP and/or offline tuning by generating flashable parameter sets. Several commercial tools are available for this purpose.
The A2L file format is specified by ASAM and is formally called ASAM MCD-2 MC.
License
a2ltool is dual-licensed under the MIT and Apache2 licenses.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file a2ltool-3.4.0-py3-none-win_amd64.whl.
File metadata
- Download URL: a2ltool-3.4.0-py3-none-win_amd64.whl
- Upload date:
- Size: 2.4 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff112d1edceb325f75268bd2fb909561dded6a4888c5c167e0837ea4d1bfc37d
|
|
| MD5 |
78e955c5616f11daed9b952580dd8f4f
|
|
| BLAKE2b-256 |
ab3e9423033fbc7a8f261fe5f2e79c652d434a60680e63ea3ccd081e35f486db
|
Provenance
The following attestation bundles were made for a2ltool-3.4.0-py3-none-win_amd64.whl:
Publisher:
buildwheels.yml on DanielT/a2ltool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
a2ltool-3.4.0-py3-none-win_amd64.whl -
Subject digest:
ff112d1edceb325f75268bd2fb909561dded6a4888c5c167e0837ea4d1bfc37d - Sigstore transparency entry: 2203573197
- Sigstore integration time:
-
Permalink:
DanielT/a2ltool@234bdd12cce90945b0efa9e0df8fd71b0e187c3d -
Branch / Tag:
refs/tags/v3.4.0 - Owner: https://github.com/DanielT
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
buildwheels.yml@234bdd12cce90945b0efa9e0df8fd71b0e187c3d -
Trigger Event:
push
-
Statement type:
File details
Details for the file a2ltool-3.4.0-py3-none-win32.whl.
File metadata
- Download URL: a2ltool-3.4.0-py3-none-win32.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 3, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51837ec857d03534d32cd5d483a527a3aba3f56f5e2c0b68960594090cae0b60
|
|
| MD5 |
fefb2beefda6a2b98aad83fd5b770036
|
|
| BLAKE2b-256 |
6eac181c5be511774fb3bd945f2feef385ba1ba45b1792a09c1166c1be5c81bf
|
Provenance
The following attestation bundles were made for a2ltool-3.4.0-py3-none-win32.whl:
Publisher:
buildwheels.yml on DanielT/a2ltool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
a2ltool-3.4.0-py3-none-win32.whl -
Subject digest:
51837ec857d03534d32cd5d483a527a3aba3f56f5e2c0b68960594090cae0b60 - Sigstore transparency entry: 2203573148
- Sigstore integration time:
-
Permalink:
DanielT/a2ltool@234bdd12cce90945b0efa9e0df8fd71b0e187c3d -
Branch / Tag:
refs/tags/v3.4.0 - Owner: https://github.com/DanielT
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
buildwheels.yml@234bdd12cce90945b0efa9e0df8fd71b0e187c3d -
Trigger Event:
push
-
Statement type:
File details
Details for the file a2ltool-3.4.0-py3-none-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: a2ltool-3.4.0-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 2.5 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f2bb1d14e5fea0c20ddcac68e37e68aebdbb37cc5c411858ad972be2bd9c140
|
|
| MD5 |
8ed3bd7d5fea3e006d9e4c88805af008
|
|
| BLAKE2b-256 |
ec9e9a4fef0dd6574979f0001fca9db15776d757383236fffd46724b507fcfb8
|
Provenance
The following attestation bundles were made for a2ltool-3.4.0-py3-none-musllinux_1_2_x86_64.whl:
Publisher:
buildwheels.yml on DanielT/a2ltool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
a2ltool-3.4.0-py3-none-musllinux_1_2_x86_64.whl -
Subject digest:
1f2bb1d14e5fea0c20ddcac68e37e68aebdbb37cc5c411858ad972be2bd9c140 - Sigstore transparency entry: 2203573193
- Sigstore integration time:
-
Permalink:
DanielT/a2ltool@234bdd12cce90945b0efa9e0df8fd71b0e187c3d -
Branch / Tag:
refs/tags/v3.4.0 - Owner: https://github.com/DanielT
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
buildwheels.yml@234bdd12cce90945b0efa9e0df8fd71b0e187c3d -
Trigger Event:
push
-
Statement type:
File details
Details for the file a2ltool-3.4.0-py3-none-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: a2ltool-3.4.0-py3-none-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 2.5 MB
- Tags: Python 3, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97a68a85eddbc26393841285696218e2fc1fadf4a32b73fcf83142a0a778c942
|
|
| MD5 |
ba034655e6cca36a109966344a11b2bb
|
|
| BLAKE2b-256 |
566804b559147b55567a057912701a0678cd17ce7ecad75ce8e6f07e12c6b778
|
Provenance
The following attestation bundles were made for a2ltool-3.4.0-py3-none-manylinux_2_28_x86_64.whl:
Publisher:
buildwheels.yml on DanielT/a2ltool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
a2ltool-3.4.0-py3-none-manylinux_2_28_x86_64.whl -
Subject digest:
97a68a85eddbc26393841285696218e2fc1fadf4a32b73fcf83142a0a778c942 - Sigstore transparency entry: 2203573207
- Sigstore integration time:
-
Permalink:
DanielT/a2ltool@234bdd12cce90945b0efa9e0df8fd71b0e187c3d -
Branch / Tag:
refs/tags/v3.4.0 - Owner: https://github.com/DanielT
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
buildwheels.yml@234bdd12cce90945b0efa9e0df8fd71b0e187c3d -
Trigger Event:
push
-
Statement type:
File details
Details for the file a2ltool-3.4.0-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: a2ltool-3.4.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
312337e2b748c67991cb16f84046100865b67d9d06f75c09fa9d87249e32f911
|
|
| MD5 |
917d6f1a73e924c73d27defc79c6e78c
|
|
| BLAKE2b-256 |
c2d38c095b7d6a5ce461f5936c41a0acfcd3506aaf7fe27a9ffc3fb1f1aacd1b
|
Provenance
The following attestation bundles were made for a2ltool-3.4.0-py3-none-macosx_11_0_arm64.whl:
Publisher:
buildwheels.yml on DanielT/a2ltool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
a2ltool-3.4.0-py3-none-macosx_11_0_arm64.whl -
Subject digest:
312337e2b748c67991cb16f84046100865b67d9d06f75c09fa9d87249e32f911 - Sigstore transparency entry: 2203573164
- Sigstore integration time:
-
Permalink:
DanielT/a2ltool@234bdd12cce90945b0efa9e0df8fd71b0e187c3d -
Branch / Tag:
refs/tags/v3.4.0 - Owner: https://github.com/DanielT
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
buildwheels.yml@234bdd12cce90945b0efa9e0df8fd71b0e187c3d -
Trigger Event:
push
-
Statement type:
File details
Details for the file a2ltool-3.4.0-py3-none-macosx_10_12_x86_64.whl.
File metadata
- Download URL: a2ltool-3.4.0-py3-none-macosx_10_12_x86_64.whl
- Upload date:
- Size: 2.4 MB
- Tags: Python 3, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59a495bee8d5d1be0b870fc2320435cf47a3c22fb4cb9de7dc736fc08bfe7d69
|
|
| MD5 |
8d1736d8ed5bf12779b52c896a19849e
|
|
| BLAKE2b-256 |
af48fb701269719bcb00c3c85ca5ff044080acc473be8ab52b316485f94a7449
|
Provenance
The following attestation bundles were made for a2ltool-3.4.0-py3-none-macosx_10_12_x86_64.whl:
Publisher:
buildwheels.yml on DanielT/a2ltool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
a2ltool-3.4.0-py3-none-macosx_10_12_x86_64.whl -
Subject digest:
59a495bee8d5d1be0b870fc2320435cf47a3c22fb4cb9de7dc736fc08bfe7d69 - Sigstore transparency entry: 2203573172
- Sigstore integration time:
-
Permalink:
DanielT/a2ltool@234bdd12cce90945b0efa9e0df8fd71b0e187c3d -
Branch / Tag:
refs/tags/v3.4.0 - Owner: https://github.com/DanielT
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
buildwheels.yml@234bdd12cce90945b0efa9e0df8fd71b0e187c3d -
Trigger Event:
push
-
Statement type: