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, capture]
updated: 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.
## Related
[[obd-diagnostic-polling]] · [[dwr-335d-torque-pids]] · [[can-id-candidates]] · [[open-questions]]
+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]]