Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: ISP problems

2005-03-03 by Stefano Coluccini

I'm using the trick to erase the first block of flash and it works fine for me.

Bye,
Stefano.

At 10.43 03/03/2005, you wrote:


>--- In lpc2000@yahoogroups.com, "Leighton Rowe" <leightonsrowe@y...>
>wrote:
> >
> > > There is also the erase first sector and reboot method.  I
> > understand
> > > someone has used that.
> > >
> > > Robert
> >
> > Yes this method was briefly discussed almost 6 months ago as an
> > alternative of getting around that annoying P0.14 issue. At the
> > time, I doubted that anyone discovered a way of entering the ISP
> > while in usermode(...until AN10356 appeared). The method should
>work
> > as long as u use the Phillips Utility (or a software substitute)
>to
> > run the ISP downloads. However, the only thing I didn't like about
> > the method it is that an IAP erase call is used to force the ISP.
> >
> > So, I didn't really consider using this method, as the IAP
>interface
> > is best for applications where the firmware is updated remotely.
> >
> > Leighton
>
>Thanks for your replies.
>
>I guess the IAP functions is the best way of doing it. But.. that
>means that you have to write your own bootloader, both in the
>application (LPC2129) and for PC. I thought that I was going to
>start with using an ISP programmer (like Philips). But, I can't get
>the ISP-bootloader to start correctly. I have tried both ways of
>calling it, and i cant get it to work.
>
>Now i consider of making my own bootloader, but this project im
>working on has a very short deadline.
>
>So, does anyone knows a good way of calling ISP-bootloader from user
>code...
>
>/AM
>

----------------------------------------------
Stefano Coluccini
CAEN SpA - Computing Div.
Via Vetraia, 11 - 55049 Viareggio (LU)-ITALY
Tel. +39 0584 388 398 - Fax +39 0584 388 959
s.coluccini@... - www.caen.it
----------------------------------------------

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.