Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: Activating Boot Loader for LPC2000 Flash Untility

2004-07-08 by Leighton Rowe

How about implementing the watchdog? That's closest
thing to a hardware reset (without pressing the
switch). 

You might run into a few issues using the watchdog
timer, especially if it's an lpc2114 or lower...I'm
not sure which lpc has the improved version of
watchdog timer though. 

--- Richard <richas@...> wrote:
> Hmmm,
>    Branching to 0x00 is not the same as a reset, IOW
> you will not end 
> up in the bootloader that samples P0.14 and enters
> ISP mode etc.
> 
> Rich
> 
> --- In lpc2000@yahoogroups.com, "lpc2100"
> <lpc2100@y...> wrote:
> > Owen 
> > 
> > Try this sequence from your program which needs to
> be updated.
> > 
> > Make bootloader vectors visible 
> > Write 0x0 to the MEMMAP (0xE01FC040)
> > 
> > Select P0.14 as output. You may want to do a
> read-modify-write here.
> > Write 0x4000 to the IODIR (0xE0028008)
> > 
> > Make P0.14 Low
> > Write 0x4000 to the IOCLR (0xE002800C)
> > 
> > Branch to address 0x0 in ARM mode.
> > 
> > This should invoke the bootloader in ISP mode.
> Update the code via 
> > serial ISP and the next reset should execute the
> new code.
> > 
> > Hope this works for you.
> > 
> > Tom
> > 
> > 
> > --- In lpc2000@yahoogroups.com, Owen Mooney
> <ojm@s...> wrote:
> > > I am building a product that will be encapulated
> in a blob of 
> epoxy.
> > > 
> > > I live in the real world so I know that with any
> new product 
> > firmware 
> > > upgrades are almost inevitable. These can be
> loaded into
> > > a LPC2106 PROVIDED that the P0.14 can be
> accessed Tricky from 
> > inside the 
> > > blob.
> > > 
> > > Is it possible to to activate the code that does
> the boot loading 
> > from 
> > > within my old program, ie jump to some location
> like we do for 
> IAP 
> > > programming
> > > 
> > > Thanks
> > > 
> > > Owen Mooney
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

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.