LEMON Manuals: Even more car manuals for everyone: 1960-2025
Home >> Audi >> 2002 >> S4 Quattro, Automatic >> Repair and Diagnosis >> Engine Performance >> System >> Engine Controls - Self-Diagnostics - 2.7L Turbo >> Self-Diagnostic System >> Function 07 - Coding Engine Control Module
April 5, 2026: LEMON Manuals is launched! Read the announcement.

Function 07 - Coding Engine Control Module

If Engine Control Module (ECM) is replaced, it is necessary to code new ECM. If new ECM is not properly coded, the following problems may occur:

Connect VAS 5051 or equivalent scan tool to Data Link Connector (DLC). DLC is located behind cover under left side of steering column. See Figure. Following scan tool instructions, access ECM coding information using scan tool. From 01 - ENGINE ELECTRONICS, select 07 - CODE CONTROL MODULE. Press "Q" button to confirm input. For ECM coding options, see Fig 1.

To code ECM perform following steps:

  1. After identifying current ECM coding, press "FORWARD BUTTON" on scan tool. On scan tool, enter "07" to select diagnostic function 07 - CODING ENGINE CONTROL MODULE. Press "Q" button to confirm input, and go to next step.
  2. Scan tool will display ECM coding. Enter appropriate ECM coding. Press "Q" button to confirm input, and go to next step.
  3. If scan tool displays, FUNCTION UNKNOWN OR CANNOT BE CARRIED OUT, check parts catalog to ensure right ECM was installed. It is also possible to enter wrong ECM coding. Replace ECM or re-enter ECM coding.
  4. After ECM coding is completed, press "FORWARD BUTTON" on scan tool. Enter "06" to select diagnostic function 06 - END FUNCTION. Turn ignition off, and disconnect scan tool from DLC.

NOTE: After coding ECM and starting engine for first time, allow engine to idle for several minutes so ECM can go through a relearn function. Idle speed may be erratic while ECM is learning.
Fig 1: Engine Control Module Coding Chart
G00222204Courtesy of AUDI OF AMERICA, INC.