Check the wiring to the ECU, the power and ground in most cases needs to be directly connected to the battery with no switches or other connections between the ECU and battery.