whenever I attempt an auto home routine, X axis moves until it hits the endstop and then the printer generates a fatal error saying "homing failed - printer halted". The only way to exit that state is performing a reset by turning off the printer. I noticed during the auto home that Z axis moves without any issues, but when it comes to X axis, it doesn't move forward; it just hits the endstop, then the whole thing stops because of the error it throws.
So I decided to do some experiments.
1- manual control. With printer turned off, I placed the Extruder carriage in the middle of X axis. I connected the printer to my PC running Repetier Host. It connected succesfully, so I switched to manual mode and I sent the command to move X axis +10mm. Everything worked as expected. Then I sent it again but nothing happened. I tried to move it reverse 10mm (so, -10mm) but still nothing happened, X axis was locked.
2- again, manual control. Same setup as before. I tried to move the X axis 10mm reverse (so X -10mm) but nothing happened. I tried to move it forward (X=10mm) and again, no responses.
3- Tried to reconnect everything, maybe I did something wrong. Nope. Repeated test 1 and 2, the issue was still there.
4- Tested if the problem moves to another axis. X motor and endstop swapped on the board with Y motor and endstop, then I sent another auto home routine. Now the weird thing is, Z axis moves no problem, Y axis went towards the endstop and stopped there, X axis moved with no problems (as it became the Y axis). I know that during the auto home procedure, the motors once they hit an endstop moves slightly forward in order to trigger 2 times the switch. What happened is that, X axis did it fine (again, it actually was Y axis) but NOT the Y axis: it triggered the endstop only one time, again because it wasn't able to move forward! but the strange thing is, it didn't failed the homing procedure.
I then contacted your support on Aliexpress and you said to try sending command M122. I did it, and here is the output:
https://pastebin.com/5dGKbftn
I sent the command 2 times: the first one was with printed "fresh started", the second was with the problem that kicked in.
Wrapping everything up, what it seems here is that the X axis stepper driver is pretty much fucked up. It is able to move the stepper motor forward, but not in reverse. But maybe my assumption is wrong.
Any help is appreciated.
EDIT: forgot to mention, I also tried to flash the firmware 2 times but the issue was always there