Files
ESP32-S3-Touch-LCD-5B/wiki/sources/diag-route-a-2026-09-23.md
julian 7a7398243b Diag day: Route A+B verified live, DTCs read, donor identified as E60 530d
- diag probe: add mode 03 (diag dtc), BMW KWP on 0x6F1 with extended
  addressing (diag ident, diag bmw), read-only service whitelist
  (1A/18/21/22), MAX_PAYLOAD 64->384, full hex+ascii dump of BMW replies
- tools/diag_session.py: one-session probe runner, logs into wiki/raw/
- wiki: Route A results (11 mode-01 PIDs, rpm/coolant cross-checked, mode
  09 silent), Route B verified (0x6F1 [12] -> 0x612), 1A 86 ident with
  VIN prefix WBANC92090 (E60 530d), DTCs P0101/P0113/P0500/P0545/P0030
  (disconnected-sensor swap leftovers), open-questions #2/#7 updated

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-23 12:54:24 +02:00

3.6 KiB
Raw Permalink Blame History

type, tags, updated
type tags updated
source
can-bus
obd
dde
diagnostics
capture
2026-09-23

Route A probe — first live run (2026-09-23)

First execution of the obd-diagnostic-polling Route A test: the diag console probe on Controller A, engine idling, Launch unplugged, tapped PT-CAN. Two sessions, raw console logs (CANRAW + CANTX + diag output interleaved):

  • raw/diag-20260923-111737.log — pids, pid 0C, pid 05, pid 0B, pid 70, vin, ecu, status
  • raw/diag-20260923-111851.log — pid 10, pid 04, pid 0F, pid 0D, pid 1C, pid 01, pid 21, status

Headline

The DDE answers generic OBD-II (mode 01) on the PT-CAN at 0x7E8. (verified 2026-09-23) Route A works; no BMW-specific knowledge needed for the PIDs it supports. Only one responder — the EGS does not answer generic OBD (nothing from 0x7E9).

Supported-PID bitmap (diag pids)

Blocks 01 00 and 01 20 answered; bitmap 41 20 80 00 00 00 → no blocks past 0x21. Full supported set:

01, 04, 05, 0B, 0C, 0D, 0F, 10, 1C, 20, 21 — a minimal EOBD set. None of the 2007+ diesel PIDs (70 boost, 78 EGT…), no 33 barometric, no 5E fuel rate. Consistent with an EDC16-era DDE6 (unverified).

Readings at idle, engine warm-ish (coolant 63–66 °C during the runs)

PID Raw reply Decoded (J1979) Verdict
0C rpm 41 0C 0A A4 681 rpm (verified) — CAN 0x0AA read 678–682 simultaneously
05 coolant 41 05 68 64 °C (verified) — CAN 0x1D0 read 63–64 °C simultaneously
0B MAP 41 0B 68 104 kPa abs plausible at idle (baro + a touch); the 255 kPa clip untested — needs a boost run
0D speed 41 0D 00 0 km/h (verified) — parked
1C OBD standard 41 1C 06 6 = EOBD (Europe) as expected
10 MAF 41 10 64 E5 258.29 g/s implausible — see warning
0F intake air 41 0F C3 155 °C implausible — see warning
04 load 41 04 43 26 % plausible idle load
01 monitor status 41 01 05 46 80 80 MIL off, 5 stored DTCs see below
21 distance w/ MIL 41 21 00 00 0 km consistent with MIL off
70 boost — no reply (ACKed, silent) PID absent, as predicted for EDC16

Warning

MAF and IAT come back with non-standard-looking scalings. By the book, 0x64E5/100 = 258 g/s and 0xC3−40 = 155 °C — both absurd at idle (expect ~20–30 g/s and <60 °C). ×0.1 on the MAF gives a very plausible 25.8 g/s; the IAT law is unknown (BMW's internal 0.75·x−48 would give 98 °C — still hot). Treat both PIDs as present but unscaled (unverified) until cross-checked against the Launch's live-data page or a cold-engine reading.

Mode 09: silent

09 02 (VIN) and 09 0A (ECU name) were ACKed but never answered. The donor cannot be identified over generic OBD — open-questions #2 still needs the Launch's ECU-identification page (or a Route B 0x6F1 capture).

The 5 stored DTCs

PID 01 byte A = 0x05: MIL off, 5 confirmed DTCs in memory. Reading them is generic mode 03 — a small, read-only extension to the probe (currently services 01/09 only), or one Launch session. Feeds open-questions #7.

Probe behaviour (repo)

Counters across both runs: 15 requests, 12 replies, 3 timeouts (the three unsupported/silent ones), 0 negatives, 0 tx failures, no foreign tester seen. Single-shot + guard logic worked as designed; the bus never saw a retry storm.

obd-diagnostic-polling · dwr-335d-torque-pids · can-id-candidates · open-questions