Maker Pro
Maker Pro

AVR watch dog question.

R

Roy

Jan 1, 1970
0
Hi,

I have reset then enabled the watch dog timer in AVR studio 4 but the WDT
does not seem to time out in the simulator.

wdr ;WDT reset
out WDTCR,Temp ;Watch Dog Enable

What have I missed?


--
*************************************************
Roy Hopkins :)

Tauranga
New Zealand
*************************************************
 
R

Rich Webb

Jan 1, 1970
0
Hi,

I have reset then enabled the watch dog timer in AVR studio 4 but the WDT
does not seem to time out in the simulator.

wdr ;WDT reset
out WDTCR,Temp ;Watch Dog Enable

What have I missed?

a) The value of Temp is incorrect or
b) You're not waiting the complete timeout period or
c) You're using a part for which the simulator does not yet support the
Watchdog Timer. See the help files.
 
Top