MM-control-01 icon indicating copy to clipboard operation
MM-control-01 copied to clipboard

MMU2 flashing - no response

Open grzlus opened this issue 6 years ago • 18 comments

I have a problem with my MMU2. When I try to upgrade the firmware 'm getting such error. I tried different USB cables (I do not have different computer to use).

  • Device: Prusa i3 MK3 + MMU2
  • OS: MacOS Catalina
  • Software: Slicer PE 1.41 or PrusaSlicer 2.0
  • Firmware:
    • Prusa i3 MK3 - TheZeroBest 2.1.8 or original 3.7.2
    • MMU2 - TheZeroBest 2.1.8
Flashing Original Prusa MMU 2.0 Control, looking for VID/PID 0x2c99/3 or 0x2c99/4 ...
Found VID/PID 0x2c99/4 at `/dev/cu.usbmodem145401`, rebooting the device ...
Found VID/PID 0x2c99/3 at `/dev/cu.usbmodem145401`, flashing ...
avrdude-slic3r -v -p atmega32u4 -c avr109 -P /dev/cu.usbmodem145401 -b 57600 -D -U flash:w:0:/Users/grzlus/Downloads/MM-control-01.hex:i

avrdude-slic3r: Version 6.3-20160220-prusa3d, compiled on May 20 2019 at 09:53:15
                Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
                Copyright (c) 2007-2014 Joerg Wunsch


                Using Port                    : /dev/cu.usbmodem145401
                Using Programmer              : avr109
                Overriding Baud Rate          : 57600
                AVR Part                      : ATmega32U4
                Chip Erase delay              : 9000 us
                PAGEL                         : PD7
                BS2                           : PA0
                RESET disposition             : dedicated
                RETRY pulse                   : SCK
                serial program mode           : yes
                parallel program mode         : yes
                Timeout                       : 200
                StabDelay                     : 100
                CmdexeDelay                   : 25
                SyncLoops                     : 32
                ByteDelay                     : 0
                PollIndex                     : 3
                PollValue                     : 0x53
                Memory Detail                 :

                                         Block Poll               Page                       Polled
                  Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
                  ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
                  eeprom        65    20     4    0 no       1024    4      0  9000  9000 0x00 0x00
                  flash         65     6   128    0 yes     32768  128    256  4500  4500 0x00 0x00
                  lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                  hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                  efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                  lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                  calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
                  signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

                Programmer Type : butterfly
                Description     : Atmel AppNote AVR109 Boot Loader

Connecting to programmer: avrdude-slic3r: butterfly_recv(): programmer is not responding
avrdude-slic3r: ser_recv(): read error: Device not configured
avrdude-slic3r: butterfly_recv(): programmer is not responding
avrdude-slic3r: ser_drain(): read error: Device not configured
avrdude-slic3r: ser_send(): write error: Device not configured
avrdude-slic3r: ser_recv(): read error: Device not configured
avrdude-slic3r: butterfly_recv(): programmer is not responding
avrdude-slic3r: ser_send(): write error: Device not configured
avrdude-slic3r: ser_recv(): read error: Device not configured
avrdude-slic3r: butterfly_recv(): programmer is not responding
avrdude-slic3r: ser_recv(): read error: Device not configured
avrdude-slic3r: butterfly_recv(): programmer is not responding
avrdude-slic3r: ser_send(): write error: Device not configured
avrdude-slic3r: ser_recv(): read error: Device not configured
avrdude-slic3r: butterfly_recv(): programmer is not responding
Found programmer: Id = ""; type =     Software Version = Hardware Version = avrdude-slic3r: ser_send(): write error: Device not configured
avrdude-slic3r: ser_recv(): read error: Device not configured
avrdude-slic3r: butterfly_recv(): programmer is not responding
avrdude-slic3r: ser_send(): write error: Device not configured
avrdude-slic3r: ser_recv(): read error: Device not configured
avrdude-slic3r: butterfly_recv(): programmer is not responding
avrdude-slic3r: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
avrdude-slic3r: initialization failed, rc=-1
                Double check connections and try again, or use -F to override
                this check.

avrdude-slic3r: ser_send(): write error: Device not configured
avrdude-slic3r: ser_recv(): read error: Device not configured
avrdude-slic3r: butterfly_recv(): programmer is not responding
avrdude-slic3r: error: programmer did not respond to command: leave prog mode
avrdude-slic3r: ser_send(): write error: Device not configured
avrdude-slic3r: ser_recv(): read error: Device not configured
avrdude-slic3r: butterfly_recv(): programmer is not responding
avrdude-slic3r: error: programmer did not respond to command: exit bootloader
avrdude-slic3r: ser_close(): can't reset attributes for device: Device not configured

avrdude-slic3r done.  Thank you.

grzlus avatar Jul 01 '19 18:07 grzlus

Hi @grzlus did you manage to get around this problem? I am also coming from TZB firmware to MMU2S, and I'm having the same problem. The MMU2 shows up as a USB COM port, but as soon as I try to flash the firmware, it disconnects. I reset it and it reconnects, but again, every time I try to flash the firmware it immediately disconnects. Any suggestions? Thanks.

jettoblack avatar Jul 07 '19 23:07 jettoblack

@jettoblack so far I was able to flash it on Windows. Now I'm updating the hotend to Mosquito, so I don't have a chance to try it again on MacOS.

grzlus avatar Jul 07 '19 23:07 grzlus

I can get it to go from Arduino - make sure you don't have Slic3r running in the background, it takes the port so you have to kill the program.

Also, the MMU2 only enables the USB port for programming (unless your updater does things right) for the first few seconds, so I hit "send" and just before it starts looking, I hit reset (see my "reset button" on thingiverse, you pretty much need one to use the device), which makes the correct port show back up.

AbeFM avatar Jul 18 '19 21:07 AbeFM

@AbeFM from Windows it worked like a charm. I did not get this special 2-3 seconds gap you're describing. Just plugged it, opened Slicer, updated and it is working now.

grzlus avatar Jul 19 '19 08:07 grzlus

I had the same issue on MacOS Catalina (beta). Resolved by using windows.

pascalscheffers avatar Jul 21 '19 10:07 pascalscheffers

@AbeFM from Windows it worked like a charm. I did not get this special 2-3 seconds gap you're describing. Just plugged it, opened Slicer, updated and it is working now.

Quite right, I see this issues when uploading from Arduino IDE. But it can be frustrating when you don't know why it is happening.

AbeFM avatar Jul 22 '19 17:07 AbeFM

Same issue under Linux. I don't have Windows so this sort of kills using PrusaSlicer for MMU2 firmware uploads.

paukstelis avatar Jul 27 '19 13:07 paukstelis

Same here.

Is it possible that this is specific to macOs Catalina and the end of 32bit support??

BastR avatar Aug 02 '19 08:08 BastR

Just got the same issue with MMU flashing, but MK3s works fine, so shouldn't be related to 32 bits drop in Catalina

urbaniak avatar Aug 25 '19 00:08 urbaniak

I had this problem on Ubuntu as well. Found the answer in this stackoverflow post.

Uninstalling "modemmanager" helped.

saeugetier avatar Sep 22 '19 08:09 saeugetier

Same issue, MMU2S won't upgrade using MAC OS Catalina. However, MK3S will upgrade without issues (3.8.1.2869.hex)

Thierry-Myron avatar Oct 26 '19 02:10 Thierry-Myron

Same issue, MMU2 not updating when using macOS Catalina, Printer upgrade working fine.

orohde avatar Nov 03 '19 12:11 orohde

I used my work laptop that is still on Mojave and the MMU2S upgrade went fine. My personal laptop on Catalina (10.15.0) failed in the exact way as @grzlus saw. I chatted with Alessandro at Prusa and he's going to make sure the dev team knows this is (still) an issue.

itsjohannawren avatar Nov 11 '19 04:11 itsjohannawren

Just chiming in to say the same. I finished assembling the MMU2S for my MK3S and the firmware won't load onto it.

I'm on macOS 10.15.1 Catalina and get:

Connecting to programmer: avrdude-slic3r: butterfly_recv(): programmer is not responding

Yaroon avatar Nov 17 '19 19:11 Yaroon

I am having exactly the same issue on macOS Catalina 10.15.1 My MMU2S is at version 1.0.5, latest is 1.0.6, so I probably can just give up for now... and wait until next time

anton-matosov avatar Nov 18 '19 02:11 anton-matosov

This seems to be related https://github.com/arduino/Arduino/issues/9290

anton-matosov avatar Nov 18 '19 06:11 anton-matosov

Glanced quickly through discussion. Some report it is fixed in hourly builds of Arduion, others in 1.8.10, others suggest Apple has to fix USB susbsytem. Also there seesm to be new Catalina compatible bootloader for atmega32u4 https://github.com/adafruit/Adafruit_AVRProg/commit/add3cbd174dc56a739c6e76da9ec4ef23b73f064

anton-matosov avatar Nov 18 '19 06:11 anton-matosov

Interesting, I guess getting the new boot loader onto the MMU would require an actual programming adapter (and soldering a 2x3 header onto the MMU board – cheaper than buying a Pogo pin header).

smurfix avatar Dec 08 '19 09:12 smurfix