This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Using OpenOCD to debug Zephyr application in nrf52DK: Debug adapter does not support any transports?

I'm trying to debug a Zephyr application on nrf52DK. However, due to the use of multi-threading (in Zephyr) I can't use J-Link Debug Server (as I'm used to). For executing the server I'm running the following command:

openocd -c gdb_port 50000 -s ${ZEPHYR-SDK-DIR}/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts/target -f nrf52.cfg

The OpenOCD returns the following message:

Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Error: Debug adapter does not support any transports? Check config file order.
Error: unable to select a session transport. Can't continue.
shutdown command invoked

Related