Yahoo Groups archive

Lpc2000

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

Message

Re: ARM newbie

2004-03-25 by c_hall2001

OK, maybe I'm missing something because my JTAG debug knowledge is 
only from 8bit micros (mainly AVR's).  As I understood things the 
first thing that happens in a JTAG debug is loading the program into 
memory.  If a particular JTAG (wiggler in this case) cannot load 
flash then I assume that debugging a flash based program cannot be 
done.
I'm thinking I better complete my reading of the ARM manual and the 
LPC datasheet before bugging you guys again.

--- In lpc2000@yahoogroups.com, Robert Adsett <subscriptions@a...> 
wrote:
> 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.