prusa3d / Prusa-Firmware-MMU

Other
32 stars 15 forks source link

MMU EEPROM reset support #260

Closed DRracer closed 1 year ago

DRracer commented 1 year ago

MMU-193

CPU FLASH: +178B

leptun commented 1 year ago

Holding all 3 buttons on the MMU before the selftest will trigger a comple EEPROM erase.

I doubt that is possible to implement. I think we can only sense when one button is pressed at a time. If multiple buttons are pressed, you either get one of the buttons instead of both or you go to an invalid voltage and no button is considered pressed.

The MMU will perform a snake effect on the LEDs and then restart.

But why? Aren't we really tight on flash at the moment? Can't we just turn on all LEDs or something like that?

DRracer commented 1 year ago

@leptun good point with the button: in such a case we need to settle with the left most button which is the least used one.

Snake: actually, that alone takes 72 bytes. I can remove that of course :wink:

leptun commented 1 year ago

Proposal: Instead of using a button on the MMU unit, why not use only the X2a from the printer? Could we maybe add a button in the factory reset menu for resetting the mmu settings?

Snake: I guess we could keep it until we need more flash