As acshortt5 pointed out, it must have been a power supply issue, possibly in the connector to the ECU. After having disconnected and reconnected it a few times the car now runs fine, fingers crossed it will keep running
If problems reappear, I have a spare ECU ready for cloning.