ECM's get blamed for way too many problems that are the result of something else. ECM's rarely go bad, it is usually something else. Make sure the your grounds are good and test everything else to verify the proper signal is getting to the ECM.

https://www.engine-codes.com/p2610.html