Yahoo Groups archive

Lpc2000

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

Message

Re: Reset of circuit

2004-12-16 by Karl Olsen

--- In lpc2000@yahoogroups.com, "Kerem Or" <k.or@s...> wrote:
> Then let the watchdog expire. It will reset the chip but will not 
change the 
> state of the reset pin. That means your external hardware (if you 
have any) 
> connected to the LPC reset pin will not get reset.

Has anybody done this successfully?

On my LPC2114, I have tried doing a CPU reset by starting the 
watchdog and letting it expire.  But when it expires, the CPU just 
hangs, without restarting.  P0.14 isn't low, and it hasn't entered 
ISP mode.  I'm doing like this:

WDT->WDTC = PCLK_HZ/4; /* Timeout = 1 second */
WDT->WDMOD = 0x03;
WDT->WDFEED = 0xAA;
WDT->WDFEED = 0x55;

At this time I can see WDTV decrementing, and when it reaches zero, 
the system just hangs, and interrupt activity stops.

Karl Olsen

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.