Check that PROM is fully seated. If okay, replace PROM and recheck. If code 51 reappears, replace ECM.