Please post your Configuration.h file and the Marlin_main.cpp file that you are using.

What happens if you give it an M48 command?