At 05:08 PM 3/25/04 +0000, you wrote:
>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.
Actually the wiggler is agnostic on the issue. It's the software using the
wiggler that needs to support programming the flash. It is also quite
possible to debug in flash using JTAG w/o programming the flash over JTAG,
the two are quite independent (other than using the same communications
channel). I often use GDB to debug in flash over JTAG and use the serial
connection for programming the flash.
Debugging in flash requires that the debugger support the HW debugging
registers in the LPC. GDB's support in this area is incomplete but useable.
Paul's suggestion of getting a debugger that supports the wiggler more
completely is probably a good one. I haven't used his product so I can't
testify as to its usefulness.
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, IIIMessage
Re: [lpc2000] Re: ARM newbie
2004-03-25 by Robert Adsett
Attachments
- No local attachments were found for this message.