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, IIIMessage
Re: [lpc2000] WDT feed
2005-02-03 by Robert Adsett
Attachments
- No local attachments were found for this message.