Thanks for the reply
Yeah I had continued to look into the matter and you have confirmed what I suspected.
I would be careful to call it an integrated debugger, depending on the platform you are using. Technically the XDS110 is an external debugger.
It does seem that OpenOCD has only implemented the SWD interface for the cc13xx/c26xx family.
To make things even more interesting I am using the cc2650stk and cc2650launch xl, although it says it supports cJTAG, the physical layout is not setup to support cJTAG only JTAG hahaha. And two of the four JTAG lines are shared with the external flash, which means no debugging the flash…
I may potentially implement the JTAG icepick interfaces for the cc13xx/cc26xx family. But I have other high priority tasks at the moment. And to be honest, I am not the biggest fan of the contribution environment for OpenOCD. What’s frustrating is that the pull request was merged. I am wondering what kind of testing was done? From the commit comments, there seems to be no testing completed for the pull request, but I could be wrong. There was a comment referring to custom hardware, which I suppose could allow that use of cJTAG. But there is no mention of completed testing.
I have managed to setup a fairly efficient/stable development environment using the TI XDS emulation package provided through the UNIFLASH tools. It’s okay, but not the best. But it does provide me with the ability to debug though GDB.
I’m going to be working with the cc26xx family for my PhD and I am contributing as much resources as I can to the development of the RIOT OS for the Sensor Tag platform. If you’re interest, you can find information here https://github.com/RIOT-OS/RIOT
Nicholas
kff:
I am running into the same issue with the TI CC1310 Launchpad. This board is identical to the CC26XX launchpad, except for the radio support.The problem seems to be that:
- CC26XX and CC13XX chips do not support SWD, only JTAG and cJTAG. This is documented in chapter 5 of the reference manual:
http://www.ti.com/lit/ug/swcu117f/swcu117f.pdf
- The boards have an integrated XDS110 debugger. This debugger supports both JTAG and SWD, but, strangely, it appears that only SWD support has been implemented in OpenOCD (please let me know if this is wrong!)
As far as I can tell, the only solution at the moment is to use an external debugger or the proprietary / bloated TI tools.