avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] ATmega 128 Watchdog Anybody?


From: Harald Kipp
Subject: [avr-gcc-list] ATmega 128 Watchdog Anybody?
Date: Mon, 03 Jun 2002 20:01:02 +0100 (MEZ)

Did anybody tried the watchdog on the ATmega 128 with
Marc's GCC patch?

wdt.h doesn't subtract __SFR_OFFSET, but that was easily fixed.

But when I do

wdt_reset();
wdt_enable(7);

the watchdog resets the CPU in less than 200 ms, but it 
should happen in about 2 seconds.



Harald Kipp

egnite Software GmbH     TEL +49 (0)2323-925375
Westring 303             FAX +49 (0)2323-925374
D 44629 Herne            http://www.egnite.de
Germany

Ethernut Support:     http://www.ethernut.de
Ethernut Development: http://ethernut.sourceforge.net


avr-gcc-list at http://avr1.org



reply via email to

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