Saturday, September 5, 2020

Update Firmware on Prusa MK2 through MK3S from OctoPrint/OctoPi

The tools and instructions that Prusa gives you to update your firmware are really good unless your printer is attached to a remote Linux box then it's a little problematic. So here you go. This is pretty barebones because it is written for me.

Required Reading:

Your printer is probably on /dev/ttyACM0 but if it isn't it should really matter. The system should work anyway because it is preselected.

The official tooling is really just a wrapper around AVRDUDE so doing it on your own shouldn't make you nervous.

The control unit on the MK2, MK2S, MK2.5, MK2.5S, MK3 and MK3S are all based on the ATmega2560.

Instructions: 

SSH into your OctoPrint box and install AVRDUDE. Probably sudo apt install avrdude but depending on your OS it might be different. You'll want to know the exact path of your install so which avrdude will give you that info. 

Using the Plugin Manager in OctoPrint install Firmware Updater. It is an officially supported plugin so it is easy to find it.

After OctoPrint forces a restart open up the Firmware Updater plugin and click the wrench inside the plugin box to configure the plugin. Enter the data below and hit Save.

  • Flash Method: avrdude
  • AVR MCU: ATmega2650
  • Path to avrdude: /usr/bin/avrdude (that's probably what it is, but step 1 would confirm)
  • AVR Programming Type: wiring

Go download the firmware for your printer here. The download is pretty big because it contains multilingual instructions that you are going to ignore. https://www.prusa3d.com/drivers/

Extract the prusa3d_fw_ABC_123.hex file some where you can find it and using the Firmware Updater plugin hit that Browse button to locate your hex file and the Flash From File button to finalize things.

No comments:

Post a Comment