Hi Willep, Welcome to the forum.
What code reader are you using. If it was an ECU fault then you would have a code of some sort or a failure to read ECM. It looks like a security immobilizer problem rather than an ECU fault.
As the engine turns over it eliminates the Inertia switch.
Crank sensor would not stop the fuel pump or spark. But would have a code as well.
Roger