1) Disconnect the connectors from the ECM.
2) Measure the resistance between ECM and chassis ground.
Connector & terminal
(B135) No. 5 — Chassis ground:
Is the resistance 1 MΩ or more?
Repair the ground short circuit of harness between ECM and battery terminal.