Skip to content

Hardware ​

The MS43 is the Siemens engine control unit (DME) of the BMW M54 six-cylinder (E46 / E39 / E53 / E85). BMW's production diagnostic file calls it "MS 43.0 fuer M54 mit EWS 3" (MS430DS0.prg, rev 2.00) [verified].

CPUInfineon C167 family (C166 core, 16-bit, little-endian). nfsx's profile names a C167CS-32F; its bootmode notes say C167CR with BSL ID 0xC5. The exact derivative isn't confirmed [inferred]
Flash512 KB external flash, AMD Am29F400B-class (bottom boot, 11 sectors). nfsx's bootmode probe stub checks for Am29F400BB chip IDs [inferred for MS43: nfsx has bench-verified bootmode on an MS42]
EEPROMserial EEPROM on the C167 SSC (SPI) bus. The JMG bootmode blob has SPI read/write commands that are "MS43 only" [inferred]
DiagnosticsK-line, DS2 at 9600 baud 8E1, ECU address 0x12. See DS2 protocol [verified]
CANPT-CAN to ASC/DSC, EGS, instrument cluster and SMG (CAN pins on X60004, plus X60002 on automatics) [verified, WDS]
ImmobiliserEWS 3 over a dedicated line (X60004 pin 33), see EWS 3
Connector5 modules, 134 pins: X60001…X60005, see Pinout [verified, WDS]

Variants and hardware numbers ​

The E46 SP-Daten drop (data/MDS43, Zusbau tables dated 09.07.2007) lists the following MS43 program carriers. The "HW-NR" column of MDS43.DAT names the .0PA program file each Zusbau number (ZB) is flashed with [verified].

HW-NR (.0PA)ZL reference (in .0PA header)Program.0PA dateZB numbers
751157011143053370343003719.09.20008
752805011143053640043006409.04.20032
448275111143053650043006522.10.20037
754515011143053660143006603.05.2004110
7572342111430536603430066–16
755161511143053690143006915.11.200426
757101711143053690143006914.06.20066
  • The ZL reference starts with 111430. That's the same 6-character key nfsx reads through the 0x0D hardware-reference pointer to recognise an MS43 (MS42 = 111011) [verified, nfsx ecu-tables.ts].
  • The Program column assumes that characters 9–10 of the ZL reference are the last two digits of the 4300xx program version (5366 → 430066). That fits every row but is [inferred]. For the binary differences between versions, see Variants.
  • 7545150 is the HW-NR nfsx and its docs use for the MS43 profile. It carries most Zusbau numbers.
  • The hardware history (MDS43.HWH) lists older, superseded numbers (4455841, 4457099, 7500714, 7508179, …) that have no .0PA in this drop.
SGBDINFOJobsNotes
MS430DS0.prgMS 43.0 fuer M54 mit EWS 3, rev 2.00230production SGBD, used by INPA ms430.ipo. Basis of the DS2 and fault-code pages
Ms43_sp2.prgMS 43.0 fuer M52 mit EWS 3, rev 0.0120supplementary SGBD (INPA Ms43_sp2.ipo): torque-intervention, pedal-misuse and over-rev statistics (0B 96, 0B 98, 0B A2). "M52" in INFO is probably a copy-paste leftover [inferred]
BMS43DS0.prgBMS 43 fuer M43 mit ASC, rev 1.1070not an MS43: the BMS43 is the four-cylinder M43 DME. Same name prefix, different ECU

The two copies of MS430DS0.prg (INPA EDIABAS/Ecu and E46_v74/ecu) are byte-identical (MD5 659f0890…).

Memory overview ​

The DS2 and bootmode paths see the flash differently. nfsx uses these ranges [verified, nfsx ecu-tables.ts]:

ECU (bus) addressFile offset (512 KB BIN)SizeContent
0x00000–0x0BFFF0x0000048 KBboot sector. Readable over DS2, never written by DS2 tools
0x0C000–0x0FFFF–16 KBhidden behind the C167 internal RAM/SFR window, not readable over DS2
0x70000–0x7FFFF0x7000064 KBcalibration (data). The last 17 bytes are a checksum trailer
0x90000–0xEFFFF0x10000384 KBprogram. The ECU maps bus 0x9xxxx…0xExxxx onto chip 0x1xxxx…0x6xxxx

Full details: Memory map and Checksums.

Connectors ​

Five black connector modules on the DME, in the E-box at the rear left of the engine compartment [verified, WDS E46_PA6000E, E46_EX6000xx]:

ConnectorModulePinsMain contents
X6000119supply: terminal 15 (via injector relay), terminal 30, fused supply, grounds
X60002224lambda sensors and heaters, main relay control. Automatics add CAN + TXD to the EGS
X60003352engine sensors and actuators: HFM, camshaft and crank sensors, throttle (EDK), temperatures, knock, injectors, VANOS, idle actuator, DISA, purge
X60004440vehicle side: pedal sensor, brake/clutch switches, MFL, CAN, K-line (TXD), EWS, fuel pump relay, A/C, e-fan, DMTL
X6000559ignition coils 1–6 and ground

Bench supply as used for C167 bootmode in nfsx: +12 V on X60001/7 (terminal 30) and X60004/26 (terminal 15), ground on X60001/4, K-line on X60004/32 [verified: matches the WDS pin table]. The BOOT pin isn't on the harness; it has to be pulled low on the PCB. See Flashing.

EWS 3 ​

The MS43 is paired with an EWS 3 immobiliser through a rolling start value ("Startwert"). Evidence in MS430DS0 [verified, SGBD]:

  • STATUS_PROG_STAT_EWS (12 05 0B 95): pairing state. Its texts include erster/zweiter Abgleich erfolgt and EWS frei (bereit fuer Startwertabgleich).
  • STEUERN_SYNC_MODE (12 05 6C 01) / STATUS_SYNC_MODE (12 04 6D): EWS start-value synchronisation. The status texts are Startwert verstanden und akzeptiert, Startwert verstanden, EWS und DME passen nicht zusammen, Startwert nicht verstanden, Uebertragungsfehler and Keine Startwert-Initialisierung im aktuellen Fahrzyklus.
  • MEHRFACHSTARTWERTABGLEICH (12 09 07 27 00 00 00 00): factory multi-start-value alignment ("in den Werken").
  • Fault codes 0x80 EWS-Uebertragung/-Parity and 0xD1 EWS-Code, with fault types EWS-Code unplausibel, Zufallszahl hat nicht weitergeschaltet and Startwert nicht akzeptiert.
  • ECU_CONFIG / IDENT report ID_EWS_SS (EWS interface identification).

INPA's Ms430_N.ipo has an "EWS 3 Startwert sync" screen. The rolling-code algorithm itself isn't documented here.