TunerPro XDF
Credit and licence
These definitions are the work of the MS4x community / MS4x Dev Team (ms4x.net). They are redistributed here unmodified, for convenience. The files do not state a licence, so all rights stay with their authors. Check ms4x.net for current versions, and prefer their download if you can.
Downloads
| File | Author / date | For | Contents |
|---|---|---|---|
| Siemens_MS43_430069_512K.xdf | MS4x Dev Team, v1.12, 2022-01-01 | 430069, 512 KB full image (BASEOFFSET 0x70000) | 1447 tables, 2256 constants |
| Siemens_MS43_430069_64K.xdf | same | 430069, 64 KB calibration (BASEOFFSET 0) | identical items |
| Siemens_MS43_430064_512K.xdf | MS4x Dev Team, v1.12, 2022-01-09 | 430064, 512 KB | 1437 tables, 2178 constants |
| Siemens_MS43_MS430069_Community_Patchlist_v2.9.2.xdf | MS4x Dev Team, v2.9.2, 2023-01-16 | 430069 only, 512 KB | 27 patches, 31 tables, 13 constants, 2 flags (Patchlist) |
The XDFs mark themselves "autogenerated and could contain errors, use at your own risk".
Parsed catalogues (JSON, one record per item with address, size, signedness, endianness, dimensions, axes, MATH, units and description): data/xdf_430069.json, data/xdf_430064.json, data/patchlist.json, generated by tools/parse_xdf.py:
python3 -I tools/parse_xdf.py Siemens_MS43_430069_512K.xdf data/xdf_430069.jsonWhich XDF fits which SW
Check the SW number at file 0x70008 (512 KB) or 0x0008 (64 KB): 430069, 430066, …
| SW | Use |
|---|---|
| 430069 | 430069 XDF (512K or 64K to match the file) + patchlist |
| 430064 | 430064 XDF |
| 430066 (and others) | No matching XDF. The 430069 XDF is wrong for 87% of items (shifts of −14 … +10 bytes), the 430064 XDF for 93%. Flash 430069 first, or rebase. See Variants |
[verified] against the 430069 and 430066 images.
What's inside (430069)
- All items are in the calibration (
0x70042–0x7EE0A): 2255 scalars and 6 small tables in0x70042–0x72FFF, the CRC wordcal_cksat0x73FE0, and 1441 tables at0x74000+. Nothing in the program. - 1056 2-D tables (curves and 1-D arrays), 391 3-D tables. 1805 items are 16-bit, 1895 are 8-bit, 3 are 32-bit. 97 are signed. Every multi-byte item is little-endian (
mmedtypeflags0x02, or0x03when signed). The 3 items without type flags are 8-bit. - Axes are separate items. 599 tables in category Axis hold the breakpoints (
ldp_*,ldpm_*). 1233 table axes link to them by id (embedinfo type=3), 2 read breakpoints from an address, the rest are fixed labels. - Names are the Siemens/BMW internal ones (
ip_3-D map,id_curve,c_constant,ldp_axis,lc_switch …). 1037 items have a description.
Categories
61 categories, the same set in both XDFs. Items per category (an item can be in more than one):
| Category | 430069 | 430064 |
|---|---|---|
| Diagnostic Trouble Codes | 647 | 619 |
| Axis | 599 | 593 |
| Lambda Controller | 253 | 254 |
| Throttle | 225 | 225 |
| DTC Suppression | 165 | 157 |
| Injection | 161 | 161 |
| Ignition | 158 | 158 |
| Idle Speed | 158 | 157 |
| Catalyst | 118 | 118 |
| Torque | 103 | 103 |
| System Monitoring, Vanos | 91 each | 91 each |
| Misfire | 74 | 74 |
| DMTL | 73 | 73 |
| Knock | 64 | 64 |
| Coolant Temperature | 61 | 47 |
| Secondary Air | 59 | 59 |
| Cruise Control | 54 | 54 |
| Engine Speed | 51 | 51 |
| System Diagnosis | 47 | 47 |
| Airflow Meter | 46 | 46 |
| Trailing Throttle Fuel Cut | 44 | 44 |
| Config Switches | 31 | 28 |
| Canister Purge | 30 | 29 |
| Ambient Air, Fuel System | 26 each | 13 / 25 |
| Torsion Correction | 24 | 24 |
| Vehicle Speed, Coolant Fan | 23 each | 23 each |
| Anti Jerk, CAN, eThermostat | 22 each | 22 each |
| AT-Gearbox | 20 | 20 |
| Limp Home | 19 | 19 |
| Exhaust Gas Temperature | 18 | 18 |
| Intake Air, Exhaust Flap | 17 each | 7 / 17 |
| Clutch Switch | 15 | 15 |
| Full Load Detection | 13 | 13 |
| Air Conditioner | 11 | 11 |
| Sensor Definitions | 10 | 10 |
| Oil Temperature, Alternator | 9 each | 9 each |
| Crankshaft | 8 | 8 |
| Intake Model, DISA | 6 each | 6 each |
| Engine Start, Battery Voltage | 5 each | 2 / 5 |
| Warm Up, Checksums, Timer, Rough Road Detection | 4 each | 4 each |
| Main Relay, Gear Recognition, Fuel Pump, Steering Wheel, OBD | 3 each | 3 each (OBD 2) |
| Kilometer Counter | 2 | 2 |
| EWS | 1 | 1 |
The Checksums category exposes cal_cks (0x73FE0), cal_mon_cks_1/2 (0x72FFC/0x72FFE) and lc_swi_cal_mon_cks (0x70E07) as raw values. TunerPro does not recompute them.
Workflow
- Read the ECU (nfsx) or take an existing dump. Check the SW at
0x70008; use the matching XDF (above). - Open the bin in TunerPro (or tunex) and edit.
- Recompute the checksums. No checksum plug-in is defined in these XDFs:bashDownload: ms43_checksum.py. For a 512 KB image it fixes all six checksums (add-32 first, then CRCs). For a 64 KB file it fixes the calibration CRC and, for 430066/430069, the calibration add-32. See Checksums.
python3 -I ms43_checksum.py edited.bin --fix python3 -I ms43_checksum.py edited.bin # must print "all checksums valid" - Flash the calibration (DS2 writes
0x70000–0x7FFEE), or program + calibration after a patchlist change.
DANGER
Don't edit the idents (0x70000–0x7004B, 0x6FFB2–0x6FFEF) or the trailers (0x6FFF0, 0x7FFF0). The calibration CRC seed is read from 0x7000C (the SW digits), so changing the SW string changes the CRC too.