Engine died. Now won't start
Trying a used ecu is not a true test. These boxes need to be properly grounded before the harness connector is placed on them too.
There isn't much of anything else that will come and go as you described.
Print