[BUG] Smooth LA causes crash while changing ZV Input Shaping params mid-print
Did you test the latest bugfix-2.1.x code?
Yes, and the problem still exists.
Bug Description
(At least on my machine) When Smooth Linear Advance is enabled along with ZV Input Shaping, any changes to damping frequencies cause the printer to crash immediately with a reboot.
I was printing the standard ringing tower to determine damping frequencies for ZV Input Shaper. As soon as the frequency changed from 0 to any number in the code (seems to be next after 15?), my printer crashed and rebooted. I narrowed the issue down to Smooth LA. Recompiling the latest bugfix with Smooth LA disabled, running same gcode - everything works as intended.
To mention - Input shaper has frequencies set in the firmware, and seems to behave OK in usual prints with Smooth LA enabled, so it appears to be crashing only when changing frequency mid-print.
Another thing to add - I used vehystrix branch of Marlin designed for Elegoo Neptune 3 series printers, so maybe the problem lies somewhere in those changes, but in any case, it would be good to know if that is a general problem or that branch-specific. (It is updated to the latest beta-3 bugfix)
Bug Timeline
New
Expected behavior
Changing ZV Input Shaper frequencies mid-print works well with Smooth Linear Advance enabled.
Actual behavior
Changing ZV Input Shaper frequencies mid-print causes a critical crash and reboot with Smooth Linear Advance enabled.
Steps to Reproduce
- Enable ZV Input Shaper and Smooth Linear Advance in firmware.
- Slice the ringing tower in spiral vase mode (2-3 bottom layers) with ZV Input shaper frequencies changing every layer. (Added gcode file, used OrcaSlicer)
- Run the print, observe crash at height 0.6-0.8
Version of Marlin Firmware
bugfix_2.1.3-beta3
Printer model
Elegoo Neptune 3 Pro
Electronics
Stock
LCD/Controller
No response
Other add-ons
No response
Bed Leveling
UBL Bilinear mesh
Your Slicer
Prusa Slicer
Host Software
SD Card (headless)
Don't forget to include
- A ZIP file containing your
Configuration.handConfiguration_adv.h.
Additional information & file uploads
Octoprint logs with M111 S247 did not provide much information, including anyway. Added ZIP with Configuration files, serial log near the crash, and gcode file.
Source: MarlinFirmware/Marlin