Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: Options for Software Reset in LPC2148

2006-04-18 by Ralph Hempel

jayasooriah wrote:
> --- 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.

Ummm, I'm not having a problem at all. I'm describing one of many
ways to reset a part after a firmware upgrade.

> 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.

Of course.

> 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.

A watchdog reset should be the same as hardware reset in terms of
the state it leaves the peripherals in. That's why we were discussing 
ways in which we could tell the difference between the two.

If you have a specific reason for why you think the watchdog reset on
the LPC is buggy, then please state it.

> It is good defensive programming anyway to make minimal assumptions.

Yes.

Cheers,
Ralph

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.