Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Watchdog and external Interrupt problem

2005-02-28 by jane highland

Yes I got fed up too. Get an external watchdog
chip...you want to be able to 'scope' a real reset
signal from something independent of the the LPC chip
when the CPU screws up.

If anything it will let you sleep at night, when
you've got thousands of products out there in the
field.


Jane
 --- itsjustimpossible <simonjh@...> wrote: 

---------------------------------

Hi
I am nearing the end of our first project with the
LPC2294 and need 
to implement the watchdog.

I am pretty sure I have it setup correctly, and with
it in its debug 
mode I can cause a jump to the watchDog IRQ routine
when I put the 
uP into an endless loop.

As part of its functionality external interrupts are
disabled until 
the equipment is set to GO, and this where the
problems start. As 
soon as I enable the external interrupt the watchdog
timer jumps to 
its ISR. (The external interrupts are set to FIQ and
at 8uS 
intervals)

Even with the watchdog timer set to a very very long
timeout (i.e. 
ten seconds) as soon as external interrupts are
enabled we jump to 
the WatchDog ISR.

With the watchdog set to Off everything else works as
expected.
With the watchdog set to On but no external interrupts
everything 
works as expected.

When I kick the watchdog I am disabling all the
interrupts using the 
VIC. Do I have to jump to system mode and disable the
global IRQ and 
FIQ flags? This would probably be too slow...

Has anyone else seen anything like this?
At the moment its driving me nuts.

many thanks
Simon




Yahoo! Groups Sponsor  ADVERTISEMENT
 

---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
 
   To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
 
   Your use of Yahoo! Groups is subject to the Yahoo!
Terms of Service.
 

Send instant messages to your online friends http://uk.messenger.yahoo.com

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.