Zonestar 802M upgrade to 0.92.8 mess up bootloader
Got a Zonestar 802M (melzi v 2.0) runing 0.92.5
Made a new firmware http://www.repetier.com/firmware/v092/ but after uploading it(full firmware) to the printer it freez and can't connet to it over USB anymore..Trying to upload 0.92.5 again fail..
Have to reflash bootloader and then upload the 0.92.5 to work again..
Whats wrong..
After flash to 0.92.8 the display say 0.92.8 and is frozen..
Comments
1. Compile 0.92.8 firmware with support 5-button keypad. If you now try to load it from Arduino GUI the printer will hang up at boot screen. You should follow next steps.
2. Find *.hex file in the Arduino GUI output directory (build1363469897678184290.tmp/*.hex) which is located in the windows TEMP folder
3. Download avrdude, start avrdude-gui, set command line to "-b57600 -e", select ATmega 1284P chip (see sample here), unplug printer from wall outlet, wait 5+ sec, connect it back and a moment after press "Erase-write" button in avrdude-gui. It should flash correctly now. Remember to set EEPROM-MODE if you want to override old eeprom settings.
From now on the upgrade via Arduino GUI will be painless. So you are free to modify whatever you want.
Here is Zonestar tool to recover the 0.91 firmware
Workaround: as mentioned above, do power off/on and try to erase the firmware that enables watchdog until it is activated.
Real solution: use better bootloader that handles watchdog as it should.
Would just like to add to Phisik's comment that the board should be supplied from the USB port and not from the on board regulator. Else the verification/flashing will fail.
Else than that, super good work and thanks for this!