[Bug target/44082] AVR watchdog resets the core during initialization
j-etienne at users dot sourceforge dot net
gcc-bugzilla@gcc.gnu.org
Thu Jun 10 16:40:00 GMT 2010
------- Comment #2 from j-etienne at users dot sourceforge dot net 2010-06-10 16:39 -------
<avr/wdt.h> does provide the means to stop/start/refresh the watchdog from the
main C program. But, as said in the original comment, if the bss and/or data
section is too large, the CPU spends a lot of time initializing these memory
sections, and the watchdog fires *before* the start of the main C program.
Therefore, the device endlessly resets, whatever code is in the main.
--
j-etienne at users dot sourceforge dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44082
More information about the Gcc-bugs
mailing list