> 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. Check your linker-script if you do not set the vectors to zero. I thing gdb starts execution at zero, but you did not program the MEMMAP to map the internal RAM to 0 (the vectors). So after connecting, the gdb should issue at least this command before downloading your code. -- 42Bastian Schick
Message
Re: [lpc2000] Debuging lpc2138 with GNU-arm-gdb
2005-04-17 by 42Bastian Schick