Yahoo Groups archive

Lpc2000

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

Thread

WDT feed + Interrupt disable

WDT feed + Interrupt disable

2005-02-04 by extra300_it

Thank you for your answers.

As far as possible, I am not used to disable all interrupts, but it 
seems the WDT needs it.
(What was not clear to me is the meaning of 'writing in the WDT 
register space' - it seems the unwanted WDT reset triggesrs even if 
the ISR is writing somewhere else).

Now, stopping the interrupts, the WDT works fine.
 
***BUT***

After having read the user manual, chapter 'Spurious interrupts',
I see a lot of potential problems that can arise when disabling 
interrupts.

Is there a general rule or code sample to make VIC work safe when 
stopping interrupts?

Thank you.

Re: [lpc2000] WDT feed + Interrupt disable

2005-02-04 by 42Bastian Schick

>
> ***BUT***
>
> After having read the user manual, chapter 'Spurious interrupts',
> I see a lot of potential problems that can arise when disabling
> interrupts.
>
> Is there a general rule or code sample to make VIC work safe when
> stopping interrupts?

Use the psr to disable interrupts, not VIC, just write a little ARM code
that disable interrupts, triggers WDT and re-enables interrupts.

-- 
42Bastian Schick

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.