Fri Apr 13, 2018 11:36 am
If by "this" you mean a raspberry pi, the answer is probably not.
Linux will almost certainly prevent your ECU software running in real time. Add to that the complexity of the software invloved (monitoring lots of sensors , updating lots of setting, detecting problems, fault logging, etc) and you're into a lot of work.
Add to that the need for compliance with legal requirements (safety, emission controls, etc) and, well, I wouldn't even try it.
Then there's the impact on vehicle warranty and insurance...
Depending on what you want to do, you might be able to make use of data available via the OBDII port but replacing the onboard ECU is probably a non-starter.
Arguing with strangers on the internet since 1993.