Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] WDT feed

2005-02-03 by Robert Adsett

At 02:49 PM 2/3/05 +0000, extra300_it wrote:
>The user manual is (once more) not exatcly clear about WDT refresh.
>It says that after writing 0xAA to WDTFEED, 'the next operation in
>watchdog register space should be a write 0x55 to WDTFEED', otherwise
>the watchdog will reset the cpu even if the timer is not yet elapsed.
>
>What happens if one interrupt triggers between 0xAA and 0x55?

The WD feed fails.

>I see the wdt resets cpu, even if the ISR does not affect WDT
>register space.

That's to be expected.

>Do I need to disable interrupts before feeding WDT?


Yes.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.