How-to guides · 2026-11-27
MED17.2 Evoque Map Locations
Stefan Bogdanescu
Founder & Senior Architect
Identifying and Calibrating Map Locations on MED17.2 Engine Control Units
The objective of this guide is to teach advanced automotive technicians, calibration engineers, and software specialists how to approach the identification, verification, and modification of specific calibration maps within a complex Engine Control Unit (ECU), specifically referencing the structure found in units like the Bosch MED17.2 used on vehicles such as the Evoque Si4. Understanding map locations requires knowledge of ECU memory architecture and internal engine control strategies.
Prerequisites and Technical Principles
Before attempting to locate or modify calibration maps, a solid understanding of embedded automotive software and hardware is mandatory.
Required Tools and Resources
- Diagnostic Hardware: High-speed CAN/LIN interface capable of accessing diagnostic services (UDS/DoIP).
- Programming Tooling: Specialized flash programming equipment compatible with the specific ECU manufacturer's protocol.
- Software Environment: Calibration software suite capable of reading and writing calibrated data blocks, often requiring knowledge of proprietary file formats.
- Technical Documentation: Manufacturer Service Manuals (especially those detailing diagnostic trouble codes and calibration parameters) and relevant technical specification sheets are crucial for understanding expected operational ranges.
Understanding ECU Map Structures
In automotive ECUs, control strategies (like fueling or timing) are rarely managed by single fixed values. Instead, they rely on multi-dimensional lookup tables called "maps."
- Definition: A map is essentially a structured array of data points that define a specific calculation output based on two or more input parameters.
- Coordinates: Each map has defined axes (e.g., Boost Pressure vs. Engine Speed; Manifold Absolute Pressure vs. Throttle Position). The ECU reads the operating conditions, determines the corresponding coordinates $(X_{input}, Y_{input})$, and retrieves the value from that specific intersection point in memory.
- Memory Addressing: To modify a map, you must know its precise physical location (memory address), relative offset within the flash memory, and the data type/size of the values being stored.
Calibration Scope Overview
When modifying performance or operational parameters, technicians typically target maps governing these core functions:
| Parameter Group | Typical Variables Controlled | Input Axes Examples | Purpose |
|---|---|---|---|
| Boost Control | Boost targets, boost ramp rates, wastegate actuator control. | Engine Speed (RPM), Manifold Pressure (MAP). | Defines the permissible and desired turbocharger pressure envelope. |
| Fueling (Lambda) | Target Air-Fuel Ratio ($\lambda$), injection pulse width, enrichment/lean limits. | MAP, RPM, Temperature. | Ensures optimal combustion efficiency while protecting engine components. |
| Ignition Timing | Degrees Before Top Dead Center (BTDC), timing advance curves. | Engine Load, RPM, Knock Sensor Readings. | Optimizes power output and efficiency by controlling the spark event timing. |
| Operational Limits | Underboost cut-off thresholds, overboost shutdown limits. | MAP, Boost Pressure Sensors. | Provides protective measures to prevent engine damage outside normal operating parameters. |
Locating Calibration Map Addresses (MED17.2)
Locating map addresses is a complex reverse engineering process that requires combining diagnostic data analysis with deep knowledge of the ECU's internal protocols. There are no universal, publicly available address lists; they depend entirely on the specific vehicle model year, software version, and hardware revision of the MED17.2 unit.
Step 1: Initial Diagnostic Data Acquisition
The first step is to identify which parameters require adjustment by monitoring the ECU's real-time operational data.
- Identify Target Parameters: Determine which function needs tuning (e.g., increasing boost limits, modifying fueling under specific conditions).
- Monitor Input/Output: Connect diagnostic tools and record data streams for all relevant inputs (RPM, MAP, Throttle Position, etc.) and outputs that relate to the target parameter. This confirms the operational axes of interest.
Step 2: Protocol Analysis and Data Logging
Map addresses are often embedded within internal control flow or stored in dedicated calibration files, not usually accessible through standard OBD-II diagnostics. Advanced tools are necessary for this step.
- Analyze Diagnostic Services: Use advanced flashing/diagnostic interfaces to trigger specific operational modes (e.g., simulating high load vs. low load).
- Capture Internal Bus Traffic: Specialized equipment may be required to observe internal communications or memory reads/writes triggered by the ECU's control logic when it calculates a critical value (like injector pulse width).
- Correlate Data: Correlate the observed operational input values (e.g., "At 4000 RPM and 1 bar MAP, the output fueling calculation is X") with known engine operating principles to narrow down the potential memory blocks responsible for that function.
Step 3: Mapping Address Verification
Once a potential memory block is identified, its structure must be mapped. This is often done using proprietary manufacturer documentation or specialized reverse engineering software.
- Determine Map Structure: Identify whether the data resides in a linear array, a lookup table, or a complex matrix. Determine the dimensions (e.g., 8 bits for X-axis, 16 bits for Y-axis).
- Calculate Offsets: Calculate the start address and offset required to reach a specific point on the map based on the input parameters derived in Step 2. This process requires calculating indices:
$$\text{Address} = \text{Base Address} + (\lfloor \frac{\text{Input } X}{\text{X Scale}} \rfloor \times \text{Stride}_1) + (\lfloor \frac{\text{Input } Y}{\text{Y Scale}} \rfloor \times \text{Stride}_2)$$
- Base Address: The starting memory location of the entire map.
- Stride: The number of bytes separating one row or column from the next.
Implementation and Calibration Procedure
Once multiple maps are identified, modified, and verified in a simulation environment, they must be written back to the ECU flash memory.
1. Develop the Modification Strategy
Determine the required change using engineering calculations (e.g., if a fuel map needs to increase output by 5%, calculate the necessary scaling factor for the specific cells). Do not simply guess; use theoretical models and operational data.
2. Flash File Preparation
The modified maps must be compiled into a valid, structured file format compatible with the ECU’s programming tool. This process often involves:
- File Formatting: Placing the calculated values into the correct binary or text map structure (e.g., adjusting specific coefficients in a
.binor.datfile).