M5.2.1 Pinout (Bosch DME Bench Pinout)

Bench pinout for the Bosch M5.2.1 (multi-plug) DME. Use the pins below to power the DME and talk to it over K-Line when reading or flashing on the bench. All bench connections are on the 9-pin power connector, the first connector on the left (circled in green).

M5.2.1 bench pins

M5.2.1 DME bench pinout diagram showing 12V pins 1, 2, 7, 8, 9, ground pins 5, 6 and K-Line pin 3
M5.2.1 DME bench pinout.
FunctionM5.2.1 pin(s)
+12 V1, 2, 7, 8, 9
Ground5, 6
K-Line3

Which cars use the M5.2.1?

The Bosch M5.2.1 is the multi-plug version of the M5.2, used on BMW 4- and 8-cylinder engines. Not sure what you have? Use our ECU identification guide.

How to bench flash an M5.2.1

  1. Connect a stable 12 V supply to DME pins 1, 2, 7, 8 and 9, and to the KDCAN cable’s 12 V pin (OBD pin 16).
  2. Connect ground to DME pins 5 and 6, and to the KDCAN cable’s ground (OBD pins 4 and 5).
  3. Connect the KDCAN cable’s K-Line (OBD pin 7) to DME pin 3.
  4. Open M5.2 / M5.2.1 Quickflash and read or flash the DME as you would over OBD.

The KDCAN cable needs power and a ground shared with the DME to communicate, just like it gets from the OBD port in the car. Tip: double-check every connection with a multimeter before powering up, and use a power supply rather than a weak battery charger.

Do I need to bench flash?

Usually not. M5.2 / M5.2.1 Quickflash reads and flashes M5.2 and M5.2.1 DMEs through the OBD port, with fast flash mode and EWS delete file support. The bench pinout is for DMEs that are out of the car, being tested, or recovering from a failed flash.

Related M5.2.1 tools