Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] GDB on rs232 (lpc2292)

2006-02-02 by Anton Erasmus

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.

Regards
  Anton Erasmus-- 
A J Erasmus

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.