Skip to content

Reading a BMS46 with nfsx ​

nfsx is an open-source BMW flash toolkit. Its direct DS2 mode supports the BMS46 read-only: it dumps the full 256 KB flash over the K-line with the same DS2 read-memory command used by XeTK/BMW-BMS46-Flasher.

InterfaceK+DCAN (FTDI) cable in K-line mode, or the Bimmerz Box dongle
Speed9600 baud (BMS46 baud switching is unverified), ~6 minutes for 256 KB
Outputnatural 68k byte order, the layout the XDFs expect
Writingnot supported: no verified erase/program sequence exists yet

Command line ​

bash
# identify
nfsx directmode probe --variant BMS46

# full 256 KB dump
nfsx directmode read --variant BMS46 -m full -o bms46.bin

# same, but 16-bit byte-swapped (layout some older tools produce)
nfsx directmode read --variant BMS46 -m full -o bms46-swapped.bin --swap-bytes

The BMS46 can't be auto-detected, because it doesn't answer the hardware-reference query MS4x ECUs use, so --variant BMS46 is required. Install and cable setup: see the nfsx README.

Browser ​

The nfsx web app has a Directmode tab under flashing (Chrome/Edge, Web Serial). Pick BMS46 (read-only) in the ECU selector, connect the cable and click Read Flash. Write and calibration-only read are disabled for the BMS46.

After reading ​

  1. Check the dump: python3 bms46_checksum.py bms46.bin (all present CRCs should be OK). See Checksums.
  2. Keep an untouched copy.
  3. Open it in TunerPro or tunex with the XDF.