AnsweredAssumed Answered

Eclipse/JLink/CodeSourcery/GDB run vs continue?

Question asked by speth.john on Dec 27, 2011
Latest reply on Jan 4, 2012 by fantana.brian
Hi Folks-

I'm trying to get debugging working on Eclipse.  It appears that the Eclipse debugger wants to send a "run" command after loading the image when it should be sending a "continue" command.  The debugger reports that error.  How can I get Eclipse to send continue instead of run?

I'm using Mentor's CodeSourcery G++ Lite for GNU tools, Eclipse, Segger's JLink with the JLink GDBServer via JTAG all of which were recently downloaded.  I can flash the part and run the software all through the GDB server so the JTAG connection is solid.  I can run GDB interactively from the console.

Here's my GDB startup script:

target remote localhost:2331
monitor speed 30
monitor endian big
monitor reset
monitor speed auto
set remote memory-write-packet-size 1024
set remote memory-write-packet-size fixed
monitor flash device = STM32F103VB
monitor flash download = 1
load Debug/First.elf
monitor reg r13 = (0x00000000)
monitor reg pc = (0x00000004)

Please help.  Thanks. - John Speth