LEMON Manuals: Even more car manuals for everyone: 1960-2025
Home >> Mazda >> 2012 >> 6 s Touring Plus >> Repair and Diagnosis (Single Page) >> Accessories & Equipment >> Anti-Theft Systems >> Security System And Locks System >> Immobilizer System-Related Parts Programming [Advanced Keyless Entry And Push Button Start System] >> No.4 Programming Procedure Due to Keyless Control Module Replacement >> Procedure
April 5, 2026: LEMON Manuals is launched! Read the announcement.

No.4 Programming Procedure Due to Keyless Control Module Replacement: Procedure

Fig 1: Identifying Valid Keys
G08144598
Step Procedure Action after procedure
1 REPLACE KEYLESS CONTROL MODULE 
Refer to keyless control module removal/installation for the keyless control module replacement and configuration. (See KEYLESS CONTROL MODULE REMOVAL/INSTALLATION [ADVANCED KEYLESS ENTRY AND PUSH BUTTON START SYSTEM] .)
(See KEYLESS CONTROL MODULE CONFIGURATION [ADVANCED KEYLESS ENTRY AND PUSH BUTTON START SYSTEM] .)
Go to the next step.
2 PERFORM PARAMETER RESET 
  • Connect the M-MDS (IDS) to the DLC-2.

    (See M-MDS CONNECTING PROCEDURE .)

  • Remove the valid keys or valid advanced keys from the vehicle (keep them 1 m or more from the vehicle), and switch the ignition on according to the directions on the M-MDS screen. Select, "There is no programmed ignition key and programmed advanced key" from the M-MDS screen.
    CAUTION:
    • The engine cannot be started if the ignition is switched ON by selecting "Special Service Mode", however, this does not indicate a malfunction. Continue to perform the procedure as indicated.
    • The security light or the keyless warning light (red) illuminates or flashes, this does not indicate an improper procedure. Continue to perform the procedure as indicated.
    NOTE:
    • Although the security light starts flashing and DTC 15 is displayed after approx. 1 min  , this does not indicate an improper procedure. Continue to perform the procedure as indicated.
  • After the vehicle is identified, select the following items from the initial screen of the M-MDS.
    • When using the IDS (laptop PC):
      • Select the "Body"
      • Select the "Security"
      • Select the "PATS Functions"
  • Then, select an item from the screen menu.

    item 

    • Parameter Reset
  • Perform the security access according to the directions on the M-MDS screen.
  • Select the replaced parts "RKE" according to the directions on the M-MDS screen.
    CAUTION:
    • At this time, do not select the other parts from the M-MDS menu.
Go to the next step.
3 CLEAR IGNITION KEY ID NUMBERS 
  • Select "Ignition Key Code Erase and Program" from the M-MDS screen menu.
  • Clear the ignition key code according to the directions on the M-MDS.
Go to the next step.
4 PERFORM IGNITION KEY ID NUMBER PROGRAMMING 
  • Program two keys according to the directions on the M-MDS.
  • Verify that the PATS function menu is displayed again on the M-MDS screen.
Go to the next step.
5 PERFORM ADVANCED KEY PROGRAMMING 
  • Select "Program Additional Ignition Key" from the M-MDS screen menu.
  • Program the advanced key according to the directions on the M-MDS.
  • Verify that the PATS function menu is displayed again on the M-MDS screen.
Go to the next step.
6 PERFORM STEERING LOCK UNIT PROGRAMMING 
  • Select "Steering Lock Unit Programming" from the M-MDS screen menu.
  • Complete the steering lock unit programming according to the directions on the M-MDS.

    (See STEERING LOCK UNIT ID CODE REGISTRATION [ADVANCED KEYLESS ENTRY AND PUSH BUTTON START SYSTEM] .)

  • After verifying that the PATS function menu is displayed again on the M-MDS screen, select "Finish (this menu)".
  • Switch the ignition off.
  • Disconnect the M-MDS from the DLC-2.
  • Remove the programmed card key from the vehicle.
Go to the next step.
7 ESTABLISH THE IMMOBILIZER SYSTEM WITH KEY 1 
NOTE:
  • By starting the engine, the immobilizer system is established and key programming is finished.
  • Start the engine using key 1.
  • Verify that the security light and keyless warning light operate as shown in the following figure.
  • Switch the ignition off and remove key 1.
Go to the next step.
G08144599
8 VERIFY THAT ANY KEY IS PROGRAMMED 
  • Start the engine using key 2.
  • Verify that the security light and keyless warning light operate as shown in the following figure.
  • Switch the ignition off and remove key 2.
  • Are there other keys to be programmed?
Yes Repeat Step 8 using each programmed key.
G08144600
No Go to the next step.
9 VERIFY THAT ANY ADVANCED KEY IS PROGRAMMED 
  • Bring the programmed advanced key into the vehicle.
  • Close all doors.
  • Remove the key from the key slot and place it on the front passenger's seat.
  • Start the engine using the advanced key.
  • Verify that the security light and keyless warning light operate as shown in the following figure.
  • After verifying that the keyless warning light turns off, switch the ignition off.
Procedure is completed
G08144601