Code Enable Criteria
WARNING: This page is about a different car, the 2002 Oldsmobile Aurora. However, it is still accessible from the selected car via links, so may be relevant.
DTC B1004 sets in a control module after power or ground has been removed from it and KAM is erased.