Here's part of a GM document.
Condition
Some customers may comment that the 4WD/AWD indicator lights on the selector switch do not work, or the 4WD/AWD system may be inoperative and/or the service 4WD light is illuminated. The condition is typically intermittent and always occurs at key-up.
Cause
The Transfer Case Control Module (TCCM) has not received the wake-up call during key-up and has remained in the "sleep mode".
When the TCCM is in the "sleep mode", it will not communicate with the class II bus or the Tech 2?.
Correction
1. Try to communicate with the TCCM. If no communication, go to step 2. If communication is possible, go to step 5.
2. Remove the underhood (ATCM or TREC) TCCM fuse.
3. Wait 30 seconds.
4. Reinstall the fuse. The module should "wake up" and communicate with the Tech 2?.
5. Check for codes in the TCCM. If a C0550 is found current or in history with or without other codes, replace the module and go to step 6.
6. Reprogram the TCCM using normal SPS procedures, using TIS software version 3 released March 8th, 2004 or newer.
7. Verify operation and that no codes are present.
Important
For the 2002 Model Year, the TCCM must be replaced and recalibrated.