Hyundai Elantra: Engine Control Module (ECM). Repair procedures - Engine Control System - Engine Control/Fuel System - Hyundai Elantra HD 2006–2010 Service ManualHyundai Elantra: Engine Control Module (ECM). Repair procedures

ECM Problem Inspection Procedure

TEST ECM GROUND CIRCUIT: Measure resistance between ECM and chassis ground using the backside of ECM harness connector as ECM side check point. If the problem is found, repair it.

Specification (Resistance): 1Ω or less

TEST ECM CONNECTOR: Disconnect the ECM connector and visually check the ground terminals on ECM side and harness side for bent pins or poor contact pressure. If the problem is found, repair it.
If problem is not found in Step 1 and 2, the ECM could be faulty. If so, replace the ECM with a new one, and then check the vehicle again. If the vehicle operates normally then the problem was likely with the ECM.
RE-TEST THE ORIGINAL ECM : Install the original ECM (may be broken) into a known-good vehicle and check the vehicle. If the problem occurs again, replace the original ECM with a new one. If problem does not occur, this is intermittent problem (Refer to INTERMITTENT PROBLEM PROCEDURE in BASIC INSPECTION PROCEDURE).
VIN Programming Procedure
VIN (Vehicle Identification Number) is a number that has the vehicle's information (Maker, Vehicle Type, Vehicle Line/Series, Body Type, Engine Type, Transmission Type, Model Year, Plant Location and so forth. For more information, please refer to the group "GI" in this SERVICE MANUAL). When replacing an PCM, the VIN must be programmed in the ECM/PCM. If there is no VIN in ECM/PCM memory, the fault code (DTC P0630) is set.
The programmed VIN cannot be changed. When writing the VIN, confirm the VIN carefully
Select "Vehicle" and "Engine" (For example, TUCSON 2.0L L4).


Check the ECM/PCM status.

VIRGIN: VIN is not programmed
LEARNT: VIN has been already programmed
Is the PCM status "VIRGIN"?

▶ Go to next step 4.


Write the VIN with cursor, function and number keys.
Before pressing the "ENTER" key, confirm the VIN again because the programmed VIN cannot be changed.

After verifying the written VIN, press the "ENTER" key.
Turn the ignition switch OFF, and then turn ON.

Verify the programmed VIN in the PCM memory.


Turn ignition switch off.
Disconnect the battery (-) cable from the battery.
Disconnect the ECM connector(s) (A).
Unscrew the ECM mounting bolts (B) and remove the ECM from the air cleaner assembly.

Install a new ECM.

ECM mounting bolts:
9.8 ~ 11.8 N.m (1.0 ~ 1.2 kgf.m, 7.2 ~ 8.7 lb-ft)

    Engine Control Module (ECM). Schematic Diagrams
    Engine Control Module (ECM) 1. Harness Connector 2. Terminal Function Connector [CBG-K] Pin No. ...

    Mass Air Flow Sensor (MAFS). Description and Operation
    Function And Operation Principle Mass Air Flow Sensor (MAFS) is a hot-film type sensor and is located in between the air cleaner and the throttle body. It consists of a tube, a sensor assemb ...