I'm trying to work with WDTON (WDT enable fuse bit) on an ATtiny85 and am having some difficulty.
1) I can get the WDT to work as expected in either interrupt or reset mode as long as I don't set WDTON.
2) If I get WDTON, my program runs until the WDT times out and then resets. That's to be expected except that I'm calling wdt_reset().
I must be missing something but I can't figure out what. Anyone have a good example of how to setup the WDT when WDTON is set and how to reset the timer and prevent the reset. I've read the ATtiny85 spec sheet over and over and there's just not quite enough information.