Diagnostic procedure

2008 Mazda 6 s Sport, 4D Hatchback, StandardSECTION Diagnostic procedure
DTC P0038 [AJ] DIAGNOSTIC PROCEDURE

STEP INSPECTION ACTION
1 VERIFY FREEZE FRAME DATA AND DIAGNOSTIC MONITORING TEST RESULTS HAVE BEEN RECORDED 
  • Have FREEZE FRAME DATA and DIAGNOSTIC MONITORING TEST RESULTS (HO2S heater related) been recorded?
Yes Go to the next step.
No Record FREEZE FRAME DATA and DIAGNOSTIC MONITORING TEST RESULTS on repair order, then go to the next step.
2 VERIFY RELATED REPAIR INFORMATION AVAILABILITY 
  • Check for related Service Bulletins and/or on-line repair information availability.
  • Is any related repair information available?
Yes Perform repair or diagnosis according to the available repair information.
  • If the vehicle is not repaired, go to the next step.
No Go to the next step.
3 INSPECT HO2S (RR) CONNECTOR FOR POOR CONNECTION 
  • Turn the ignition switch off.
  • Disconnect HO2S (RR) connector.
  • Check for poor connection (such as damaged, pulled-out pins, and corrosion).
  • Is there any malfunction?
Yes Repair or replace the terminal, then go to Step 7.
No Go to the next step.
4 INSPECT HO2S HEATER (RR) CONTROL CIRCUIT FOR SHORT TO POWER 
  • Turn the ignition switch to the ON position.
  • Measure voltage between HO2S (RR) terminal D and body ground.
  • Is voltage B+  ?
Yes Repair or replace harness for short to power, then go to Step 7.
No Go to the next step.
5 INSPECT HO2S HEATER (RR) 
Yes Replace HO2S (RR), then go to Step 7.
(See EXHAUST SYSTEM REMOVAL/INSTALLATION [AJ] ).
No Go to the next step.
6 INSPECT PCM CONNECTOR FOR POOR CONNECTION 
  • Turn the ignition switch off.
  • Disconnect PCM connector.
  • Check for poor connection (such as damaged, pulled-out pins, and corrosion).
  • Is there any malfunction?
Yes Repair or replace the terminal, then go to the next step.
No Go to the next step.
7 VERIFY TROUBLESHOOTING OF DTC P0038 COMPLETED 
  • Make sure to reconnect all disconnected connectors.
  • Clear DTC from PCM memory using M-MDS.
  • Perform the KOEO or KOER SELF TEST using the M-MDS.

    (See KOEO/KOER SELF TEST [AJ] ).

  • Is the PENDING CODE same DTC present?
Yes Replace PCM, then go to the next step.
(See PCM REMOVAL/INSTALLATION [AJ] ).
No Go to the next step.
8 VERIFY AFTER REPAIR PROCEDURE 
Yes Go to the applicable DTC inspection.
(See DTC TABLE [AJ] ).
No Troubleshooting completed.
RENDER: 1.0x

NO RELATED

Recommended Tools & Savings

Use the Manual With the Right Hardware

Pair factory procedures with proven DIY tools so the instructions are easier to execute.

Affiliate disclosure: We may earn a commission at no extra cost to you.

When to See a Mechanic

Stop DIY work and contact a certified mechanic immediately if any of the following apply:

  • You smell fuel, burning insulation, or see smoke.
  • Brakes feel soft, pull hard to one side, or make grinding noises.
  • The engine overheats, stalls repeatedly, or misfires under load.
  • You are missing required tools, torque specs, or safe lifting equipment.
  • You are not confident in the next step or safety outcome.