Yahoo Groups archive

Lpc2000

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

Message

Re: WDT reset while in an ISR

2006-04-18 by derbaier

--- In lpc2000@yahoogroups.com, "relentless_6995" <bobd@...> wrote:
>
> Hi,
> 
> I am using an LPC2138 with IAR compiler.
> 
> Turning on WDT for the first time. I was testing it a few different 
> ways. One way involves a Data Abort IRQ. My data abort IRQ falls into 
> an endless loop (on purpose). It seems that when I create an illegal 
> access to trigger the data abort IRQ the WDT never fires. The code 
> enters the Data Abort IRQ, hits my endless loop and sits there 
> forever - no WDT reset! Anyone know why?
> 
> Thanks group
>

Did you enable WDMOD[WDRESET] or just WDMOD[WDEN] ?
Without WDMOD[WDRESET] set you do not get a RESET, but just a watchdog
interrupt, which will be just as dependant on your interrupt setup as
other interrupts are.

-- Dave

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.