Saturday, June 18, 2016

Updating Melzi Firmware/Bootloader

For those that have gotten the cheap Prusa i3 knockoff from china that uses the Melzi board, there is a way to update the firmware to support other features, like the Auto Bed Leveling. The firmware that is installed on the Melzi board is actually Repetier, but a lower version, and the boot loader is not installed. The boot loader allows you to update the firmware via USB.




Without the boot loader, you need to use the ISP interface, with an AVR Programmer:
https://www.amazon.com/Compatible-AVRISP-System-Programmer-interface/dp/B00C7VV6E4

Use Arduino 1.6.8 for Bootloader
https://www.arduino.cc/en/Main/OldSoftwareReleases#previous

Under File -> Preferances:










Add To Additional Boards Manager in Preferences: https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json

Set to:
Board: Sanguino
Processor: ATmega1284P 16MHz
Programmer: AVRISP mkII










Build your new firmware on the website:
https://www.repetier.com/firmware/v092/












Download and extract the firmware from the website.

Use Arduino 1.6.7 to load the firmware:
Open the Configuration.h file from the extracted firmware folder.