LEMON Manuals: Even more car manuals for everyone: 1960-2025
Home >> Hyundai >> 2017 >> Elantra Value Edition >> Repair and Diagnosis >> Body & Frame >> Door Locks >> Immobilizer System >> Repair Procedures >> Teaching Procedures
April 5, 2026: LEMON Manuals is launched! Read the announcement.

Teaching Procedures

  1. Key Teaching Procedure

    Key teaching must be done after replacing a defective PCM (ECM) or when providing additional keys to the vehicle owner.

    The procedure starts with an PCM (ECM) request for vehicle specific data (PIN code: 6 digits) from the tester. The "virgin" PCM (ECM) stores the vehicle specific data and the key teaching can be started. The "learnt" PCM (ECM) compares the vehicle specific data from the tester with the stored data. If the data are correct, the teaching can proceed.

    If incorrect vehicle specific data have been sent to the PCM (ECM) three times, the PCM (ECM) will reject the request of key teaching for one hour. This time cannot be reduced by disconnecting the battery or any other manipulation. After reconnecting the battery, the timer starts again for one hour.

    The key teaching is done by ignition on with the key and additional tester commands. The PCM (ECM) stores the relevant data in the EEPROM and in the transponder. Then the PCM (ECM) runs the authentication required for confirmation of the teaching process. The successful programming is then confirmed by a message to the tester.

    If the key is already known to the PCM (ECM) from a previous teaching, the authentication will be accepted and the EEPROM data are updated. There is no changed transponder content (this is impossible for a learnt transponder).

    The attempt to repeatedly teach a key, which has been taught already during the same teaching cycle, is recognized by the PCM (ECM). This rejects the key and a message is sent to the tester.

    The PCM (ECM) rejects invalid keys, which are presented for teaching. A message is sent to the tester. The key can be invalid due to faults in the transponder or other reasons, which result from unsuccessful programming of data. If the PCM (ECM) detects different authenticators of a transponder and an PCM (ECM), the key is considered to be invalid.

    The maximum number of taught keys is 4.

    If an error occurs during the Immobilizer Service Menu, the PCM (ECM) status remains unchanged and a specific fault code is stored.

    If the PCM (ECM) status and the key status do not match for teaching of keys, the tester procedure will be stopped and a specific fault code will be stored at PCM (ECM).

    NOTE:
    • When teaching the 1st key, SMARTRA registers at the same time.
    Fig 1: Immobilizer Teaching Work Flowchart
    G12023097Courtesy of HYUNDAI MOTOR AMERICA
    1. PCM (ECM) learnt status.
      Fig 2: Scantool Display - PCM (ECM) Learnt Status
      G12023098Courtesy of HYUNDAI MOTOR AMERICA
      Fig 3: Scantool Display - ID Register (Teaching)
      G12023099Courtesy of HYUNDAI MOTOR AMERICA
      Fig 4: Scantool Display - Teaching
      G12023100Courtesy of HYUNDAI MOTOR AMERICA
      Fig 5: Scantool Display - First Key Teaching
      G12023101Courtesy of HYUNDAI MOTOR AMERICA
      Fig 6: Scantool Display - First Key Teaching Completed
      G12023102Courtesy of HYUNDAI MOTOR AMERICA
      Fig 7: Scantool Display - Teaching (Press OK Button)
      G12023103Courtesy of HYUNDAI MOTOR AMERICA
      Fig 8: Scantool Display - Second Key Teaching Completed
      G12023104Courtesy of HYUNDAI MOTOR AMERICA
      Fig 9: Scantool Display - Teaching (Press OK Button)
      G12023105Courtesy of HYUNDAI MOTOR AMERICA
      Fig 10: Scantool Display - Third Key Teaching Completed
      G12023106Courtesy of HYUNDAI MOTOR AMERICA
      Fig 11: Scantool Display - Teaching (Press OK Button)
      G12023107Courtesy of HYUNDAI MOTOR AMERICA
      Fig 12: Scantool Display - Fourth Key Teaching Completed
      G12023108Courtesy of HYUNDAI MOTOR AMERICA
    2. PCM (ECM) virgin status.

      After replacing new "PCM (ECM)" GDS displays that PCM (ECM) is virgin status in Key Teaching mode.

      "VIRGIN" status means that PCM (ECM) has not matched any PIN code before.

  2. User Password Teaching Procedure

    The user password for limp home is taught at the service station. The owner of the vehicle can select a number with four digits.

    The user password teaching is only accepted by a "learnt" PCM (ECM). Before first teaching of user password to an PCM (ECM), the status of the password is "virgin" No limp home function is possible.

    The teaching is started by ignition on, with a valid key (learnt key) and sending the user password by tester. After successful teaching, the status of the user password changes from "virgin" to "learnt"

    The learnt user password can also be changed. This can be done if the user password status is "learnt" and the tester sends authorization of access, either the old user password or the vehicle specific data. After correct authorization, the PCM (ECM) requests the new user password. The status remains "learnt" and the new user password will be valid for the next limp home mode.

    If wrong user passwords or wrong vehicle specific data have been sent to the PCM (ECM) three times continuously or intermittently, the PCM (ECM) will reject the request to change the password for one hour. This time cannot be reduced by disconnecting the battery or any other actions. After reconnecting the battery, the timer starts again for one hour.

    1. User password teaching
      Fig 13: Scantool Display - ID Register (Password Teaching/Changing)
      G12023109Courtesy of HYUNDAI MOTOR AMERICA
      Fig 14: Scantool Display - Password Teaching/Changing
      G12023110Courtesy of HYUNDAI MOTOR AMERICA
      Fig 15: Scantool Display - Password Teaching/Changing (With Input Code)
      G12023111Courtesy of HYUNDAI MOTOR AMERICA
      Fig 16: Scantool Display - Password Teaching/Changing Confirmation Message
      G12023112Courtesy of HYUNDAI MOTOR AMERICA
      Fig 17: Scantool Display - Password Teaching/Changing Completed
      G12023113Courtesy of HYUNDAI MOTOR AMERICA

      * In case of putting wrong password, retry from first step after 10 seconds.

    2. User password changing
      Fig 18: Scantool Display - ID Register (Password Teaching/Changing)
      G12023114Courtesy of HYUNDAI MOTOR AMERICA
      Fig 19: Scantool Display - Password Teaching/Changing
      G12023115Courtesy of HYUNDAI MOTOR AMERICA
      Fig 20: Scantool Display - Password Teaching/Changing (Input Old Password)
      G12023116Courtesy of HYUNDAI MOTOR AMERICA
      Fig 21: Scantool Display - Password Teaching/Changing (Input New Password)
      G12023117Courtesy of HYUNDAI MOTOR AMERICA
      Fig 22: Scantool Display - Password Teaching/Changing Completed
      G12023118Courtesy of HYUNDAI MOTOR AMERICA