Diagnostic Aids
WARNING: This page does not describe the selected car, but rather 7 other vehicles, including the 2008 GMC Yukon XL, 2008 GMC Yukon, 2008 Chevrolet Tahoe, 2008 Chevrolet Suburban, and 2008 Cadillac Escalade EXT. However, it is still accessible from the selected car via links, so may be relevant.
When attempting to set TCM internal DTCs let the engine run for at least 1 minute and then shut the engine off for 30 seconds. Following this procedure will allow for a complete TCM shutdown. Reprogram the TCM and retest the DTC to see if the DTC resets.