After having worked some more with the problem, I susbect the problem to come from the startup.s file. The one I use, comes from an example for a LPC2129, and maybe the memory layout is a little different on the LPC2138. Does anyone have a startup.s for the lpc2138? Best Regards Søren Hansen --- In lpc2000@yahoogroups.com, "soren_t_hansen" <soren_t_hansen@y...> wrote: > > 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
Message
Re: Debuging lpc2138 with GNU-arm-gdb
2005-04-14 by soren_t_hansen
Attachments
- No local attachments were found for this message.