3.2 KiB
Build instructions for Original Prusa i3 MK2/S/MM Firmware
Step 1 - Download and Install/Unpack Arduino
Download and install the Arduino IDE. The most recent version 1.8.5 is available here: https://www.arduino.cc/en/Main/Software
If you already use another Arduino IDE version for other projects and don't want to upgrade to the latest setup, you may want to install a stand-alone (ZIP file) version rather than using the "Windows Installer".
Step 2 - Prepare the Arduino toolchain
- Open the IDE
- Open file/preferences and set additional boards manager URL to the RAMBo repository:
https:// raw.githubusercontent.com/ultimachine/ArduinoAddons/master/package_ultimachine_index.json - Open Tools/Boards/Boards Manager and install the RAMBo board:
"RepRap Arduino-compatible Mother Board (RAMBo) by UltiMachine" - Close the IDE.
- Open the IDE and select the RAMBo as target board from the Tools submenu.
- Close the IDE
Step 3 - Download PRUSA i3 MK2 Firmware
You can either clone the prusa3d/Prusa-Firmware repository to a local path or download the ZIP file from and unpack it from here: https://github.com/prusa3d/Prusa-Firmware/tree/MK2
Specific released versions of source code in either .zip or .tar.gz packages can be found here: https://github.com/prusa3d/Prusa-Firmware/releases
Step 4 - Configure the Printer Firmware - select variant
The following configurations are availble in the Prusa-Firmware/Firmware/variants directory. (See How-to-choose-firmware.pdf for help choosing configuration.)
- 1_75mm_MK1-RAMBo10a-E3Dv6full.h
- 1_75mm_MK1-RAMBo13a-E3Dv6full.h
- 1_75mm_MK2-MultiMaterial-RAMBo10a-E3Dv6full.h
- 1_75mm_MK2-MultiMaterial-RAMBo13a-E3Dv6full.h
- 1_75mm_MK2-RAMBo10a-E3Dv6full.h
- 1_75mm_MK2-RAMBo13a-E3Dv6full.h
Copy and rename the file representing your configuration to the Firmware directory as Configuration_prusa.h Example:
$ cp Firmware/variants/1_75mm_MK1-RAMBo13a-E3Dv6full.h Firmware/Configuration_prusa.h
Step 5 - Build the Firmware
- Open the IDE
- Open firmware project with File -> Open... Navigate to and open:
Prusa-Firmware/Firmware/Firmware.ino - Compile the firmware with Sketch -> Verify/Compile (CTRL-R) --or--
- Export the compiled binary with Sketch -> Export compiled Binary (CTRL-ALT-S).
You will find the exported binary inPrusa-Firmware/Firmware/Firmware.ino.rambo.hex
Step 6 - Upload the Firmware
You can upload the new firmare to the printer using either:
-
The Prusa3D Firmware Updater (download from https://www.prusa3d.com/drivers/)
-
Directly via the Arduino IDE (Select Tools -> Port and 115200 baud rate)
-
avrdude (either direct or thru OctoPrint, etc.). Example command-line:
$ avrdude -v -p m2560 -c wiring -P /dev/ttyUSB0 -b 115200 -U "flash:w:firmware.hex:i" -D