--- In lpc2000@yahoogroups.com, "Anton Erasmus" <antone@...> wrote: > > On 2 Feb 2006 at 14:58, boje_d wrote: > > > Hi! > > Is it possible to do debugging via one of the rs232 port?? i would > > like to use GDB to evaluate variables and make breakpoints on running > > HW. > > Yes, you need to load a GDB stub for the device. Source is available for an > ARM stub, but unless someone else has done it, you need to write a tx character > and rx character routine. The normal stub will support setting of breakpoints in RAM. > Debugging directly from flash is a bit more involved. This is harder than it sounds if you want breakpoints - even from RAM. I'd probably try to get the Angel monitor working on the Arm chip, then try to make gdb work with that. But Angel isn't officially supported on modern chips (the last source I have is from 2002), and I don't know how hard it might be to make it work. No matter how hard, it's likely going to be easier than doing it all yourself. Of course, buying a cheap wiggler clone from Olimex is a good way to make gdb work with a JTAG interface. Eric
Message
Re: GDB on rs232 (lpc2292)
2006-02-03 by Eric Engler
Attachments
- No local attachments were found for this message.