-
-
Notifications
You must be signed in to change notification settings - Fork 19.7k
Description
Bug Description
It seems as if the hybrid switching settings are only sent to the TMC drivers when hybrid switching is enabled and not when hybrid switching is disabled.
This means that if I reprogram the firmware and turn off hybrid switching it is not actually turned off after the board reboots since the drivers can maintain their power and volatile memory through a board reset. To get hybrid switching to turn off requires a full power cycle of the whole printer which is not a huge issue but since the code to configure hybrid switching is already there it may make sense to add a #ifndef check which actively turns it off instead of just assuming that it is off.
My Configurations
Required: Please include a ZIP file containing your Configuration.h and Configuration_adv.h files.
Steps to Reproduce
1.) Enable hybrid switching on a board of your choice.
2.) Disable hybrid switching using a programming method that does not require a full power cycle of the board.
3.) Hybrid switching is still enabled as the settings are retained within the volatile memory of the drivers.
Expected behavior: [What you expect to happen]
After a reprogram of the board it is natural to expect the machine to behave according to the programmed config. In this case, to have hybrid switching disabled.
Actual behavior: [What actually happens]
Since only the board is reset but power is retained to the drivers, volatile memory on the drivers is retained and furthermore, since the board does not actively update disabled features they may still remain enabled until the next power cycle.
Additional Information
N/A
config.zip