Yahoo Groups archive

Lpc2000

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

Message

Re: Options for Software Reset in LPC2148

2006-04-17 by jayasooriah

--- In lpc2000@yahoogroups.com, Ralph Hempel <rhempel@...> wrote:

> There may be other ways to get what you want, and it's wise to
> understand that there is not just one "right" way to get a job
> like this done :-)

It it not clear to me how you are using the watchdog reset, and why
you appear to be having difficulty.

Your upgrade software should wait till all is done and then signal the
host before it initiates a system reset, which I presume you are doing
using the watchdog timer overflow.

Should the watchdog reset implementation be buggy (I suspect it is on
LPC family), so long as one does not make unecessary assumptions about
the state of the peripherals one should be able to come out of
watchdog reset just as one would from any other reset.

It is good defensive programming anyway to make minimal assumptions.

Jaya

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.