Yahoo Groups archive

Lpc2000

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

Message

Re: Watchdog problem

2004-03-24 by slawcus

--- In lpc2000@yahoogroups.com, "Helge Fabricius-Hansen"
<helge.fabricius@t...> wrote:
> Hi!
> 
> I tried to use the watchdog, but it looks like I can't set a long 
> timeout or it ignores my kicking.
> I am getting a reset right away...
> 
> 
> WDTC = 7500000L;  // Set for ca. 2 seconds at 60 MHz and devide by 4
> WDMOD = 0x03;
> 
> while(1)
>   {
>   WDFEED = 0xAA; WDFEED = 0x55;
>   bla.
>   bla.
>   etc.
> 
>   // looptime not more then 10 ms
> 
>   }
> 
> Anyone with a clue?
> 
> //Helge


Can you post asembler listing for that part?

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.