Diagnosis & Repair
WARNING: This page is about a different car, the 2003 Lexus ES 300. However, it is still accessible from the selected car via links, so may be relevant.
For wiring diagram, see Fig 1. Check valve timing (check for loose and jumping teeth of timing belt). If faulty, adjust valve timing. If OK, check and replace ECM.