1) Connect the ECM to connector.
2) Measure the resistance between accelerator pedal position sensor connector and chassis ground.
Connector & terminal
(B315) No. 6 — Chassis ground:
Is the resistance 10 kΩ or more?
Replace the accelerator pedal.
Repair the short circuit to ground in harness between ECM connector and accelerator pedal position sensor connector. Replace the ECM if defective.