Firmware: - CANDriver::transmit(): the single sanctioned transmit path (single-shot, echoed as CANTX lines, TX_FAILED alert counted); CAN-task warnings now take the serial lock - DiagProbe module: `diag pids` supported-PID bitmap scan, `diag pid <hex>`, `diag vin`, `diag ecu`, `diag status`; ISO-TP reassembly with flow control; one request in flight, refused for 3 s after any foreign tester frame - Console dispatch chained via Tunables::setExtraCommandHandler() - CLAUDE.md and docs/UART_PROTOCOL.md updated Wiki: - New page obd-diagnostic-polling (broadcast vs polled, 0x6F1->0x612 addressing, Route A generic OBD PID table, Route B, test-day procedure, firmware probe) - New sources: google-ai-dde7m57-pids (clipping, unverified, 0x612 direction contradicted), dwr-335d-torque-pids (thread + raw/BMW 335d.csv decoded) - Clippings/ folder added to the schema (Obsidian Web Clipper, treated as raw/) - bmw-m57n-engine, can-bus-integration, open-questions, index, log updated
2.4 KiB
type, tags, updated
| type | tags | updated | |||
|---|---|---|---|---|---|
| entity |
|
2026-09-21 |
BMW M57N Engine
The engine at the heart of the project: the display reads its CAN bus and shows live data. Being swapped into a Nissan Patrol → nissan-patrol-swap.
This specific engine (verified — user, 2026-07-15)
- Donor chassis: E60/E61 (2003+) — narrowed from E60/E65 by the 6HP26X gearbox (xDrive output; the 7-series never had M57N + xDrive) — so a DDE6-generation ECU (Bosch EDC16C31/C35) is the expectation
(unverified); the DDE7.3 / EDC17CP09 that Google searches for "dde7 m57" describe is the later M57N2 in the E90/E70. Exact variant still TBD — the Launch's ECU-identification page names it (D60M57D0/D62M57B0vsD73N57C0). → obd-diagnostic-polling - Transmission: ZF 6HP26X (user-confirmed 2026-07-17) with its EGS ECU wired into the CAN bus — gearbox temp and gear position have a real data source (gear-box-can-revealings).
Overview (unverified)
- 3.0 L inline-6 turbo-diesel, second generation ("N" = updated) of the M57 family, produced roughly 2002–2008.
- Engine management: Bosch DDE (Digitale Diesel Elektronik).
- The DDE broadcasts engine data on the vehicle's PT-CAN at 500 kbps, which matches the firmware's configured baud rate
(repo). E60/E65 also carry a K-CAN (~100 kbps) for body functions — we care about PT-CAN only(unverified).
Data we want from it
Per the project goals: coolant temperature, oil temperature, gearbox oil temperature, gear position/number, battery voltage, fault codes → see can-bus-integration for the message-ID question.
Key unknowns
- Exact DDE version and donor model year — narrows the CAN matrix further. → open-questions
- Whether the swap harness alters what's broadcast vs. a stock E60.
- Values the DDE keeps to itself (boost, MAF, rail pressure, injection quantity, DTCs) are only reachable by polling → obd-diagnostic-polling.
CAN IDs
The verified E60 map (coolant, gearbox temp, gear, rpm, torque, battery, turbine and output-shaft speed) lives in can-id-candidates; the firmware decodes exactly that map (repo, 2026-09-21). The E46/E39-era IDs once seeded here (0x316, 0x329, 0x545) and the firmware's original placeholders (0x4F, 0x55, 0x201, 0x1001, 0x101F) were all confirmed absent from the live bus.
Related
nissan-patrol-swap · can-bus-integration · dual-controller-architecture · open-questions