- ReverseLight: isolated output DO0 (CH422G OC0 -> PC817 -> NPN sink) drives the reverse-lamp relay while the lever is in R on a live bus with ignition on; 10 Hz decision confirmed over 200 ms, written through the panel library's expander object so the backlight cannot undo it; `reverse status|on|off|force` console, default ON (NVS `revlight_en`). Wiki page reverse-lights-output with the wiring. - Sport screen: BMW-style power + torque gauges (lv_meter on a dial-face image, image needle); PNG sources in assets/, tools/png2lvgl.py converter. - Vehicle: final drive ratio + tyre circumference -> road speed, hp from torque; Settings > Vehicle page; `vehicle` console. - Bench simulation (`sim` console) overlays torque / rpm / shaft on the snapshot. - EcuIdent: KWP 1A 86 / 1A 80 read once, stored in NVS, shown on Settings > Vehicle, passive ECU CHANGED? check; `ecu` console. - Ignition fallback from the 0x1D2 lever byte on buses without 0x3B4 (Patrol 2). - Engine data: per-DDE `2C 10` identifier profiles (Patrol 1 vs Patrol 2 rail 00C2 / boost 003A / battery 002F); DiagProbe liveConfigure(). - Wiki: Patrol 2 captures, vehicles page, obd identifier table per DDE, logs.
5.8 KiB
type, tags, updated
| type | tags | updated | |||||
|---|---|---|---|---|---|---|---|
| entity |
|
2026-10-18 |
Vehicles — one row per setup this firmware has met
The project started on one Patrol; on 2026-10-18 the user brought logs from a second Patrol (can-capture-2026-10-18-patrol-2) and announced a third setup for 2026-10-19. The two DDEs turned out to be different units that broadcast identical frames; what differed was which other modules sit on the PT-CAN. Two rules follow (design, 2026-10-18):
- The ECU identity is a label. The firmware reads it once (KWP
1A 86, then1A 80), stores it, shows it on Settings → Vehicle, and never asks again until Re-read ECU ((repo)EcuIdent). It tags captures and this table; no broadcast scaling depends on it. - Behaviour adapts to the frames present, never to the ECU name: e.g. ignition from
0x3B4when that frame is on the bus, from the0x1D2lever byte otherwise. - Exception, found the same evening: the diagnostic live-data identifiers are per DDE software. Patrol 1's
2C 10set read junk on Patrol 2 (no rail, boost flat at 2800 mbar, charge-air temp above 300 °C); the Launch polls00C2there instead of00DF. The Engine data screen therefore keys its identifier set on the stored part number and asks nothing it has no identifier for → obd-diagnostic-polling table.
| Setup | DDE 1A 80 (part number, date) |
DDE 1A 86 |
IDs on the bus | Live-data identifiers (2C 10) |
Differences | Evidence |
|---|---|---|---|---|---|---|
| Patrol 1 (July – October 2026; the board's first car) | 7796678, 2006-02-16 (from the Launch's reads in raw/boost.txt) |
7799764 / 7799765 / 7793887, 2006-03-07, VIN prefix WBANC92090 (E60 530d) — our probe, 2026-09-23 | 0A8 0A9 0AA 0B5 0BA 1A2 1B6 1D0 1D2 200 332 3B3 3B4 492 498 592 598 |
define 15E0; rail 00DF, boost 0091, charge-air temp 16A8, battery 0093 |
0x3B4 present but battery field always invalid; 1A 80 from our probe went unanswered on 2026-09-23 |
can-capture-2026-07-15, diag-route-b-2026-09-23, launch-captures-2026-10-07 |
| Patrol 2 (2026-10-18) | 7794904, 2004-01-21 (from the Launch's reads) | 7796156 / 7796157 / 7789877, 2006-05-17, "@DR55820 ", VIN prefix WBAGM21070 — an E65 7-series (730d (unverified)), not an E60 like Patrol 1 — the board's own read, ecu dump 2026-10-18 evening (1A 80 also stored by the board: 7794904 / 2004-01-21, 31 B) |
0A8 0A9 0AA 0B5 0BA 1A2 1B6 1D0 1D2 200 38E 492 498 592 598 |
rail 00C2, boost 003A, battery 002F (all (unverified scale), Patrol 1's formulas fit — launch-captures-2026-10-18-patrol-2); charge-air temp not captured; Patrol 1's identifiers return junk here |
no 0x332 / 0x3B3 / 0x3B4 (ignition from the lever); 0x38E new; 0x1B6 content/rate changed; output shaft 0x0BA bytes 3–4 work here too (user, rolling, 2026-10-18 evening) |
can-capture-2026-10-18-patrol-2 |
| Setup 3 (planned 2026-10-19) | — | — | — | — | said to differ from both | — |
Human names for the part numbers (a parts-catalogue lookup would name the exact DDE variant) are (unverified); both are M57N DDE6-era units by behaviour (KWP2000, same 2C live-data service, same broadcast map). The donors differ: Patrol 1's DDE came from an E60 530d (WBANC92090), Patrol 2's from an E65 7-series (WBAGM21070) — a plausible reason for the different 2C 10 addresses and the different bus population (the E60's 5-s trio 0x332/0x3B3/0x3B4 absent, 0x38E present) (unverified link).
Raw 1A 86 of Patrol 2 (66 bytes, this board, 2026-10-18):
+000 5A 86 40 44 52 35 35 38 32 30 20 06 05 17 00 00 |Z.@DR55820 .....|
+016 07 79 61 56 00 00 07 79 61 57 00 00 07 78 98 77 |.yaV...yaW...x.w|
+032 01 11 11 31 32 33 34 35 9E 30 30 38 39 45 48 30 |...12345.0089EH0|
+048 41 51 39 31 42 57 42 41 47 4D 32 31 30 37 30 FF |AQ91BWBAGM21070.|
+064 FF FF |..|
Raw 1A 80 (31 bytes): 5A 80 00 00 07 79 49 04 10 00 00 10 35 39 20 04 01 21 08 08 02 30 08 FF FF 02 03 01 00 00 00. Same layout as Patrol 1's blocks (part number at 1A 86 byte 16, date at 11; 1A 80 part at 4, date at 15) — the decoder fits both cars (verified).
What to capture on a new setup (procedure)
Three CANNY logs plus notes, the way Patrol 2 was done:
- Key on only, ~15 s, then key off and keep logging until the bus goes quiet (gives the wake-up and after-run timing, and the lever byte's
F0behaviour). - Start, idle, two throttle blips, lever through R / N / D with the brake held, key off, keep logging.
- Launch connected on each live parameter the Engine data screen shows — rail pressure, charge-air pressure, charge-air temperature, battery voltage — one at a time, ~20 s each, noting the parameter's name and the value on the Launch screen (the
2C 10 <id>identifiers differ per DDE, so this is the only way the screen gets its identifiers on a new car). The Launch's1A 80cycle identifies the DDE even without our board. - A note of what else is wired to the PT-CAN besides DDE and EGS.
- If drivable: a short drive with a GPS speed reading at one steady moment (the output-shaft factor is still provisional, driveline-speed-signals) — and a check that
0x0BAbytes 3–4 move at all on that car's EGS.
With the board on the car: ecu show after a few seconds with the key on (it reads the identification once by itself), diag status, and a CANRAW capture for the ID census (tools/serial_logger.py). Offline, the per-ID census and the decoded timeline come from the scripts used for Patrol 2 (per-ID counts, rates, per-byte variability; half-second decoded timeline).
Related
can-capture-2026-10-18-patrol-2 · nissan-patrol-swap · bmw-m57n-engine · can-id-candidates · obd-diagnostic-polling · open-questions