Tuning Wiki

Identification and variants

MS4X describes C166-based MS41 hardware and a common 256 kB flashable version. Its hardware list is incomplete; verify the installed unit rather than assuming every MS41 is flashable. MS4X reference.

Choose MS41.0, MS41.1 or MS41.2 for the documented engine/emissions context.

Processor and flash

The MS41 is built around an Infineon C166-family CPU running at 20 MHz (MS4X community reference). The common flashable version carries a 2 Mbit Intel flash chip, written AB28F200BB in one place and AM28F200BB in another on the same MS4X page, so the exact part marking is uncertain; one hardware version is listed there as not flashable. BMW North America training material describes the MS41 flash EPROM as soldered in and reprogrammable up to 13 times.

Engine applications

BMW training material for the MS41.1 and MS41.2 states Siemens manufacture, production 1996 to 1999 and an 88-pin ECM connector. It assigns MS41.1 to the BMW M52 engine in the E36, E39 and Z3, and MS41.2 to the E36 M3 with the S50B32 engine. MS4X assigns MS41.0 to M52, MS41.1 to M52 OBD II and MS41.2 to the US S52; the S50B32 and S52 designations for MS41.2 differ between the two sources and are not reconciled here. The training text states that the MS41.x is OBD II compliant and has a separate OBD II diagnostic link connector; a universal test adapter is specified for the 88-pin connector.

Connector

The ECM connector is a single 88-pin connector (BMW training material). The training text lists the ECM ground pins as 04, 28, 32, 34 and 56, with separate sensor grounds on pins 07 (hot-film air mass sensor), 38 (knock sensor shielding), 39 (temperature sensors), 40 (crankshaft position sensor and fuel tank pressure sensor), 41 and 64 (camshaft sensor shielding) and 42 (throttle position sensor). A complete per-pin function table is not reproduced here.

Documented 256 kB layout

StartEnd inclusiveRegionSize
0x000000x07FFFBootloader / UIF32 KiB
0x080000x0FFFFUndocumented32 KiB
0x100000x15FFFCalibration24 KiB
0x160000x1FFFFUndocumented40 KiB
0x200000x3FFFFProgram128 KiB

These are full-image offsets. MS4X reference.

For a raw calibration slice starting at 0x10000, a full-image address of 0x10020 would be offset 0x20 within that slice. This is address arithmetic, not an instruction to change the definition’s configured offset. Check the actual file format and XDF address basis first.

Calibration route

Use the MS41 map guide for fueling, ignition and idle entry points. Start with file identification and injector-data checks before modifying a working file.

Keep boot/identity information distinct from calibration work. Preserve undocumented regions in backups and comparisons; an undocumented label does not establish unused memory.

Bench connection pinout

Bench-connection pins for this unit are drawn in Siemens MS41 bench connection pinout.

Sources and scope

Original reference notes by Tuning Wiki, informed by the linked MS4X Wiki pages. MS4X Wiki contributors and the authors credited by each linked project remain the source authors. Sources checked 10 November 2026. Suggested validation steps and worked arithmetic are editorial guidance; they are not a tested calibration or a claim of hardware verification.

View this ECU in the TuningService catalogue.

Explore this branch

Directly applicable articles