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].
| CPU | Infineon 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] |
| Flash | 512 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] |
| EEPROM | serial EEPROM on the C167 SSC (SPI) bus. The JMG bootmode blob has SPI read/write commands that are "MS43 only" [inferred] |
| Diagnostics | K-line, DS2 at 9600 baud 8E1, ECU address 0x12. See DS2 protocol [verified] |
| CAN | PT-CAN to ASC/DSC, EGS, instrument cluster and SMG (CAN pins on X60004, plus X60002 on automatics) [verified, WDS] |
| Immobiliser | EWS 3 over a dedicated line (X60004 pin 33), see EWS 3 |
| Connector | 5 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 date | ZB numbers |
|---|---|---|---|---|
| 7511570 | 111430533703 | 430037 | 19.09.2000 | 8 |
| 7528050 | 111430536400 | 430064 | 09.04.2003 | 2 |
| 4482751 | 111430536500 | 430065 | 22.10.2003 | 7 |
| 7545150 | 111430536601 | 430066 | 03.05.2004 | 110 |
| 7572342 | 111430536603 | 430066 | – | 16 |
| 7551615 | 111430536901 | 430069 | 15.11.2004 | 26 |
| 7571017 | 111430536901 | 430069 | 14.06.2006 | 6 |
- The ZL reference starts with
111430. That's the same 6-character key nfsx reads through the0x0Dhardware-reference pointer to recognise an MS43 (MS42 =111011) [verified, nfsxecu-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.0PAin this drop.
Related SGBDs
| SGBD | INFO | Jobs | Notes |
|---|---|---|---|
MS430DS0.prg | MS 43.0 fuer M54 mit EWS 3, rev 2.00 | 230 | production SGBD, used by INPA ms430.ipo. Basis of the DS2 and fault-code pages |
Ms43_sp2.prg | MS 43.0 fuer M52 mit EWS 3, rev 0.01 | 20 | supplementary 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.prg | BMS 43 fuer M43 mit ASC, rev 1.10 | 70 | not 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) address | File offset (512 KB BIN) | Size | Content |
|---|---|---|---|
0x00000–0x0BFFF | 0x00000 | 48 KB | boot sector. Readable over DS2, never written by DS2 tools |
0x0C000–0x0FFFF | – | 16 KB | hidden behind the C167 internal RAM/SFR window, not readable over DS2 |
0x70000–0x7FFFF | 0x70000 | 64 KB | calibration (data). The last 17 bytes are a checksum trailer |
0x90000–0xEFFFF | 0x10000 | 384 KB | program. 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]:
| Connector | Module | Pins | Main contents |
|---|---|---|---|
| X60001 | 1 | 9 | supply: terminal 15 (via injector relay), terminal 30, fused supply, grounds |
| X60002 | 2 | 24 | lambda sensors and heaters, main relay control. Automatics add CAN + TXD to the EGS |
| X60003 | 3 | 52 | engine sensors and actuators: HFM, camshaft and crank sensors, throttle (EDK), temperatures, knock, injectors, VANOS, idle actuator, DISA, purge |
| X60004 | 4 | 40 | vehicle side: pedal sensor, brake/clutch switches, MFL, CAN, K-line (TXD), EWS, fuel pump relay, A/C, e-fan, DMTL |
| X60005 | 5 | 9 | ignition 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
0x80EWS-Uebertragung/-Parity and0xD1EWS-Code, with fault types EWS-Code unplausibel, Zufallszahl hat nicht weitergeschaltet and Startwert nicht akzeptiert. ECU_CONFIG/IDENTreportID_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.