|
EDC16C31 (MPC555) — Looking for Internal Flash / OS ROM Dump (0xFF800000+) - Printable Version +- MHH AUTO (https://mhhauto.com) +-- Forum: Suggestion, Selling & Damaged Links Box (https://mhhauto.com/Forum-Suggestion-Selling-Damaged-Links-Box) +--- Forum: Software Requests. (https://mhhauto.com/Forum-Software-Requests) +--- Thread: EDC16C31 (MPC555) — Looking for Internal Flash / OS ROM Dump (0xFF800000+) (/Thread-EDC16C31-MPC555-%E2%80%94-Looking-for-Internal-Flash-OS-ROM-Dump-0xFF800000) |
EDC16C31 (MPC555) — Looking for Internal Flash / OS ROM Dump (0xFF800000+) - gareth_29292992 - 02-07-2026 I've been doing a deep reverse-engineering project on a Bosch EDC16CP31 ECU from a W211 E320 CDI (OM648 3.2L I6). - Part Number: 1037370731P321/C57 - Software: F_PA_P_321.12.6.3 - Hardware: MPC555/RevG I've fully decompiled the 1MB external flash (application + calibration) using Ghidra — 895 functions, 66,000+ lines of C pseudocode. I've mapped out all 22 KWP2000 service handlers, the security access seed-key algorithm, the measurement channel system (FUN_00043480), and the complete RAM address map. The Problem I've traced the KWP2000 ReadDataByLocalId (SID 0x21) service handler and found 15 active measurement channels (LIDs 0x03–0x20). The application code calls into a measurement handler (FUN_00043480) which reads a descriptor table to know which RAM variables to pack into each LID response. But that descriptor table isn't in the 1MB external flash. It lives in the MPC555's internal flash — the Bosch OS/Funktionsrahmen layer. From the decompiled code, the application makes calls to 174 unique functions in the address range 0xFF8127A8 – 0xFF86E350. These are clearly the Bosch OS ROM functions: - **0xFF85782c** (472 calls) — signed math / multiply-divide - **0xFF8579b0** (275 calls) — scaling/normalization - **0xFF8581dc** (260 calls) — 2D map interpolation - **0xFF8582d4** (159 calls) — axis interpolation - **0xFF858b48** (62 calls) — 3D map interpolation - **0xFF8202b8** (228 calls) — OS/RTOS service - **0xFF81ffe0** (215 calls) — OS/RTOS service - **0xFF81fa1c** (101 calls) — OS/RTOS service - **0xFF857cec** (61 calls) — map lookup with limits - **0xFF8584f4** (28 calls) — map lookup with axis pointer The OS ROM also contains: - The RTOS kernel / task scheduler - CAN driver and KWP2000 transport layer - The LID signal descriptor tables (which bytes in each LID response correspond to which sensor/variable) - Display group configuration What I'm Looking For 1. Does anyone have a full BDM dump of an EDC16C31 (MPC555) that includes the internal flash at 0xFF800000+? The hardware revision should be the same across all EDC16C31 units — the OS ROM doesn't change between application variants (OM646/OM648/OM642 etc.), only the external flash differs. 2. Has anyone documented the Bosch Funktionsrahmen function addresses for EDC16C31? I have the full call map from the application side — I know which OS functions are called and with what parameters — but I can't see the implementation without the internal flash. 3. Is the MPC555 internal flash read-protected on these ECUs? I know Bosch can set CMF protection bits. Can standard BDM tools (BDM100, Dimsport, etc.) read it, or does it require a workaround? 4. Alternatively — does anyone have documentation for the LID/display group descriptor table format? If I knew the structure (e.g. how many bytes per entry, offset-to-RAM-variable mapping, scaling factors), I could potentially reconstruct the table from what I already know about the measurement channels. |