I use OpenOCD, the latest from git, gdb 7.0, Eclipse Galileo, most upto date, to develop with ARM processors. ADuC, SAM7, and Stellaris work o.k., but LPC2103 and STM32 do not show the CPU regs in the registers pane, but otherwise works o.k. The setup for STM32 and Stellaris are identical. Is there something simple I have missed?
Many thanks
billium:
I use OpenOCD, the latest from git, gdb 7.0, Eclipse Galileo, most upto date, to develop with ARM processors. ADuC, SAM7, and Stellaris work o.k., but LPC2103 and STM32 do not show the CPU regs in the registers pane, but otherwise works o.k. The setup for STM32 and Stellaris are identical. Is there something simple I have missed?
Many thanks
Try to telnet right into the OpenOCD telnet server and run the “reg” command,
so you can find out if the error is in OpenOCD or in Eclipe.
/Johan
Thanks for your time Johan.
The reg command works on all targets, also I should note I am using the an Amotec tiny, except for the Stellaris which uses its on board usb jtag.
I suspect there is a command or switch in eclipse that is wrong. I cannot install insight at the moment as tk/tcl is broken with my version of X. I will try with another gdb front end if I can find one that works o.k…
billium:
The reg command works on all targets, also I should note I am using the an Amotec tiny, except for the Stellaris which uses its on board usb jtag.

billium:
I suspect there is a command or switch in eclipse that is wrong. I cannot install insight at the moment as tk/tcl is broken with my version of X. I will try with another gdb front end if I can find one that works o.k…
Sorry can’t help much with Eclipse.
You could try to play with ddd as a gdb-client, it looks like **** but it gets the work done…
ddd --eval-command="target remote localhost:3333" --debugger arm-none-eabi-gdb main.elf
/Johan
ddd works ok, If somebody else knows about eclipse I would be grateful for registers in its gdb mode.
Thanks Johan.
Hi Johan.
I tried the register view on Eclipse/CDT using both the Zylin and Eclipse GDB Hardware Debugging plug-ins and in both cases it worked.
This is a hands-off, default Eclipse installation with all the default settings.
There is a bug, however, in that the “Format” command has been omitted from the right-click menu in this revision.
I can work-around that by selecting all the registers and clicking “Watch”. The Watch view allows you to re-format the registers into Hex, for example.
I can send you some screen shots if you email me at lynch007@gmail.com
Cheers,
Jim Lynch
Hello Jim
I think you are speaking to me (my last word was Johan as I was thanking him!
).
Thanks for your offer, but as ddd works and I am currently working with a SAM7 which works o.k. in Eclipse, I’ll wait for the next eclipse update.
billium