[Top][All Lists]

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

RE: [avr-gcc-list] Watchdog Reset

From: Gavin Jackson
Subject: RE: [avr-gcc-list] Watchdog Reset
Date: Fri, 08 Jul 2005 07:51:49 +1200

The micro resets and RAM contents remain the same except for those
memory locations your C-startup code initialises such as static
variables and those variables in the section of memory that gets
zeroed at startup. You'll need to place variables in the .noinit
section if you don't want the startup code to modify them.

__attribute__ ((section (".noinit")))

Gavin Jackson

-----Original Message-----
From: Ram Kumar [mailto:address@hidden 
Sent: Friday, 8 July 2005 6:40 a.m.
To: address@hidden
Subject: [avr-gcc-list] Watchdog Reset

   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

reply via email to

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