Weird stepper issue when setting up Marlin printer

When manually controlling the z-axis in reprap, it works fine. If I use the home button, it doesn't move. Instead, it stalls/freezes/hangs. It attempts to turn, but can't successfully make a full turn.

• Hi and welcome to 3DP.SE! What is the status of the endstops? Could you send M119 to the printer over USB using a terminal window like can be found in e.g. Pronterface software. Furthermore the question is very terse, please try to add more information and explain what you already tried to do to fix it. Please read this to improve your question.
– 0scar
Sep 6 '18 at 6:29
• An alternate software to Pronterface would be Repetier Host. Troubleshooting questions need a maximum of information available to be viable - the more information you can provide, the more likely we'll find a solution with you. Sep 6 '18 at 15:54