Recently playing 3D printing, got a set of mega 2560 + RAMPS 1.4 + A4988, brushed Marlin (Https://github.com/MarlinFirmware/Marlin) firmware, connected to motor commissioning, appeared "Printer Stopped due to errors. Fix the error and use M999 to restart. (temperature is reset.) Set it after restarting) "error, basically can be seen to be a temperature protection error, it is clear that I did not pick up the temperature sensor, and there is no suitable sensor in hand, how to debug the motor?
Can't I disable it? So google,bing a circle, found someone asked, no one answer, had to self-reliance, look at the code, Marlin code is not too much, it is easy to find the control logic, found that they have a disabled variable definition, it is simple, Just add such a statement to the Configuration.h file to get it done:
#define Bogus_temperature_failsafe_override
Re-flash the firmware, restart the test ok,x, Y, z-axis motor control, but the E0 motor still does not move, simple, send a
/**
* M302:allow cold extrudes, or set the minimum extrude s<temperature>.
*/
M302s0
E0 Motor is also free to turn, the motor commissioning is complete.
How to disable Marlin temperature protection