2004 Rancher 400 AT code 12 stuck in safe mode

Hello, I am new to the forum and appreciate all the I’ve already read. My problem is I have an 04 rancher AT 4×4 that is driving me nuts. I have done about everything I can think to solve my code 12 problem.. Replaced the shift motor, ecm, new angle sensor (preloaded), new esp shift buttons, but the code 12 still shows on the display. I cannot get all the way through the intitial setup for the ecm since the code will not clear. I have never heard the shift motor even attempt to work unless I put direct voltage to the 5p connector at the ecm. Can anyone lead me to the promised land of non frustration?