Would someone be kind and provide their OpenOCD 0.1.0 configuration and GDB Initialization commands for Eclipse to allow debugging in the Eclipse environment.
The board I am using is the Olimex STM32-P103.
I can program the flash and make the LED blink, so I have OpenOCD configured to program the flash.
I created a debug configuration file and I can access OpenOCD via the telnet interface. I can even use GDB in text mode, however I cannot get Eclipse to work right. When I enter Eclipse Debugging mode the console window spits out:
source .gdbinit
target remote :3333
0x00000000 in ?? ()
monitor reset
JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (Manufacturer: 0x23b, Part: 0xba00, Version: 0x3)
JTAG Tap/device matched
JTAG tap: stm32.bs tap/device found: 0x16410041 (Manufacturer: 0x020, Part: 0x6410, Version: 0x1)
JTAG Tap/device matched
target state: halted
target halted due to undefined, current mode: Thread
xPSR: 0x81000000 pc: 0x08000158
monitor sleep 500
monitor poll
target state: halted
target halted due to undefined, current mode: Thread
xPSR: 0x81000000 pc: 0x08000158
set mem inaccessible-by-default off
load
Loading section .text, size 0x2e98 lma 0x8000000
Loading section .data, size 0x534 lma 0x8002e98
Start address 0x8000000, load size 13260
Transfer rate: 6 KB/sec, 6630 bytes/write.
break main
Breakpoint 1 at 0x80001be: file p103.c, line 83.
continue
Note: automatically using hardware breakpoints for read-only addresses.
After this I cannot step, set breakpoints, view source, NOTHING.
Thanks.