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: Pcm removal/installation
Note
For replace the PCM, Setup the WDS and perform the PCM
configuration. (See PCM CONFIGURATION.)
1. Disconnect the negative battery cable.
2. For R.H.D, perform the following procedures.
(1) Remove the front side trim (left-side).
(2) Partially peel back the flower covering.
3 ...
Mazda 6 Service Manual: Vehicle speedometer sensor (vss) inspection
Visual Inspection
1. Remove the VSS. (See VEHICLE SPEEDOMETER SENSOR (VSS)
REMOVAL/INSTALLATION.)
2. Make sure that the sensor is free of any metallic shavings or particles.
If any are found on the sensor, clean them off.
3. Install the VSS. (See VEHICLE SPEEDOMETER SENSOR (VSS)
REMOVAL ...