Code 51, Faulty Prom/Mem-Cal
WARNING: This page is about a different car, the 1990 Chevrolet Corvette. However, it is still accessible from the selected car via links, so may be relevant.
Check that all pins are fully inserted in socket. If okay, replace PROM/MEM-CAL, clear memory and recheck. If Code 51 reappears, replace control module.