MS43X001 with live tuning: change maps in the ECU while the engine runs, with no reflash.
A code-only add-on to MS43X001, the MS4X project's custom
firmware for the Siemens MS43 (BMW M54).
It lets MS43 Tuner send maps and settings to the ECU's RAM over the
K-line, and adds pops & bangs on lift-off and an automatic downshift blip.
What it adds · How it works · Build your bin · Compatibility · Repository
Warning
Experimental firmware. V10.4 has run in MS43_EMULATOR, which executes the real MS43X001 code on scripted drives, and has also run in one E46 M54B25. Wider vehicle validation is still pending. Keep your original bin, flash a build only if you can flash it back, and use the Fun features only on a closed road or a track.
| Feature | What it does |
|---|---|
| Live maps | Pick ignition, AFR target, VANOS, load and other maps (135 of them) in MS43 Tuner. The ECU copies them to RAM and reads them from there; your edits go over DS2 on the K-line. Switch between the edited and the flashed values at once to compare them. |
| Live settings | The rev limiter (rpm, hysteresis, fuel or ignition cut), and MS43X001's own launch control, no-lift shift and rolling anti-lag. |
| Pops & bangs | On lift-off in gear, holds off the overrun fuel cut for a set time with a late spark, a set AFR and a little throttle. Duration, angle, opening, AFR and the minimum rpm, coolant and speed are all settings. |
| Downshift blip | An automatic rev-match on braking downshifts, chosen per gear: the ECU opens the throttle toward the lower gear's rpm, with a spark cap above the target. |
| Switch triggers | Pops, the blip and the launch features can follow a switch in the car: cruise control armed, ASC off or A/C on. |
| Map watch | The ECU reports the exact cell it read in the map on the app's screen, for the app's live cursor. |
Everything is off until you turn it on in the app, and nothing you send survives a power cycle until you copy it into the bin and flash it.
- The overlay lives in flash space MS43X001 leaves erased. At each place the firmware reads a supported map, a hook jumps to the overlay, which reads the live copy in RAM when it is switched on and the flashed one otherwise.
- The app talks to it with one DS2 command. Every write is checked (session, revision, CRC-32, value limits) before the ECU uses it, and if the app goes silent the ECU goes back to the flashed values.
- The build writes code only: the overlay block, the hook sites and the five checksums. Your maps and settings stay exactly as they are; the build checks it byte by byte.
What V10.4 does, its protocol and how it was checked are in docs/live-overlay-v10.md.
You need Python 3.10 or later and AS (Alfred Arnold's Macro
Assembler, asl and p2hex). On Windows without a native AS, the build runs it in WSL.
git clone https://github.com/raph559/MS43X001_CUSTOM.git
cd MS43X001_CUSTOM/overlay
python -I build_overlay.py path/to/your_ms43x001.binIt writes your_ms43x001-live-overlay-v10_4.bin next to your bin, which it only reads. Flash the result with MS4X
Flasher, then open it in MS43 Tuner: the Live tuning and Fun tabs find the overlay. The options and every check
the build makes are in overlay/README.md.
The build refuses a bin whose program is not a supported MS43X001, a bin that is already patched, and any write outside the overlay block and the hook sites.
| Firmware | Status |
|---|---|
| MS43X001, October 2025 release, M54B25 | Supported (program identity 32141e63…0d35) |
| Other MS43X001 variants (B22, B30, other releases) | Refused until their program is checked: the hooks would land on the wrong code |
| Stock MS430069 family | Not supported |
The calibration can be anything: your own tune is kept as it is.
| Path | What |
|---|---|
overlay/ |
The current version (V10.4) and its code-only build. Start here. |
docs/ |
What V10.4 does, its protocol and how it was checked |
Earlier versions are in the git history.
This project is one of three that work together:
- MS43 Tuner: the Windows app and command-line tool: live logging, map editing, live tuning, bin compare and road performance tests.
- MS43 Emulator: runs an MS43 bin from power-on on your PC, with an engine and a car around it, to test a bin before you flash it.
Reports from other cars are very welcome, and so is help supporting more MS43X001 variants; see CONTRIBUTING.md. Never attach a bin to an issue: give its firmware and SHA-256.
GPL-3.0-only (LICENSE), as a modification of MS43X001 by the MS4X project (MS43X-Custom-Firmware, GPL-3.0). MS43X001 is built on Siemens's MS430069 software, which is not part of this repository. No bin is published.