Notifications
Clear all

Upgrading firmware from linux  

  RSS
cindy.h3
(@cindy-h3)
Trusted Member
Upgrading firmware from linux

I am running Fedora27_64
On the drivers page it says to do this:
Version 2.1.4 Most recent (March 2, 2018) for MK3 and MK2/S/MMU
Windows version 350MB
Mac OSX version 500MB
Linux instructions
– See GitHub releases for Linux AppImage builds.
– Use Slic3r config bundle and sample objects from Mac Package.

I installed the appimage and it opens up the latest slic3r no problem but I dont see where you could load or communicate with the printer with it and I dont understand what the bold bit above means?
Thanks for any advice!
Cheers,
Jon

Posted : 16/03/2018 10:39 pm
ballessay
(@ballessay)
Active Member
Re: Upgrading firmware from linux

Hi Jon.


I am running Fedora27_64
On the drivers page it says to do this:
...
I installed the appimage and it opens up the latest slic3r no problem but I dont see where you could load or communicate with the printer with it and I dont understand what the bold bit above means?

I'm not using Fedora myself but I'll try to explain.

Slic3r is just for converting the STL (/OBJ) files to gcode. AFAIK there is no option to send the data directly to the printer with it.
But you can just copy the gcode files onto the SD card (which you must manually switch between PC and printer), use a 3d printing host something like printrun (I just use pronterface for firmware updates and sending gcode commands. The download page states that there are Fedora packages, see http://www.pronterface.com/index.html#download ) or ocotprint.
I got myself a Toshiba flashair card which I mount as davfs and copy the files via wifi onto the card in the printer.

The bold part means, that they suggest to download the zip archive for mac, which you can extract and use the contained profiles and sample objects. TBH I just use the profiles which get created in $HOME/.Slic3r/ of the Slic3r AppImage and they work ok for me (I diffed the profiles of the zip and not much difference).

If you want to know more just ask. 😉

HTH

Posted : 17/03/2018 12:41 am
cindy.h3
(@cindy-h3)
Trusted Member
Topic starter answered:
Re: Upgrading firmware from linux

I think I didn't explain properly, I am trying to update the firmware of the printer.
I already know how to use slic3r or prusa control to make gcodes.
Cheers,
Jon

Posted : 17/03/2018 1:11 am
ballessay
(@ballessay)
Active Member
Re: Upgrading firmware from linux


I think I didn't explain properly, I am trying to update the firmware of the printer.

To flash the firmware of the printer I use 'avrdude'

- Download the firmware archive (bottom right side on the download page) and extract it.
- Connect the printer to the PC. Check which /dev/tty* it got assigned (most of the time /dev/ttyACM0).
- Open a terminal and navigate to the location of the firmware file
- Transfer the firmware with avrdude. Example for 3.1.3:


avrdude -C/etc/avrdude.conf -v -patmega2560 -cstk500v2 -P/dev/ttyACM0 -b115200 -D -Uflash:w:prusa3d_fw_3_1_3_mk3.hex:i

Posted : 17/03/2018 2:16 am
cindy.h3
(@cindy-h3)
Trusted Member
Topic starter answered:
Re: Upgrading firmware from linux

Thanks I will try that.
Cheers,
Jon

Posted : 17/03/2018 2:13 pm
cindy.h3
(@cindy-h3)
Trusted Member
Topic starter answered:
Re: Upgrading firmware from linux

That worked great, thanks!
As a reference:
To find the path to the printer: ls /dev/tty*
Look for the ACMO device, it is the printer.
Then this did the trick for me:
sudo avrdude -C/etc/avrdude/avrdude.conf -v -patmega2560 -cstk500v2 -P/dev/ttyACM0 -b115200 -D -Uflash:w:prusa3d_fw_3_1_3_mk3.hex:i

Printing its first print with 3.1.3 as I type 🙂
Cheers,
Jon

Posted : 17/03/2018 4:03 pm
Sleepy Neko
(@sleepy-neko)
New Member
Re: Upgrading firmware from linux

I just upgraded to firmware 3.1.3 using the. Cura 3.2.1 appimage. Very simple. Didn't have to mess around with avrdude. I'm on the latest Debian. (Stretch) Just select custom firmware and look for the downloaded .hex file.

Posted : 20/03/2018 5:42 pm
Szafran
(@szafran)
Eminent Member
Re: Upgrading firmware from linux



avrdude -C/etc/avrdude.conf -v -patmega2560 -cstk500v2 -P/dev/ttyACM0 -b115200 -D -Uflash:w:prusa3d_fw_3_1_3_mk3.hex:i

Thanks - this will come in handy.

Best regards... Szafran... MK3S + MMU2S + OctoPrint on DELL 3020m

Posted : 20/03/2018 5:51 pm
Gato
 Gato
(@gato)
Reputable Member
Re: Upgrading firmware from linux

Thanks guys. Confirmed that this worked fine on Ubuntu 16.04 and updated to 3.2.0. Used the following

avrdude -C/etc/avrdude.conf -v -patmega2560 -cstk500v2 -P/dev/ttyACM0 -b115200 -D -Uflash:w:prusa3d_fw-3.2.0.555-1_75mm_MK3-EINSy10a-E3Dv6full.hex:i

Posted : 12/05/2018 6:38 am
Share: