you can sometimes clear freeze frame codes (permanent) by completing three full drive cycles. what is a drive cycle you ask... its not just disconnecting the negative battery cable for a minute or overnight. here is the drive cycle procedure for our trucks.
To perform an OBDII Driving cycle do the following:
1.
Cold Start. In order to be classified as a cold start the engine coolant temperature must be below 50°C (122°F) and within 6°C (11°F) of the ambient air temperature at startup. Do not leave the key on prior to the cold start or the heated oxygen sensor diagnostic may not run.
2.
Idle. The engine must be run for two and a half minutes with the air conditioner on and rear defroster on. The more electrical load you can apply the better. This will test the O2 heater, Passive Air, Purge "No Flow", Misfire and if closed loop is achieved, Fuel Trim.
3.
Accelerate. Turn off the air conditioner and all the other loads and apply half throttle until 88km/hr (55mph) is reached. During this time the Misfire, Fuel Trim, and Purge Flow diagnostics will be performed.
4.
Hold Steady Speed. Hold a steady speed of 88km/hr (55mph) for 3 minutes. During this time the O2 response, air Intrusive, EGR, Purge, Misfire, and Fuel Trim diagnostics will be performed.
5.
Decelerate. Let off the accelerator pedal. Do not shift, touch the brake or clutch. It is important to let the vehicle coast along gradually slowing down to 32km/hr (20 mph). During this time the EGR, Purge and Fuel Trim diagnostics will be performed.
6.
Accelerate. Accelerate at 3/4 throttle until 88-96 km/hr (55-60mph). This will perform the same diagnostics as in step 3.
7.
Hold Steady Speed. Hold a steady speed of 88km/hr (55mph) for five minutes. During this time, in addition to the diagnostics performed in step 4, the catalyst monitor diagnostics will be performed. If the catalyst is marginal or the battery has been disconnected, it may take 5 complete driving cycles to determine the state of the catalyst.
8.
Decelerate. This will perform the same diagnostics as in step 5. Again, don't press the clutch or brakes or shift gears.
after doing this three times the PCM "May" clear the codes itself without having to take it to a dealer. what is important to note here is that if you pull the codes and fix the problem, or think so anyway. the only true way to tell is to clear the codes and go through at least one full drive cycle, and make sure they dont come back. then you can be sure its fixed. that doesnt mean just start it up in the driveway and check for a light. drive it a few days to be sure.