Very unlikely the ECU. Sounds like an electrical issue.
Start right at the basics.
Connect a good battery.
Battery terminals, leads, connections - make sure they're all clean and tight.
What does the good battery voltage do when you try to crank?
Do the interior lights work? Does anything...