prusa3d / Prusa-Firmware-Buddy

Firmware for the Original Prusa MINI, Original Prusa MK4 and the Original Prusa XL 3D printers by Prusa Research.
Other
1.13k stars 218 forks source link

[BUG] Stopping Unload after Auto home crashes printer #4140

Open murk-sy opened 3 weeks ago

murk-sy commented 3 weeks ago

Printer model

Mini

Firmware version

6.0.4+14924

Upgrades and modifications

Filament runout sensor

Printing from...

n/a, direct control

Describe the bug

While attempting to reproduce #4127, I discovered that a specific order of operation crashes the printer. I believe that issue may actually stem from the same basic problem, which would be related to axes being (mis)marked as homed or filament (mis)marked as unloaded, even though they may not be.

While at first I ran the procedure as unload - stop - auto home - unload - stop, the first unload-stop has not caused a crash and I managed to remove it from the reproduction steps.

How to reproduce

1) Make sure filament is loaded and restart the printer 2) Run Control > Auto home 3) Run Filament > Unload filament 4) After X axis is homed to the right, press stop while the head is moving to the left 5) Printer becomes unresponsive (may happen after one press)

Expected behavior

No response

Files

No response

murk-sy commented 3 weeks ago

Even though I made it I somehow forgot about this issue until now, but it's very similar