Hello
I have recently began working on a personal project with the cc26x family of devices from Texas Instruments, specifically the cc2650stk and cc2650 launch XL. I have limited knowledge on OpenOCD, I am unfortunately a slave to gui based proprietary debuggers. I have briefly used OpenOCD before with the EK-TM4C and the EL-LM4F family of devices, but with the configuration files already available for the board, little time was spent understanding the lower level concepts of OpenOCD.
I have searched quite extensively and have yet to find some information that satisfies my question. I saw that early last year the cc26xx cpus had been added as a target.
http://openocd.zylin.com/#/c/2232/
However I am a little confused. I have two debuggers, the XDS100v3 and the XDS110 both of which I believe are ICEPICK_C based debuggers. So I run the following command.
openocd.exe -f target/cc26xx.cfg -c init
However this errors with the follow output:
Debug adapter does not support any transports? Check config file order.
The full debug is as follows;
Open On-Chip Debugger 0.9.0 (2015-05-19-12:06)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
User : 13 2 command.c:546 command_print(): debug_level: 3
Debug: 14 2 options.c:98 add_default_dirs(): bindir=bin
Debug: 15 2 options.c:99 add_default_dirs(): pkgdatadir=
Debug: 16 2 options.c:100 add_default_dirs(): run_prefix=D:/Downloads/openocd-0.9.0/
Debug: 17 3 configuration.c:44 add_script_search_dir(): adding C:\Users\nicholas/.openocd
Debug: 18 3 configuration.c:44 add_script_search_dir(): adding C:\Users\nicholas\AppData\Roaming/OpenOCD
Debug: 19 3 configuration.c:44 add_script_search_dir(): adding D:/Downloads/openocd-0.9.0//site
Debug: 20 3 configuration.c:44 add_script_search_dir(): adding D:/Downloads/openocd-0.9.0//scripts
Debug: 21 4 configuration.c:84 find_file(): found scripts/target/cc26xx.cfg
Debug: 22 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 100
Debug: 23 6 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 100
Debug: 25 6 core.c:1629 jtag_config_khz(): handle jtag khz
Debug: 26 6 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 27 6 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 28 7 command.c:546 command_print(): adapter speed: 100 kHz
Debug: 29 8 configuration.c:84 find_file(): found D:/Downloads/openocd-0.9.0//scripts/target/icepick.cfg
Debug: 30 8 configuration.c:84 find_file(): found D:/Downloads/openocd-0.9.0//scripts/target/ti-cjtag.cfg
Debug: 31 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 32 9 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Error: 33 9 transport.c:283 jim_transport_select(): Debug adapter does not support any transports? Check config file order.
User : 34 10 command.c:689 command_run_line(): embedded:startup.tcl:21: Error:
in procedure ‘script’
at file “embedded:startup.tcl”, line 60
in procedure ‘jtag’ called at file “scripts/target/cc26xx.cfg”, line 22
in procedure ‘default_to_jtag’ called at file “embedded:startup.tcl”, line 167
in procedure ‘transport’ called at file “embedded:startup.tcl”, line 158
in procedure ‘ocd_bouncer’
at file “embedded:startup.tcl”, line 21
Some further searching of the limited information about the TI board I try the following:
openocd.exe -f interface/cmsis-dap.cfg -f target/cc26xx.cfg -c init
Which errors:
Error: session transport is “swd” but your config requires JTAG
So I set the transport to jtag with the following.
openocd.exe -c "transport select jtag" -f interface/cmsis-dap.cfg -f target/cc26xx.cfg -c init
Which again errors with the following.
Error: Debug adapter doesn’t support any transports?
The full debug dump:
Open On-Chip Debugger 0.9.0 (2015-05-19-12:06)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
User : 13 2 command.c:546 command_print(): debug_level: 3
Debug: 14 2 options.c:98 add_default_dirs(): bindir=bin
Debug: 15 3 options.c:99 add_default_dirs(): pkgdatadir=
Debug: 16 3 options.c:100 add_default_dirs(): run_prefix=D:/Downloads/openocd-0.9.0/
Debug: 17 3 configuration.c:44 add_script_search_dir(): adding C:\Users\nicholas/.openocd
Debug: 18 3 configuration.c:44 add_script_search_dir(): adding C:\Users\nicholas\AppData\Roaming/OpenOCD
Debug: 19 3 configuration.c:44 add_script_search_dir(): adding D:/Downloads/openocd-0.9.0//site
Debug: 20 3 configuration.c:44 add_script_search_dir(): adding D:/Downloads/openocd-0.9.0//scripts
Debug: 21 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select jtag
Debug: 22 4 command.c:145 script_debug(): command - ocd_transport ocd_transport select jtag
Error: 23 4 transport.c:314 jim_transport_select(): Debug adapter doesn’t support any transports?
User : 24 5 command.c:689 command_run_line(): embedded:startup.tcl:21: Error:
in procedure ‘transport’
in procedure ‘ocd_bouncer’
at file “embedded:startup.tcl”, line 21
I’m hesitant to submit a bug report as I feel like I’m doing something wrong.
Any help would be appreciated.
Sincerely,
Nicholas