That sounds like a mechanical problem to me.
I would do a compression test next rather than chase an ECU fault or maybe coil pack, leads, plugs.
Says he who sorted a cutting out 92 MX5 for a friend yesterday for it to then refuse to start 10 minutes later.
eddie