reprappro / RepRapFirmware

OO C++ RepRap Firmware
Other
143 stars 121 forks source link

Guard against overheating when the firmware locks up #50

Open dc42 opened 10 years ago

dc42 commented 10 years ago

If the firmware locks up for any reason (e.g. a mains transient coupled through the USB cable ground) then the heaters become uncontrolled and overheating may result.

In the dc42 fork this has been fixed by (1) adding a tick interrupt routine that checks for overheat situations, (2) enabling the watchdog timer, and (3) kicking the watchdog during the tick interrupt.