News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Connecting to OpenOCD Server

Started by PaowZ, October 29, 2009, 03:33:35 PM

Previous topic - Next topic

PaowZ


Hello there ! (again..)

I'm using a zy1000 remote debugger appliance with an embedded openOCD system through which I have to connect using GDB.
So, I set up my target for debug filling requested infos in Remote Connection tab with TCP, IP Address and Port.
But C::B hangs when entering debug mode with the following in Debug Tab:

QuoteSelecting target:
Debug-mx27_V1
Adding source dir: F:\C2\PROJETS\AL22\LIB\peg\
Adding source dir: F:\C2\PROJETS\AL22\LIB\peg\
Adding source dir: F:\C2\PROJETS\AL22\APPLI\SI

I supplied this script in Additional Commands tab (before connection)

Quote# File to flash
file F:/C2/PROJETS/AL22/refsys/rtose/mx27/obj/rtose_debug/AL22_V1.elf

# Connect to GDB Server
target remote 192.168.0.217:3333
set mem inaccessible-by-default off
monitor gdb memory map disable
monitor reset init
monitor halt
load
monitor reg pc 0xa0200000
stepi

..wherein I tell GDB to connect to the appliance.

I successfully got connected to the zy1000 through gdb (using arm-elf-gdb.exe with 'target remote ip:port') and passed commands through it, but I can't find out why C::B just does not connect.

Any idea ??

Thanks again :)

PaowZ

okay.. let's say it another way.. :)

What am I supposed to see on the C::B GUI when I enter a remote debug session ?

thanks :)

PaowZ

..I noticed that when I start a debug session I can see gdb running in task list but no output caught by C::B.. :shock: