Flashing MMU3 firmware from Ubuntu 22.04.4 failures
 
Notifications
Clear all

Flashing MMU3 firmware from Ubuntu 22.04.4 failures  

  RSS
DrTomFlint
(@drtomflint)
Active Member
Flashing MMU3 firmware from Ubuntu 22.04.4 failures

Trying upgrade from MMU2 to MMU3 but Prusa Slicer menu Firmware Flasher does not detect the MMU2.  This is on an Ubuntu 22.04.4 LTS laptop.

When I first open the flasher window, the serial port entry is blank, hitting Rescan has no effect.

 

After selecting the firmware file, the serial port shows "Autodetected"

But when I hit the Flash! button, we see that the MMU is not detected:

This suggests I should hit the Reset button on the MMU to enter into the bootloader. No sequence of hitting the Flash! button and hitting the MMU Reset button will make it work.  Regardless of order or timing I always get a failure:

Additional Notes:

-Printer and MMU are turned on.

-Tried different USB ports on the laptop.

-USB cable was tested on another board and is known good for power and data.  Tried several different known-good cables.

-Tried flashing the MMU when I had different firmware versions on the main i3 mk3s+ printer, (3.11.0-4955, 3.12.2-5713, and 3.13.3-7094).

-Tried different versions of the Prusa Slicer ( PrusaSlicer-2.5.0+linux-x64-GTK3-202209060725.AppImage, PrusaSlicer-2.7.1+linux-x64-GTK3-202312121425.AppImage, PrusaSlicer-2.7.1+linux-x64-GTK3-202312121425.AppImage).

-Tested with 2 different MMU controller boards (2019-09 Rev 0.4.4, and 2018-04-04 rev 0.3).

-Tried running Prusa Slicer for Windows using Wine.

-Can see the MMU detected by the i3 mk3s+ printer 'support' menu which shows "MMU2 connected FW: 1.0.6-372".

-Updating the main i3 mk3s+ printer firmware works just fine.  When the firmware flasher window comes up the serial port shows "Original Prusa i3 MK3 (/dev/ttyACM0)".  

 

 

Best Answer by DrTomFlint:

Only thing I have not changed was the USB cable.

Re-tested that this morning and see that it is broken.  I assumed it was ok since it was in use on another development board and worked fine there.  Maybe damaged it removing it from the rack?

Bought a fresh new one this morning and the MMU shows up and can be flashed just fine.

When in doubt, check your cables!

 

Posted : 11/03/2024 4:29 pm
DrTomFlint
(@drtomflint)
Active Member
Topic starter answered:
RE: Flashing MMU3 firmware from Ubuntu 22.04.4 failures

Additional info:

When the MMU reset button is pressed, two orange leds that were steady on both go off, then one blinks for about 5 seconds (does this indicate the bootloader is available?), then both orange LEDs come on steady the green leds flash in sequence and the first one remains lit.  I think that is when the MMU has booted and is ready for operation.

When I plug in the main printer and issue the lsusb command we see an entry for the printer:

Bus 001 Device 006: ID 2c99:0002 Prusa Original Prusa i3 MK3

But when I plug in the MMU and use lsusb, there is no such entry.  Nor does one appear if I hit the MMU reset and try lsusb while the single LED is flashing.  Nor will there be an entry if I reset the MMU with the USB cable unplugged and then plug in the cable while the single led is flashing.  In sort, the MMU does not appear to ever be detected.

Does anyone know the command line to flash the MMU using avrdude?  I am thinking it should be something like:

sudo avrdude -v -p atmega32u4 -c avr109 -P /dev/ttyACM0 -b 57600 -U flash:w:/home/tflint/Documents/Slicer/MMU3_FW3.0.2+878.hex

Listing the devices using ls /dev/tty* does not show an entry for /ttyACM0 when the MMU is plugged in.  Likewise no entry when the MMU has a single LED flashing.

 

 

Posted : 11/03/2024 6:22 pm
JoanTabb
(@joantabb)
Veteran Member Moderator
RE: Flashing MMU3 firmware from Ubuntu 22.04.4 failures

Do you have access to a windows device, to try flashing with?

regards Joan

I try to make safe suggestions,You should understand the context and ensure you are happy that they are safe before attempting to apply my suggestions, what you do, is YOUR responsibility. Location Halifax UK

Posted : 11/03/2024 6:27 pm
DrTomFlint
(@drtomflint)
Active Member
Topic starter answered:
RE: Flashing MMU3 firmware from Ubuntu 22.04.4 failures

That does seem to be the common fix.  I don't have a Windows license.  So unless I convince a friend to stop by or lend me a machine...

Posted : 11/03/2024 6:33 pm
DrTomFlint
(@drtomflint)
Active Member
Topic starter answered:
RE: Flashing MMU3 firmware from Ubuntu 22.04.4 failures

Further tests: Built a Debian 12 laptop and got the same exact results.

Posted : 11/03/2024 11:39 pm
DrTomFlint
(@drtomflint)
Active Member
Topic starter answered:
RE: Flashing MMU3 firmware from Ubuntu 22.04.4 failures

Trashed one of my perfectly good Linux laptops to install windows 8.1.

First was missing api-ms-win-crt-l1-1-0.dll and had to do a bunch of updates, took more than 2 hours.

Eventually got a working Windows 8.1 installation that could run the Prusa Slicer V 2.7.1.

Try to do the firmware update on the MMU and got the same exact failure.

I used to Love prusa.  Starting to revise that opinion.  Three entire days wasted on this effort.  I am not a happy camper.

 

Posted : 12/03/2024 3:38 am
Hello
(@hello)
Noble Member
RE: Flashing MMU3 firmware from Ubuntu 22.04.4 failures

As soon as you click tbe rest button press flash, you have to click flash w8thin 5 seconds of the mmu turning on or resetting

Please help me out by downloading a model it's free and easy but really helps me out https://www.printables.com/@Hello_474427/models

Posted : 12/03/2024 8:14 am
DrTomFlint
(@drtomflint)
Active Member
Topic starter answered:
RE: Flashing MMU3 firmware from Ubuntu 22.04.4 failures

Only thing I have not changed was the USB cable.

Re-tested that this morning and see that it is broken.  I assumed it was ok since it was in use on another development board and worked fine there.  Maybe damaged it removing it from the rack?

Bought a fresh new one this morning and the MMU shows up and can be flashed just fine.

When in doubt, check your cables!

 

Posted : 12/03/2024 4:33 pm
Robvene
(@robvene)
Member
RE:

Hello. 

Today I had the same problem when trying to update to the latest firmware. And in the device tab my MMU3 doesn't detect me. I've changed three wires but I still can't detect the MMU unit.

What else can you be??

Gracias

This post was modified 10 months ago by Robvene
Posted : 20/03/2024 2:18 pm
Ron
 Ron
(@ron-10)
Active Member
RE: Flashing MMU3 firmware from Ubuntu 22.04.4 failures

I have the same on MAC OS Sonoma 14.5 

No way to reset the MMU3 nor to flash it.

Used 5 different cables that all work for data transfer on other apps

.

Regards, Ron

Posted : 12/07/2024 9:00 pm
JediRick
(@jedirick)
Member
RE: Flashing MMU3 firmware from Ubuntu 22.04.4 failures

I experienced this issue as well when I first installed the MMU3 on my MK4.  Resolved then by using a Windows machine.

Tried again today to upgrade the firmware to match the new MK4S, issue is still there.

Not sure if this is something Prusa can do anything about, when I checked dmesg output this is what I see when I connect my Pop!_OS machine (Ubunut derivative). Looks to be an incompatibilty, but not sure if it is the USB driver or in the MMU3 USB interface.

[6290591.607892] usb 2-1.5.1.1: new full-speed USB device number 33 using ehci-pci
[6290591.711907] usb 2-1.5.1.1: New USB device found, idVendor=2c99, idProduct=0004, bcdDevice= 0.01
[6290591.711916] usb 2-1.5.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[6290591.711920] usb 2-1.5.1.1: Product: Original Prusa MMU unit 🐑
[6290591.711922] usb 2-1.5.1.1: Manufacturer: prusa3d.com
[6290591.813215] BPF: 	 type_id=3987 bits_offset=32
[6290591.813222] BPF:  
[6290591.813224] BPF: Invalid name
[6290591.813225] BPF: 
[6290591.813228] failed to validate module [cdc_acm] BTF: -22
Posted : 27/09/2024 3:45 pm
annswims
(@annswims)
Member
RE: Flashing MMU3 firmware from Ubuntu 22.04.4 failures

I had the same issue and I hate to break it to you how easy the fix was. I'd just the firmware on my MK3S+ (main machine, not the MMU) and that disabled my MMU. Once I went to Settings -> MMU [ON] on my printer's LDC screen I could find and connect to the MMU with my computer.

Posted : 17/11/2024 10:46 pm
Share: