The problem, 2006 TRX400FGA Rancher in limp mode flashing esp code 12. The service manual has you test and clean about 5 or 6 circuits. If that fails it calls for ECM replacement. Followed the service manual, tested circuits and finally replaced the ECM but this did not fix the problem.
This is what I did to fix the problem. Cleaned the following connectors, all main ones at the front of the machine, all the main ones along the side where ECM is located. The battery connections looked clean but I went over them with a wire brush. Also cleaned fuse holder and connectors in battery tray area. Now on first start esp light is still blinking but we drove atv for 10 minutes in limp mode, shut it off and on restart system went back to normal.
In my opinion my problem was probably the battery but the code 12 is definately a bad connection somewhere. I know this isn’t 100 percent a difinative solution but maybe it will help another member dealing with this issue.