1. Connect WDS or equivalent to the vehicle DLC-2 16-pin connector located as shown in the figure.

2. Perform KOEO/KOER self-test.
After repair procedureMazda 6 Service Manual: Locking, Unlocking the Doors
NOTE
The system may not operate if you are too close to the windows or door
handles.
If the key is left in the following areas and you leave the vehicle,
the doors may be locked depending on the radio wave conditions even if the key
is left in the vehicle.
Around the dashboard
...
Mazda 6 Service Manual: Abs (abs/tcs) hu/cm removal/installation
Caution
When replacing the ABS (ABS/TCS) HU/CM, configuration procedure
must be done before removing the ABS (ABS/TCS) HU/CM. If configuration is
not completed before removing the ABS (ABS/TCS) HU/CM, TCS will not work
properly (with TCS model).
Do not drop the ABS (ABS/TCS) HU/CM. Re ...