Reverse lights on DO0, Sport + Vehicle screens, per-DDE live data, ECU identification
Firmware / build (push) Successful in 10m49s

- 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.
This commit is contained in:
2026-10-28 16:46:42 +01:00
parent 8ded9c2a08
commit 1cba9f30bc
60 changed files with 70386 additions and 100 deletions
+4 -2
View File
@@ -1,7 +1,7 @@
---
type: synthesis
tags: [meta, todo]
updated: 2026-09-27
updated: 2026-10-18
---
# Open Questions
@@ -20,7 +20,9 @@ The research frontier. Answering any of these should trigger updates across the
9. **Is a cruise-control PoC worth pursuing, and under what safety envelope?** The bus architecture supports it natively (the DME arbitrates torque requests from the EGS and ACC; `ST_CLCTR_V` reports which regulator has control). But actuation means **transmitting frames that command engine torque**, with unknown checksum/alive-counter algorithms and **no brake-pedal signal on this bus** to build the standard cancel interlock from. Design decision, not a research question. → [[driveline-speed-signals]]
10. **What are the Patrol's final drive ratio and tyre size?** Needed to turn output-shaft rpm into road speed. Swap-specific — not in any donor documentation. → [[nissan-patrol-swap]]
10. **What are the Patrol's final drive ratio and tyre size?** *Half answered 2026-10-13.* Final drive **4.11:1** (user). Tyre size still open — the firmware defaults to a 2440 mm rolling circumference (265/70 R16) and the Settings → Vehicle page lets the user correct it `(repo)`. Road speed is shown as `~km/h` until this, #8 and #11 are settled. → [[nissan-patrol-swap]]
15. **Patrol 2's bus (2026-10-18): who sent the 5-s trio on Patrol 1, and what are `0x38E` / `0x1B6` / `00C2`?** [[can-capture-2026-10-18-patrol-2]]. `0x332` / `0x3B3` / `0x3B4` came every 5 s from one transmitter on Patrol 1 (battery field always invalid) and are absent on Patrol 2 — a retained donor module (CAS? cluster? junction box?) or an EWS-delete difference `(unverified)`; the answer tells which cars keep `0x3B4`'s ignition nibble (the firmware no longer depends on it). `0x38E` (2 B, 10 Hz) is new on Patrol 2, `0x1B6` changed content and rate. The Launch's `2C 10 00 C2` reads 11 016–11 304 raw at idle while showing rail pressure (330–339 bar at the `00DF` scale) — setpoint or actual? Ask the user for the Launch's label next time. **Same evening, with the board on Patrol 2:** Patrol 1's live identifiers returned junk there (no rail, boost flat at 2800 mbar, charge-air temp > 300 °C) — the `2C 10` identifiers are per DDE software, so Patrol 2 needs its own Launch sessions — done the same evening for **boost `003A` and battery `002F`** ([[launch-captures-2026-10-18-patrol-2]]); **charge-air temperature is the one still missing**, and the Launch's own readings for all three Patrol 2 values are still wanted to confirm the (Patrol 1) scales → [[obd-diagnostic-polling]]. The output speed that stayed at 0 was the stationary car: the user confirmed it reads correctly when rolling. Also open: which modules are on each car's PT-CAN ([[vehicles]]). Patrol 2's `1A 86` block was read by the board the same evening: part **7796156**, 2006-05-17 (the Launch's `1A 80` says 7794904 / 2004-01-21 — as on Patrol 1 the two blocks carry different numbers and dates, hardware vs software `(unverified)`); full dump on [[vehicles]]: three part numbers 7796156 / 7796157 / 7789877 and **VIN prefix WBAGM21070 = E65 7-series**, so the two donors are different cars (E60 530d vs E65), which may be the reason for both the missing 5-s trio and the different `2C 10` addresses `(unverified)`.
## Design decisions (parked, not blocking)