Notifiche
Cancella tutti

Flash firmware from Raspberry Pi?  

  RSS
JammerX19
(@jammerx19)
Eminent Member
Flash firmware from Raspberry Pi?

Is there a way to push firmware upgrades to the MK3 from an attached Raspberry Pi? I've got a dedicated Pi setup for Octoprint, seems like it wouldn't be a bad idea to be able to flash from the Pi as well.

Postato : 04/03/2018 3:09 pm
vaxxi
(@vaxxi)
Estimable Member
Re: Flash firmware from Raspberry Pi?

https://plugins.octoprint.org/plugins/firmwareupdater/

https://github.com/OctoPrint/OctoPrint-FirmwareUpdater

Postato : 04/03/2018 5:05 pm
rufflez
(@rufflez)
Estimable Member
Re: Flash firmware from Raspberry Pi?


Is there a way to push firmware upgrades to the MK3 from an attached Raspberry Pi? I've got a dedicated Pi setup for Octoprint, seems like it wouldn't be a bad idea to be able to flash from the Pi as well.

Updating from a. raspberry pi via serial pins is still being worked on. I do not know if USB is supported but I imagine it is.

Postato : 04/03/2018 5:20 pm
JammerX19
(@jammerx19)
Eminent Member
Topic starter answered:
Re: Flash firmware from Raspberry Pi?


https://plugins.octoprint.org/plugins/firmwareupdater/

https://github.com/OctoPrint/OctoPrint-FirmwareUpdater

Going to give this a shot. Not sure what to choose for AVR MCU type or AVR programmer type.

Postato : 10/03/2018 12:57 am
neil.e
(@neil-e)
Estimable Member
Re: Flash firmware from Raspberry Pi?

You need to ssh into Octoprint first and install avrdude:

sudo apt-get update
sudo apt-get install avrdude

Then:

Path to avrdude: /usr/bin/avrdude
AVR MCU Type: ATmega2560
AVR Programmer Type: wiring

This is how I installed the official 3.1.2 build and it worked.

Postato : 10/03/2018 3:25 am
Condividi: