The ATTiny9 has few internal resources, so I am using the WDT as a 1 Second ISR and not a hardware Reset. When i run my code on the simulator, I do not get ANY WDT Interrupts. Is the WDT simulated in AtmelStudio, or am I wasting my time?
Its a single register to set up and I have set it to 0x46, and global interrupts are enabled.
WDIE = 1
WDE = 0
WDP = 0110 = 1 Second
SO, as far as I can tell I should get a WDT interrupt in the simulator once a second (when the program is continued, and not single stepped), but I get nothing. Is there some setting to enable this that I cant find?
This is AtmelStudio 7 BTW (Latest Version)