Forums

Watchdog issues

Started by dozsagy February 1, 2007
All work fine with WDOG enabled.
After heavy interrupt load on Timer0 (100us), watchdog sporandicaly
restart the uP.
Feed sequence is enlosed betwen interrupt enable/disable functions.

I read all topic about watchdog in this board, but problem still
exsist. Board is with LPC2136, 60 MHz.

An Engineer's Guide to the LPC2100 Series

--- In l..., "dozsagy" wrote:
>
> All work fine with WDOG enabled.
> After heavy interrupt load on Timer0 (100us), watchdog sporandicaly
> restart the uP.
> Feed sequence is enlosed betwen interrupt enable/disable functions.
>
> I read all topic about watchdog in this board, but problem still
> exsist. Board is with LPC2136, 60 MHz.
>

Try the following that I have used to resolve such disputes:

In the routine that triggers the watchdog, also save the value of a
free running timer.

On occurrence of a watchdog reset, take another snapshot of the same
timer.

Comparing the two values will help you verify that watchdog is indeed
being triggered as often as intended.

Hope this helps.

Jaya
Did you write the enable / disable functions yourself? Or are you calling
them from somewhere?
If you did them yourself can you add on the code just so we can see they're
doing what you expect.
Jaya's suggestion is also sensible as perhaps it's not getting triggered as
often as you think.

Andy

-----Original Message-----
From: l... [mailto:l...]On Behalf Of
dozsagy
Sent: 01 February 2007 06:31
To: l...
Subject: [lpc2000] Watchdog issues
All work fine with WDOG enabled.
After heavy interrupt load on Timer0 (100us), watchdog sporandicaly
restart the uP.
Feed sequence is enlosed betwen interrupt enable/disable functions.

I read all topic about watchdog in this board, but problem still
exsist. Board is with LPC2136, 60 MHz.