Forums

Simple LCP210x and GDB

Started by peetervois November 26, 2003
Hi,

I have a question: Is it possible to debug the code on the Leon's
Simple LCP210x Proto board using GDB? I mean "Over RS232 serial line".

Best Regards ...
Peeter Vois



An Engineer's Guide to the LPC2100 Series

--- In , "peetervois" <peetervois@y...> wrote:
> Hi,
>
> I have a question: Is it possible to debug the code on the Leon's
> Simple LCP210x Proto board using GDB? I mean "Over RS232 serial line".


GDB can be used to debug a target via a serial link. However, GDB
'stub' code is required running on the target. I've been told that
writing a stub is non-trivial. I'm trying to get a JTAG Wiggler
interface working on my prototype. I can then use the debugger
provided with the RAL tools.

Leon



Message
Just to agree with Leon's comments. See the following link if you want to pursue GDB stubs:
 
http://sourceforge.net/projects/gdbstubs
 
Also, Bill Gatliff (Embedded Systems Programming Magazine GNU guru) may have some stuff on his site at:
http://billgatliff.com/
 
 
-----Original Message-----
From: leon_heller [mailto:l...@hotmail.com]
Sent: 26 November 2003 12:25
To: l...@yahoogroups.com
Subject: [lpc2100] Re: Simple LCP210x and GDB

--- In l...@yahoogroups.com, "peetervois" <peetervois@y...> wrote:
> Hi,
>
> I have a question: Is it possible to debug the code on the Leon's
> Simple LCP210x Proto board using GDB? I mean "Over RS232 serial line".GDB can be used to debug a target via a serial link. However, GDB
'stub' code is required running on the target. I've been told that
writing a stub is non-trivial. I'm trying to get a JTAG Wiggler
interface working on my prototype. I can then use the debugger
provided with the RAL tools.

Leon



To unsubscribe from this group, send an email to:
l...@yahoogroups.com



">Yahoo! Terms of Service.