Yahoo Groups archive

Lpc2000

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

Message

Re: LPC2138 Watchdog

2005-01-27 by Rick Collins

--- In lpc2000@yahoogroups.com, "tah2k" <tah2k@y...> wrote:
> 
> When enabled and timed out, the LPC2138 watchdog with generate an 
> interrupt and may cause a reset depending on the state of 
> WDMOD:WDRESET bit.
> 
> I can see the interrupt being useful during debugging when the reset 
> is disabled, but does it serve any purpose when the reset is 
> enabled? Would the ISR even get serviced if the watchdog times out 
> and a reset is forced?

I think the idea is that you can either reset the chip, or you can 
use the interrupt.  I don't know why you would use the interrupt 
instead of the reset, but I have seen PC based embedded systems that
use a normal timer interrupt as a watchdog when no watchdog hardware
was available.  It was more of a way to detect that one of the tasks
was not responding.

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.