Hi. How solve this error?
I am near to be able to debug my project in my uController LPC1768. I have:
Yagarto + Eclipse + OpenOCD + GDB + zylin plugin.
When i try to debug, Eclipse almost does it, but it says "no source available for “” ", this is the log:
target remote localhost:3333
0x00000000 in ?? ()
monitor halt
file main.elf
monitor sleep 500
monitor poll
background polling: on
TAP: lpc1768.cpu (enabled)
target state: halted
target halted due to undefined, current mode: Thread
xPSR: 00000000 pc: 0x00000001 msp: 00000000
monitor soft_reset_halt
requesting target halt and executing a soft reset
target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x01000000 pc: 0xcdff7ffe msp: 0xfdfc7ff8
load
Loading section .text, size 0x27c lma 0x0
Start address 0x0, load size 636
Transfer rate: 310 bytes/sec, 636 bytes/write.
break main
Breakpoint 1 at 0x15c
continue
Note: automatically using hardware breakpoints for read-only addresses.
lpc1768.cpu -- clearing lockup after double fault
Program received signal SIGINT, Interrupt.
0xffffed7e in ?? ()
lpc1768.cpu -- clearing lockup after double fault
My GDB init command are:
target remote localhost:3333
monitor halt
file main.elf
monitor sleep 500
monitor poll
monitor soft_reset_halt
load
-
Do you have a better starting GDB code?
-
what is this 0x00000000 in ?? () message in the log?
Thanks,