bri3d / a2l2xdf

Convert ASAP2 A2L files to TunerPro XDF files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A2L2XDF

Uses the excellent pyA2L library to generate an XDF using data from an A2L. See included CSV format for examples.

Only tested on a small subset of A2Ls which use AXIS_PTS_REF - the concepts, however, should be fairly universal.

A few notes:

  • Open the A2L and re-save it using UTF-8. Many A2Ls are in LATIN-1 or worse ASCII with wrong characters. Saving it as UTF-8 solves a lot of pain.
  • PyA2L has issues with "// " strings in descriptions. Search for "//=" and replace with "=".
  • PyA2L has a few other weird parse issues you may need to fix manually.

PDX2CSV

  • Unzip a PDX file to a directory.
  • Run "python3 pdx2csv.py "
  • Checkout dtcs.csv and diag.csv for DTCs and $22 identifiers respectively.

Tested on PDX from several vendors.

About

Convert ASAP2 A2L files to TunerPro XDF files


Languages

Language:Python 100.0%