Files
ESP32-S3-Touch-LCD-5B/wiki/sources/launch-capture-2026-09-23.md
T

4.4 KiB
Raw Blame History

type, tags, updated
type tags updated
source
can-bus
obd
dde
kwp2000
launch
rail-pressure
live-data
capture
2026-09-23

Launch live-data capture — rail pressure decoded (2026-09-23)

The capture-with-Launch session that obd-diagnostic-polling had been pointing at since July, finally run. Engine idling, our read-only logger (tools/serial_logger.py) on Main CTRL's USB recording the full CANRAW stream while the Launch polled the DDE; then the user selected Rail Pressure (actual) and blipped to 2500 rpm for a second calibration point. Raw: raw/serial-COM10-20260923-163511.log (~13 MB, both halves of every exchange).

Headline: rail pressure actual is decoded and VERIFIED

(verified 2026-09-23, two operating points against the Launch display)

Direction CAN ID Payload Meaning
Launch → DDE 0x6F1 12 04 2C 10 00 DF target 12 (DDE), 4-byte req, service 2C local-id 10, operand 00 DF
DDE → Launch 0x612 F1 04 6C 10 HH LL 6C = 2C+0x40, id 10, then 16-bit rail value HHLL

Rail pressure (bar) = (HH·256 + LL) × 0.03 — linear through zero, no offset.

Calibration points (sustained, not transient):

  • idle: raw 0x27EF (10223) → 307 bar vs Launch ~305 ✓
  • 2500 rpm: raw 0x3768 (14184) → 425 bar vs Launch ~430 ✓
  • factor from the two points: 0.0298 and 0.0303 → adopt 0.03 bar/count (≈ raw / 33.3)

Transient spikes to 0x4E31 (20017 → 600 bar) occurred at the instant of throttle tip-in (rail overshoot); they are real but not the steady value the gauge reads.

How the Launch reads it — the mechanism (observed 2026-09-23)

The live poll is service 2C (KWP dynamicallyDefineLocalIdentifier family): on connect the Launch sends 2C 10 15 E0 once (define), then polls 2C 10 00 DF repeatedly (~200 ms), each returning a fresh 6C 10 HHLL. So the value ID 00 DF is the rail-pressure block. Interpreting 00 DF / 15 E0 as memory addresses vs block numbers is unconfirmed — for replay only the request bytes matter. The Launch also runs a constant 1A 80 ident keep-alive and did 22/23 (readData / readMemoryByAddress) reads on connect (ident/programming data, ASCII "090" etc.).

Services the Launch used — and did NOT use (verified from the full capture)

Every 0x6F1 request in the ~13 MB log, by service: 1A (ident keep-alive), 2C (live-data define/read), 22/23 (connect-time ident/memory), plus flow control. Absent entirely: 10 StartDiagnosticSession, 27 SecurityAccess, 3E TesterPresent.

This is the key operational finding: rail pressure is served in the DDE's default state — no diagnostic session, no security seed/key, no tester-present keep-alive. The earlier 21 xx NRCs (0x22 conditions-not-correct, 0x33 security-denied) in diag-route-b-2026-09-23 were specific to the 21 read-by-local-id mechanism — a different door — and do not apply to the 2C path. There is no secret algorithm between us and this value.

Consequences

  • The method generalises: any value the Launch will display can be decoded the same way — capture the 2C/6C pair while its screen shows the number, calibrate scale against the display at two points. Boost, MAF, injection quantity, EGTs are each one session away. See obd-diagnostic-polling "Beyond the probe".
  • Self-poll is feasible without any secret. To read rail pressure ourselves: send the one-time define 2C 10 15 E0, then poll 2C 10 00 DF → parse 6C 10 HHLL. No 10 session, no 27 security, no 3E tester-present required (proven above). The only barriers are our own choices, not the ECU's — see the two below.
  • It is still a transmit-on-the-bus action, and 2C is not strictly read-only (it writes a definition into the ECU's dynamic-identifier table — harmless, but a state change). So it stays outside the current probe whitelist by policy.
  • Intended home (design decision, 2026-09-23): any active polling belongs behind a password-protected "Diagnostics" screen on Main CTRL — authorized-technician gate — never a background/automatic poller and never while a scan tool is connected. Records open-questions; not built yet.
  • No EGS traffic (0x618) — only the DDE (0x612) answered; the Launch was on an engine page.

obd-diagnostic-polling · diag-route-b-2026-09-23 · diag-route-a-2026-09-23 · bmw-m57n-engine · open-questions