[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Watchdog Reset

From: Ian Caddy
Subject: Re: [avr-gcc-list] Watchdog Reset
Date: Fri, 08 Jul 2005 09:33:32 +0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041206 Thunderbird/1.0 Mnenhy/


Well, there are two levels here.

At the hardware level, the watchdog reset will not effect the RAM, but if you are coding in C, after the reset, the C initialisation code will clear the RAM for the unitialised data, and set the initialised data to the correct initial values.

If you use a RAM location that is outside your C memory map, it should not be effected by a watchdog reset.

I hope this helps,

Ian Caddy

Ram Kumar wrote:
   I have a question regarding the Atmel ATMEGA128 architecture. What
happens to the contents of the RAM after a watchdog reset i.e. are they
re-initialized or are they left as they are?

AVR-GCC-list mailing list

Ian Caddy
Goanna Technologies Pty Ltd
+61 8 9221 1860

reply via email to

[Prev in Thread] Current Thread [Next in Thread]