Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: Writing to Flash

2004-03-12 by Robert Adsett

At 03:21 PM 3/12/04 +0000, you wrote:
> > You can use the IAP interface.
>
>Yes, I know. But is the IAP a part of the Bootloader? If I interprete
>the docs correctly, I think this is the case. And exactly this is not
>what I want.

It depends on how you define "bootloader".  It is in the same segment and I 
would expect it to use the same programming routines, but it doesn't 
require entering a boot mode.


>The LPC2106 User Manual shows this:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>JTAG FLASH PROGRAMMING INTERFACE
>There are three possibilities for this interface:
>
>1. Debug tools can write parts of the flash image to the RAM and then
>execute the IAP call "Copy RAM to Flash" repeatedly with proper offset
>
>2. Debug tools can execute the flash programming code via JTAG port.

AFAIK those are the same method.  Programming via JTAG means copying to RAM 
and calling the IAP to do the actual programming.  This would be one of 
those places that hint at other possibilities.  I suspect that most of 
those hints are unintended.

><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>
>The second item is of interest, but I can not find anything about this
>in the docs. And there should be ITEM-3 but it is not there :-)
>And a bit more strange, the User Manual of the LPC2119 shows only
>paragraph-1 ....

I suspect that the 2119 documentation is correct.  As is often the case the 
documentation is lagging the silicon, and has its own errors.

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

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.