Yahoo Groups archive

Lpc2000

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

Message

Re: GDB on rs232 (lpc2292)

2006-02-07 by boje_d

--- In lpc2000@yahoogroups.com, Tom Walsh <tom@...> wrote:
>
> 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.
> >  
> >
> Well, it is called "gdbserver" and requires running code to work.  
You 
> might be able to put gdbserver into Flash and have it download your 
> program-under-test into SRAM?  gdbserver would need you to write 
some 
> small code to use the serial port on the Target system.  The 
current gdb 
> would have the driver needed.
> 
> IIRC, gdbserver is most effective on the X86 CPUs as they have 
internal 
> debug registers (breakpoint) accessible from software. You cannot 
use it 
> like a jtag unit where it will debug programs in flash or to 
program 
> flash. 
> 
> I don't know much more about it, try searching the archives of 
uClinux. 
> It was used on some of the processors without MMUs or JTAG like the 
> Motorola ColdFire / 68EZ328.
> 
> TomW
> 
> -- 
> Tom Walsh - WN3L - Embedded Systems Consultant
> http://openhardware.net, http://cyberiansoftware.com
> "Windows? No thanks, I have work to do..."
> ----------------------------------------------------
>


Ill look into it. Thanks a lot
Boje Demant

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.