At 11:09 AM 19/06/2006, you wrote: >Has anyone else had issues with the watchdog timer ? This is the recommender way to turn off the WDT. I guess you have copied your routine from the data sheet. I guess you could do a WDR before turning it off just in case it is about to reset. Also the bits in the MCUCSR would show if in fact it is the WD. WDT_off: ; Write logical one to WDCE and WDE ldi r16, (1<<WDCE)|(1<<WDE) out WDTCR, r16 ; Turn off WDT ldi r16, (0<<WDE) out WDTCR, r16 ret Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA Tel. (02) 9674-6495 Fax (02) 9674-8745 Email: john@ampertronics.com.au Website http://www.ampertronics.com.au *Electronic Design * Custom Products * Contract Assembly ********************************************************
Message
Re: [AVR-Chat] Watchdog Timer on Mega8
2006-06-19 by John Samperi
Attachments
- No local attachments were found for this message.