Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
While setting up UBL, i found that the WDT would reset the printer when trying to save a the mesh.
After some debugging, i've found the auto-configuration function in the IWatchdog library to fail configuring when a 5s timeout, instead configuring a timeout after ~2s.
to mitigate this issue, 2 changes were implemented:
Description
While setting up UBL, i found that the WDT would reset the printer when trying to save a the mesh.
After some debugging, i've found the auto-configuration function in the IWatchdog library to fail configuring when a 5s timeout, instead configuring a timeout after ~2s.
to mitigate this issue, 2 changes were implemented:
Either of these would be sufficient to fix the reset "symptom", but both are necessary to get the watchdog to behave as expected.
Requirements
Any HC32 based board
Benefits
Fixes unexpected watchdog timeouts when saving UBL mesh data.
Configurations
N/A
Related Issues
N/A