Yahoo Groups archive

Lpc2000

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

Message

Re: Any way to launch ISP ?

2004-11-19 by dave_albert

Leighton, do you know if the ISP code kicks the watchdog?  This should
be a great help to me either way...I second your vote for best code
example!

--- In lpc2000@yahoogroups.com, "Leighton Rowe" <leightonsrowe@y...>
wrote:
> 
> > Thank you...this is exactly what I was looking for!
> > 
> > In my application, the CPU is deeply embedded and is
> > not accessible so it cannot be reset or power cycled.
> > To prevent a situation where the device gets accidentally
> > stuck in the ISP software, I would like to resume normal
> > execution if the ISP software is not used for say 5 minutes.
> > If I set the watchdog to ~5 minutes before launching the ISP, 
> > will the ISP code kick it (and thus never exit) or will it 
> > allow the watchdog to timeout and reset the node 5 minutes 
> > later?
> > 
> 
> No Power Cycle?...Ok then.
> In my opinion Dave, that would leave you with the "GO" Command (See 
> ISP Commands in your UM) as the only ISP escape command. The code u 
> jump to should then restore the system to your liking. I guess the 
> challenge is preventing any alteration of the restoration code for 
> every update. It's just an idea, but I guess it's worth trying. 
> 
> Thanks a mil Richard. I've been putting off my lpc firmware update 
> research until I saw your code...a very clever & very simple piece 
> of code. "ISP Invocation code" for Code Example of the Year!! :) 
> 
> Cheers,
> Leighton

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.