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>
This commit is contained in:
2026-09-23 12:54:24 +02:00
parent e9fc24778a
commit 7a7398243b
20 changed files with 87140 additions and 51 deletions
+57
View File
@@ -0,0 +1,57 @@
---
type: source
tags: [can-bus, obd, dde, diagnostics, kwp2000, dtc, vin, capture]
updated: 2026-09-23
---
# Route B probe + DTC read — same day, second session (2026-09-23)
Follow-up to [[diag-route-a-2026-09-23]], same setup (tapped PT-CAN, no Launch). The `diag` probe gained three read-only commands (`dtc` = generic mode 03, `ident` = BMW KWP `1A 80`, `bmw <addr> <hex>` = raw whitelisted request on `0x6F1`) and they paid off immediately. Raw console logs in `raw/`: `diag-20260923-124138.log` (DTCs), `diag-20260923-124226.log` (first `1A 86` hit), `diag-20260923-124544.log` (full ident dump), `diag-20260923-124331.log` / `-124643.log` (negative-response probes).
## Headline 1: Route B works — BMW addressing verified on our own bus
**`(verified 2026-09-23)`** Request `0x6F1` `[12] 02 1A 86` → the DDE answers on **`0x612`** with a 65-byte multi-frame KWP reply (our flow control `[12] 30 00 00` on `0x6F1` accepted). This settles the addressing question from [[google-ai-dde7m57-pids]] in favour of dieslg8's scheme: **tester `0x6F1` + target address byte, ECU replies on `0x600`+address** — from our own exchange now, no longer just sources.
## Headline 2: the stored DTCs — all five are swap leftovers
`diag dtc` (generic mode 03 on `0x7DF`, ignition on, engine off) — reply `43 05 00 30 05 00 05 45 01 13 01 01` `(verified)`:
| Code | Generic meaning | Swap interpretation `(unverified)` |
|---|---|---|
| **P0101** | MAF circuit range/performance | explains the absurd 258 g/s MAF PID reading — sensor unplugged/failed, not a scaling issue |
| **P0113** | intake air temp circuit **high input** | explains the absurd 155 °C IAT PID reading — open circuit reads max |
| **P0500** | vehicle speed sensor A | expected: no DSC/ABS module on the swap bus, nothing sends road speed |
| **P0545** | EGT sensor 1 circuit low | sensor presumably gone with the donor exhaust |
| **P0030** | O2/lambda heater control circuit (B1S1) | lambda presumably gone with the donor exhaust |
Consequences: the Route A "MAF/IAT non-standard scaling" warning is **withdrawn — they are sensor faults, not scalings**. And with a dead MAF the DDE almost certainly runs its fallback air-mass map (less precise fuelling/EGR) `(unverified)` — worth knowing for how the engine behaves.
## Headline 3: the donor identifies itself
`diag bmw 12 1A 86` full reply (65 B):
```
5A 86 40 42 38 39 32 35 32 34 20 06 03 07 00 00 07 79 97 64 00 00 07 79 97 65
00 00 07 79 38 87 01 11 11 31 32 33 34 35 00 30 30 38 39 51 35 30 41 39 36 32
42 57 42 41 4E 43 39 32 30 39 30 FF FF FF
```
Parsed `(verified bytes; field meanings unverified)`:
- ASCII `"B892524"` + BCD `06 03 07` — looks like an ident string and a date (2006-03-07 or 07.03.06).
- Three BCD **BMW part numbers**: **7 799 764**, **7 799 765**, **7 793 887** — DDE hardware/software numbers; a parts-catalogue lookup would name the exact DDE variant. → [[open-questions]] #2
- Trailing ASCII `"12345"`, `"0089Q50"`, `"A962B"`, then **`"WBANC92090"`** + `FF` padding.
- **`WBANC92090` is a VIN prefix**: WBA = BMW, **NC9x = E60 530d** `(unverified model-code decode — check against a VIN table)`. The 7-char serial tail is not in this block. Consistent with everything else known (E60/E61, M57N + 6HP26X); a 2006 build date would make it a **530d LCI-era M57N2 (231 hp), DDE6.2-generation** `(unverified)`.
## What did NOT answer
- `1A 80` — ACKed, silent. `1A 88` — NRC 0x12 (not supported). `21 80` — NRC 0x12.
- `1A 90` (dedicated VIN read) — NRC **0x21 busyRepeatRequest** on every try (ignition-only *and* engine running once); a single-shot probe won't get it (KWP expects the tester to retry, possibly within a session). Not needed — `1A 86` gave the prefix.
- `22 F1 90` (UDS-style VIN DID) — NRC 0x10: **not a UDS ECU**, KWP2000 only — another DDE6/EDC16-era hint `(unverified)`.
## Probe behaviour `(repo)`
Multi-frame TX flow control on `0x6F1` with extended addressing worked first try; `MAX_PAYLOAD` had to grow 64 → 384 (the first `1A 86` capture clipped at 192 mid-VIN). All requests single-shot, whitelisted read-only services (`1A`/`18`/`21`/`22`), zero TX failures once the bus was awake. Reminder from the first attempt of the day: **a silent bus (ignition off) shows up as "not ACKed by any node" + TWAI bus errors** — check ignition before suspecting wiring.
## Related
[[diag-route-a-2026-09-23]] · [[obd-diagnostic-polling]] · [[bmw-m57n-engine]] · [[open-questions]]