This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220S-LAUNCHXL: Setting up GDB Debugging using XDS 110

Part Number: CC3220S-LAUNCHXL
Other Parts Discussed in Thread: CC3220S

Hi,

I'm trying to setup gdb in order to debug my application. Here are the details of my setup:

Hardware:

CC3220S_LAUNCHXL Development Boards

Toolchain:

GCC 4_9-2015q3 

OS:

OS X

IDE:

None. (I use sublime and Terminal on OS X)

From the Terminal I'm able to successfully get a GDB server running on my launch board using "gdb_agent_console" found in "ti/ccsv7/ccs_base/common/uscif/" (i've attached my .dat file):

gdb_agent_console cc3220s.dat

I'm also able to successfully connect to the server when i run the following:

arm-none-eabi-gdb

target remote localhost:55000

However, here is where I get stuck. I'm not able to load my image onto the board using monitor commands and begin debugging. Here is what is currently in my .gdbinit file:

target remote localhost:55000

file image.out

monitor sleep 100
break main
load
continue


Is there a user guide for how to setup XDS110 and what the monitor commands are for gdb_agent_console so that I can debug from the Terminal (I'm not using Code Studio)? I've looked at this (processors.wiki.ti.com/index.php/XDS110) and this (processors.wiki.ti.com/index.php/XDS_GDB_Agent) but I can't seem to find any usage info other than how to get the gdb server running and then connect with gdb. Also, are there any special flags I need to use in my Makefile (other than -g) that I need to use in order to successfully load an image and debug? Thanks!

cc3220s.dat