-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi David,
> I'm trying to use the watchdog on an ATMega644P chip. I have the > problem that if the watchdog actually triggers it just keeps > resetting, repeatedly writing out the 'amforth 5.1' message. Your watchdog works perfectly well :) > My guess is that the watchdog interrupt condition needs clearing > at startup. Close, but still missing the point. You'll need to *regularly* clear the watchdog reset condition (depends on your settings every few milliseconds to at most 2 seconds IIRC) with the WDR instruction. A forth word with that name is provided via core/words/wdr.asm, just include it and call it often, e.g. as PAUSE: > ' wdr is pause should work (untested). Details can be found (as usual) in the controller datasheet. Matthias -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlJyjL4ACgkQ9bEHdGEMFjOCEACfRQnAH4sC5CdR4ewxTksVHlsh GLAAn1iO6wfnJ8EZfRlmla5WRermzPog =yR5S -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel