Documentation — Getting started
MS41 Live / Docs / Getting started
Getting started
From a stock Siemens MS41 to a first live session: what you need, the one full flash that installs the firmware, connecting the editor, and what to look at first.
Beta. MS41 Live has been developed and driven on one car (E39 523i, M52B25, manual gearbox). Read what is tested and what is not before you start, and keep the means to flash your original software back.
What you need
- A Siemens MS41 ECU from a BMW M52 with single VANOS (1995–1998). Nothing is modified inside the ECU.
- An MS41 flashing tool you already know, bench or OBD, able to read and write the full 256 KB of the ECU. It is needed once to install the firmware, and remains your fallback.
- A K-line diagnostic cable: the common FTDI-based “K+DCAN” / INPA cable, on the same socket you use for diagnostics on this car.
- A laptop with desktop Chrome or Edge. The editor uses Web Serial, which Firefox, Safari and phone browsers do not provide.
- A 0–5 V MAP sensor (3 bar typical) and a wideband controller with a 0–5 V analog output. See Wiring.
- Optional: a clutch switch for launch control and switch-based flat shift.
1. Save what is in the ECU
Before anything else, read the full contents of your ECU with your flashing tool and keep that file in a safe place. It is your way back to the original software.
2. Install the firmware: one full flash
MS41 Live comes as a full 256 KB image for each engine (firmware plus base tune) and as a 24 KB “partial” (calibration only). The first installation is a full flash of the image for your engine, with your flashing tool, on the bench or through the car.
- Choose the base tune that matches your engine: M52B20, M52B25 or M52B28. See Base tunes.
- Flash the full image. From then on, calibration changes are flashed from the browser as partials.
- Do not start the engine yet if the sensors are not wired: in VE mode the ECU needs the MAP signal.
3. Wire the sensors
By default the MAP sensor uses the Lambda 2 input (ECU pin 76) and the wideband the Lambda 1 input (pin 75). Both are 0–5 V inputs. The full description, with the warnings, is in Wiring; calibration is in Sensors & calibration.
4. Connect the editor
- Close any other program that uses the cable (diagnostic or logging software).
- Switch the ignition on. The engine may be stopped or idling.
- Open the editor file in Chrome or Edge and click Live: connect. The browser asks which serial port to use: pick the cable.
- The editor identifies the ECU. It refuses to work with an ECU that is not running MS41 Live.
You do not need a tune file to start: with no file open, connecting reads the calibration from the ECU, in about 40 seconds. You can also open a file first and connect afterwards.
Once connected, the gauges at the bottom update about six times per second and a cursor shows the table cell the engine is in.
5. The first live session
Engine off, ignition on
- MAP must read barometric pressure (about 101 kPa at sea level, roughly 1.2 kPa less per 100 m of altitude). If not, fix the MAP calibration before starting the engine.
- AFR: a wideband controller needs some time to heat its sensor. Until it is ready the reading is not a measurement.
- Throttle should move from about 0 to about 100 % with the pedal.
Engine running
- Live writing becomes active once the engine is running. With the engine stopped you see the gauges, but edits wait for the engine to start.
- If the editor and the ECU hold different values, the editor asks which side to keep: send your values, or take the ECU’s.
- Watch AFR against Target, and Fuel trim: once closed loop is active, the trim shows what the ECU has to add or remove to reach the target.
- Change one VE cell under the cursor by a few percent and watch the AFR follow. You are tuning live.
6. Keep your changes
Live edits are in ECU RAM: they are lost when the ECU powers down. To keep them, stop the engine, leave the ignition on and use Flash partial: about 25 seconds. See Flashing. Save the tune file as well, with a new version name, so that you can always go back.
The ECU stays powered for a short while after the ignition is switched off. If you restart straight away, your live values may still be there. That is normal; after a real power-down the ECU is back on the flashed values.
