If you have not changed the hardware and working config you uploaded again does not work either you could have faulty hardware.
But to rule that out try to clear the EEPROM first.
There is a sample sketch in the Arduino examples, just adjust the 512kb value to what your EEPROM size is, for my Mega that would be 4096kb, upload the sketch to your board and flash the firmware again.
If the hardware is fine your printer should now work again as usual.