1. Remove the door switch. (See DOOR SWITCH REMOVAL/INSTALLATION)
2. Inspect for continuity between the door switch terminal and a body ground using an ohmmeter.


Door switch removal/installation
Ashtray illumination bulb removal/installationMazda 6 Service Manual: Immobilizer system reprogram procedure
Note
When an error occurs during the reprogram procedures, except when
the PCM is replaced, repeat the procedure from Step 1. If you still cannot
reprogram, confirm how many keys can start the engine. Then, perform the key
replacement or addition reprogram procedure according to the val ...
Mazda 6 Service Manual: Keys
WARNING
Do not leave the key in your vehicle with children and keep them in a place
where your children will not find or play with them: Leaving children in a
vehicle with the key is dangerous. This could result in someone being badly injured
or even killed. Children may find these keys to be ...