Z axis inverted

Hello, I am trying to calibrate the Z axis right now. However, the auto home command moves the z stage downwards and the motor continues buzzing after reaching the bottom. What went wrong?

Recheck the cabling you may have one plugged into the wrong spot
You might also try reloading the firmware.

[quote=“Wrong Way”]Recheck the cabling you may have one plugged into the wrong spot
You might also try reloading the firmware.[/quote]
I’ve checked already; the Z axis motor is connected to the correct cable. Will try reinstalling firmware, though.

Also check if the end-stop is working correctly.