This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/44082] AVR watchdog resets the core during initialization



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]