Open jobroe opened 6 years ago
Hey, not sure if you're still interested but TI have an OpenOCD fork for SimpleLink: http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/simplelink-openocd/latest/index_FDS.html
As far as I can tell they haven't managed to upstream their changes yet.
It is in upstream now and TI also recommends to use the upstream version.
https://github.com/ntfreak/openocd/blob/master/tcl/target/ti_cc13x0.cfg https://github.com/ntfreak/openocd/blob/master/tcl/target/ti_cc13x2.cfg https://github.com/ntfreak/openocd/blob/master/tcl/interface/xds110.cfg
I am successfully using it together with VS Code and Cortex Debug extension.
VS Code launch config:
{
"version": "0.2.0",
"configurations": [
{
"cwd": "${workspaceRoot}",
"executable": "/home/user/workspace_v10/EasyLinkRx/Debug/EasyLinkRx.out",
"name": "Debug Microcontroller",
"request": "launch",
"runToMain": true,
"device": "CC1310F128",
"type": "cortex-debug",
"servertype": "openocd",
"configFiles": [
"interface/xds110.cfg",
"board/ti_cc13x0_launchpad.cfg"
]
}
}
Make sure you have also installed the addtional Cortex Debug extension which adds the SVD files to enable register vieweing of the peripherls.
Because of this issue I recommend to use the zephyr fork of openocd for now: https://github.com/zephyrproject-rtos/openocd/pull/28
I tried to use OpenOCD with TI's LAUNCHXL-CC1310 board which has a XDS110 debugger on board. After searching, reading and trying a lot, I came finally to the conclusion that there is no flash driver support at the moment.
Some results of my analysis:
TI Employee mentioned to work on support for XDS110, see here.
This guy tried a lot as well, see here.
There is a Pull-request which adds flash support, but it wasn't merged. I tried it but it doesn't work for me. See here