Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: ARM newbie

2004-03-25 by Robert Adsett

At 01:51 AM 3/25/04 +0000, you wrote:
>"In general: LPC21xx are very new parts, for some unknown reason
>Philips doesn't disclosure how to program LPC21xx Flash via JTAG
>which make hard time for the IDE developers. Perpahs Philips have
>problems with the Flash programming as it is now and is going to
>change the protocol in future and this is why they force all to use
>their bootloader IAP protocol. The only vendor so far who work this
>around is Rowley, they first load in RAM small own bootloader who
>then get data from JTAG and fed to IAP to write Flash segments thus
>making their product easies to use so far with LPC21xx parts."

I would expect everyone who uses JTAG for programming to take much the same 
approach.  Especially since it's the one Philips documents.  As far as not 
disclosing how the flash works they are not the only vendors that do 
that.  At least one vendor started with fully disclosed timing and on 
revision (when they changed the flash) changed to used a callable embedded 
routine.  In that latter case the called routine wasn't even in the micros 
normal address space.

As far as using the wiggler with GDB and GCC it will work with some 
restrictions.  Single stepping through assembly in flash is fairly 
straightforward but I haven't found a way to single step through C in flash 
yet.  I have, however, found recently that it is possible to set a 
breakpoint anywhere fairly simply.  You end up with a useful but primitive 
tool (don't underestimate the power of a primitive tool).

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.