As Steve Franks wrote: > Anyone used the watchdog on a m2561 yet?
At least on an ATmega1281, but that's about the same in that respect. Likewise for all other new AVRs. > We changed a board from a 128 to a 2561, and now, as soon as the > watchdog gets hit once, infinite resets. Mind the introductional comments for <avr/wdt.h>. You have to care for a very specific sequence of actions, which includes clearing the WDRF flag. (I've been bitten by that as well when we changed from the ATmega128 to the ATmega1281.) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-libc-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
