Yahoo Groups archive

Lpc2000

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

Thread

ISP problems

ISP problems

2005-03-02 by albin_martinsson

Hi,

After downloading Philips App AN10256 "Entering ISP mode from user 
code" I have tried to get it to work without success.

Have anyone got it to work? We really need this function for being 
able to program our devices in system.

Maybe someone here has solved the problem in a different way, how??

The bootloader is located in the upper 8kB of flashmemory... What 
will happen if you jump to this place directly in code??


B.R  / Albin M

Re: [lpc2000] ISP problems

2005-03-02 by Bill Knight

Have a look at LPC-FlashRoutines-18Feb05.zip in the files section
for this group on Yahoo.  It may be of use to you.

Regards
-Bill Knight
R O SoftWare &
http://www.theARMPatch.com


On Wed, 02 Mar 2005 14:54:38 -0000, albin_martinsson wrote:

Hi,

After downloading Philips App AN10256 "Entering ISP mode from user 
code" I have tried to get it to work without success.

Have anyone got it to work? We really need this function for being 
able to program our devices in system.

Maybe someone here has solved the problem in a different way, how??

The bootloader is located in the upper 8kB of flashmemory... What 
will happen if you jump to this place directly in code??


B.R  / Albin M

Re: ISP problems

2005-03-02 by Leighton Rowe

> After downloading Philips App AN10256 "Entering ISP mode from user 
> code" I have tried to get it to work without success.

"Entering ISP mode from user code" is actually article AN10356.

Re: [lpc2000] Re: ISP problems

2005-03-02 by Robert Adsett

At 06:51 PM 3/2/05 +0000, Leighton Rowe wrote:


> > After downloading Philips App AN10256 "Entering ISP mode from user
> > code" I have tried to get it to work without success.
>
>"Entering ISP mode from user code" is actually article AN10356.

There is also the erase first sector and reboot method.  I understand 
someone has used that.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Re: ISP problems

2005-03-02 by Leighton Rowe

> 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

Re: ISP problems

2005-03-03 by albin_martinsson

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

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

Re: [lpc2000] Re: ISP problems

2005-03-03 by Robert Adsett

At 09:43 AM 3/3/05 +0000, albin_martinsson wrote:
>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...

How, exactly, are you 'calling' it now?  Can you show a code fragment?

Also, any reason not to just use the 'auto-isp' features of the protocol 
and have the download program toggle the reset and boot mode lines as needed?

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

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.