Skip to content

TunerPro XDF ​

Definitions for both known program families. Pick the one matching the ident at ROM 0x8010: 01119700F000… or 01119700EF00….

FileForContents
BMS46_01119700F000_full.xdf256 KB full dump (file offset = ROM address)241 tables, 2 constants
BMS46_01119700F000_partial.xdf32 KB partial / "cal" dump (file offset 0 = ROM 0x8010)238 tables, 1 constant
BMS46_01119700EF00_full.xdfEF00, 256 KB full dump241 tables, 2 constants (no EWS patch)
BMS46_01119700EF00_partial.xdfEF00, 32 KB partial dump238 tables, 1 constant

The EF00 XDFs use the same map names as F000, at EF00 addresses and with the relocated RAM variables (see Variants). The names are carried over from F000 through aligned code, and the XDFs were generated from a single EF00 calibration (Q20G).

The partial XDF leaves out the three sensor linearisation tables, which live in the program area.

What's inside ​

  • Every map struct as an XDFTABLE. Axes are read from the binary (mmedaddress on the X/Y axes), because BMS46 stores breakpoints inside each map struct. Big-endian, unsigned, 8- or 16-bit.
  • Physical scaling (MATH) and units taken from the map's input/output RAM variables. Unidentified variables are exposed raw (X).
  • Categories matching the map catalogue. Every map is now named; maps renamed after review keep their old name in the description ("Previously named …").
  • Calibration ident, Kennung and stored CRC words, for information.

Workflow ​

  1. Read the ECU (nfsx) or take an existing dump. If the ident reads 101179000F00… the file is byte-swapped; un-swap it first:
    bash
    python3 bms46_checksum.py swapped.bin --unswap natural.bin
  2. Open the bin in TunerPro with the matching XDF.
  3. Edit.
  4. Recompute the calibration CRC. TunerPro can't do it for this ECU:
    bash
    python3 bms46_checksum.py edited.bin --fix
    Download: bms46_checksum.py. See Checksums.

DANGER

Don't change the ident (0x8010) or Kennung (0x8040). The boot code checks them against the program, and a mismatch makes the calibration "incompatible" even with a correct CRC.

tunex ​

The XDFs also load in tunex, a browser XDF editor. Axis-from-binary rendering, which these tables need, landed in tunex main (feat: read XDF axis breakpoints from the binary).

Regenerating ​

The XDFs are generated from data/maps.json + data/variables.json by tools/gen_xdf.py. The generator parses every struct in a reference dump and refuses to emit anything if one disagrees with the definitions.