Mercedes Benz diagnostics obd: Difference between revisions

From wikiluntti
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
XTOOLS D5S
XTOOLS D5S
* https://www.youtube.com/watch?v=gDwrVYJ0tow
* https://www.youtube.com/watch?v=gDwrVYJ0tow


Samsara and Verizon
Samsara and Verizon
Line 8: Line 9:
OBD2, OBD2 (MB W211, 2003-). OBD2 from 1996. Connectors: Type A or Type B.  
OBD2, OBD2 (MB W211, 2003-). OBD2 from 1996. Connectors: Type A or Type B.  
* https://obdplanet.com/obd2-protocol/
* https://obdplanet.com/obd2-protocol/
* https://en.wikipedia.org/wiki/ELM327
* https://en.wikipedia.org/wiki/ELM327 https://www.elmelectronics.com/wp-content/uploads/2016/07/ELM327DS.pdf
* https://en.wikipedia.org/wiki/OBD-II_PIDs
* OBDLink and VGate makes good adapters
* (https://github.com/zanac/pyHPSU contains a clean implementation of KWP2000 that many hobbyists have studied and adapted)
* freediag
 
 
(Mercedes) ECU reverse engineering
 
 
Generic OBD-II readers only access the engine (ECU) and emissions-related systems. Airmatic, SBC brakes, SAM modules, instrument cluster, seat modules, climate, etc. all use Mercedes-specific diagnostics (K-Line and CAN, depending on module). A generic ELM327-based tool cannot properly diagnose these systems. MB alternatives
* OpenVehicleDiag (OVD). Supports: ISO-TP, KWP2000, UDS, J2534, SocketCAN. Need to know Mercedes diagnostic identifiers.
* openStar. Small and incomplete.
* Tactrix OpenPort 2.0 Supports K-Line, CAN, J2534 PassThru. Owners using Tactrix OpenPort + Xentry Passthru report access to nearly every module (MBWorld).
* pyOBD / python-OBD
* SavvyCAN
* OpenGarages / ELM327 tools
 
 
Some open Source alternatives
* https://github.com/cedricp/ddt4all
* https://github.com/YangChuan80/KatyOBD
* https://github.com/rnd-ash/OpenVehicleDiag
* https://freediag.sourceforge.io/
* https://github.com/jakka351/GenericDiagnosticTool
* Realtime https://github.com/bgunson/onboardpi
* https://github.com/prithvisekhar/VehicalDiagnosticAlgo
* https://github.com/dchad/OBD-Monitor
* https://github.com/barracuda-fsh/pyobd
* https://medevel.com/ovms3/
* Old https://github.com/shchers/ecu-simulator
* Arduino Honda https://github.com/kerpz/ArduinoHondaOBD
* https://github.com/brendan-w/python-OBD
* https://github.com/stko/oobd
* https://github.com/md-sohrab-alam/android-obd-reader
* https://www.savvycan.com/
* https://sourceforge.net/projects/openobd/
* https://github.com/kees/scantool
* https://github.com/thatlarrypearson/vehicle-telemetry-system
** Older of the previous https://github.com/thatlarrypearson/telemetry-obd
* https://github.com/fussek/Bluetooth-OBD-II-Diagnostic-Tool
* live OBD-II data, fault code analysis, and offline VIN decoding. https://github.com/provrb/obdium
*OdxTools.
** https://github.com/mercedes-benz/odxtools https://pypi.org/project/odxtools/
** https://deepwiki.com/mercedes-benz/odxtools/1-overview
* Freediag https://freediag.sourceforge.io/ https://github.com/fenugrec/freediag/
* https://github.com/mercedes-benz/odxtools




OdxTools.
* https://github.com/mercedes-benz/odxtools https://pypi.org/project/odxtools/
* https://deepwiki.com/mercedes-benz/odxtools/1-overview


Freediag https://freediag.sourceforge.io/


Adapter https://hackaday.com/tag/iso-15765-4-can/
Adapter https://hackaday.com/tag/iso-15765-4-can/
*
*
Mercedes Xentry.
A USB-to-OBD adapter with an embedded processor that supports SAE J2534 Pass-Thru (an industry standard used by OEM diagnostic software), CAN, K-Line (important for older Mercedes), KWP2000 and ISO9141.
DTCs (diagnostic trouble codes)
PID (Parameter Identifiers)


== Mercedes ==
== Mercedes ==


Mercedes FOSS. https://opensource.mercedes-benz.com/projects/
Mercedes FOSS. https://opensource.mercedes-benz.com/projects/ https://github.com/mercedes-benz


https://www.forum-mercedes.com/img/members/34569/schema-W211-CAN_59-end.pdf
https://www.forum-mercedes.com/img/members/34569/schema-W211-CAN_59-end.pdf

Latest revision as of 18:34, 29 June 2026

Introduction

XTOOLS D5S


Samsara and Verizon

OBD2, OBD2 (MB W211, 2003-). OBD2 from 1996. Connectors: Type A or Type B.


(Mercedes) ECU reverse engineering


Generic OBD-II readers only access the engine (ECU) and emissions-related systems. Airmatic, SBC brakes, SAM modules, instrument cluster, seat modules, climate, etc. all use Mercedes-specific diagnostics (K-Line and CAN, depending on module). A generic ELM327-based tool cannot properly diagnose these systems. MB alternatives

  • OpenVehicleDiag (OVD). Supports: ISO-TP, KWP2000, UDS, J2534, SocketCAN. Need to know Mercedes diagnostic identifiers.
  • openStar. Small and incomplete.
  • Tactrix OpenPort 2.0 Supports K-Line, CAN, J2534 PassThru. Owners using Tactrix OpenPort + Xentry Passthru report access to nearly every module (MBWorld).
  • pyOBD / python-OBD
  • SavvyCAN
  • OpenGarages / ELM327 tools


Some open Source alternatives



Adapter https://hackaday.com/tag/iso-15765-4-can/

Mercedes Xentry.

A USB-to-OBD adapter with an embedded processor that supports SAE J2534 Pass-Thru (an industry standard used by OEM diagnostic software), CAN, K-Line (important for older Mercedes), KWP2000 and ISO9141.

DTCs (diagnostic trouble codes) PID (Parameter Identifiers)

Mercedes

Mercedes FOSS. https://opensource.mercedes-benz.com/projects/ https://github.com/mercedes-benz

https://www.forum-mercedes.com/img/members/34569/schema-W211-CAN_59-end.pdf

  • CAN B, CAN C, CAN D (X11/4)

ISO 15765-4

W211 https://pinoutguide.com/CarElectronics/mercedes_obd2_diag_pinout.shtml

Pin Number Pin Name Description
1 K-Line Ignition control (EZS), air-conditioner (KLA), PTS, safety systems (Airbag, SRS, AB) and some other
3 TNA TD engine rotation speed
4,5 GND Ground
6 CAN-high CAN-High (including AirBag system in W203, W209, W220, W240, R230, С215 after 2004y)
7 K-Line Engine control diagnostic (ME/MSM/CDI)
8 Ignition,...
9 K-Line ABS, ASR, ESP, ETS, BAS diagnostic
11 K-Line Gearbox and other transmission components (EGS, ETC, FTC)
12 K-Line All activity module (AAM), Radio (RD), ICS, ...
13 K-Line AB diagnostic - safety systems
14 CAN-Low CAN
15 K-Line IC, KI, TAU, LWR diagnostic
16 +12V Power