Yahoo Groups archive

Lpc2000

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

Message

Debuging lpc2138 with GNU-arm-gdb

2005-04-14 by soren_t_hansen

I'm trying to establish a development enviroment to a lpc2138 on the
Keil MCB2130 evaluation board. I'm using Eclipse and would like to
debug my program using the GNU-arm-gdb. To connect to the board I'm
using the Raven OCDemon from Macraigor and their program OCDRemote to
interface between JTAG and GDB. But so far I'm having some problems. 

At first it seemed to work okay using gdb from a shell. But when
running in Eclipse it was only possible to pause and resume the
program. I tried to erase the flash since the program was also present
there, due to earlier tests. But now my program (linked for RAM) will
not run at all unless I step my way trough. If I try to "go" the
program counter (PC) jumps to address 0x7fffd2a2 and keeps looping
there forever.

I can't seem to grasp if it something in my program or maybe my
linking script that's wrong. Or maybe it's the Raven/ocdRemote/GDB
combo that causes the problem. Anyone have had this problem?

Has anyone tried debuging in Eclipse through JTAG? 

Best Regards
Søren Hansen

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.