[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] RE: AVR-GCC-list Digest - Watchdog Reset
From: |
Steve Franks |
Subject: |
[avr-gcc-list] RE: AVR-GCC-list Digest - Watchdog Reset |
Date: |
Fri, 8 Jul 2005 16:37:29 -0700 |
This got me to thinking about whether ram contents are preserved during
SLEEP_MODE_POWERDOWN, and if so, are they guaranteed to be preserved? I
don't think this is really covered well in most of the datasheets...
Steve
Steve Franks
Staff Engineer & General Manager
Franks Development, LLC
http://www.franks-development.com
(520) 312-0089 voice
(815) 301-8333 fax
> ------------------------------
>
> Message: 2
> Date: Fri, 08 Jul 2005 07:51:49 +1200
> From: Gavin Jackson <address@hidden>
> Subject: RE: [avr-gcc-list] Watchdog Reset
> To: 'Ram Kumar' <address@hidden>, address@hidden
> Message-ID: <address@hidden>
> Content-Type: text/plain
>
> 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
>
- [avr-gcc-list] RE: AVR-GCC-list Digest - Watchdog Reset,
Steve Franks <=