Yes, I've done it on both the 2114 and 2129. The only difference is that I set WDTC = 0. --rich -----Original Message----- From: Karl Olsen [mailto:kro@...] Sent: Thursday, December 16, 2004 7:36 AM To: lpc2000@yahoogroups.com Subject: [lpc2000] Re: Reset of circuit --- 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 Yahoo! Groups Sponsor ADVERTISEMENT click here <http://us.ard.yahoo.com/SIG=12935bdjl/M=298184.5639630.6699735.3001176/ D=groups/S=1706554205:HM/EXP=1103297841/A=2495202/R=0/SIG=11evjk50a/*htt p://www.netflix.com/Default?mqso=60188913> <http://us.adserver.yahoo.com/l?M=298184.5639630.6699735.3001176/D=group s/S=:HM/A=2495202/rand=398651772> ________________________________ 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 <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . [Non-text portions of this message have been removed]
Message
RE: [lpc2000] Re: Reset of circuit
2004-12-16 by Richard Rauscher
Attachments
- No local attachments were found for this message.