Measure the resistance between ECM and chassis ground.
Connector & terminal
(B136) No. 31 — Chassis ground:
Is the resistance 1 MΩ or more?
Repair the ground short circuit of harness between ECM and transmission harness connector.