TI Embedded Debug for VS CodeTI Embedded Debug for VS Code leverages open-source tools like OpenOCD and GDB to provide a comprehensive debugging experience across multiple TI device families, including popular platforms such as MSPM0 Microcontrollers and SimpleLink™ Wireless Connectivity Devices. With TI Embedded Debug for VS Code, you can:
This extension's open-source foundation ensures that you can customize and extend your debugging experience as needed. Supported DevicesThe following TI device series are supported by this extension:
SimpleLink™ Wireless Connectivity Devices:
InstallationTo set up most of what you need to start using this extension, simply click the "Install Dependencies" button in the TI Embedded Debug for VS Code sidebar view. You will be automatically prompted to install/update this extension's dependencies upon its activation. If you want this extension to automatically keep its dependencies up-to-date, modify the If you don't already have libusb (many systems do), follow installation instructions at libusb.info. On Linux systems, you will need to run a script to install udev rules specific to TI devices. This script automatically gets downloaded as part of the dependency installation, but needs to be run manually due to requiring sudo priviledges:
Creating a Launch ConfigurationOnce all dependencies have been installed, add a launch configuration to debug with OpenOCD. You can do this by clicking
Note the use of relative paths outside of the Inclusion of the Known IssuesCC13xx/CC26xxWhen debugging a CC13xx/CC26xx device, if you fail to start a debugging session, try adding the following property to your launch configuration:
C Preprocessor DirectivesVS Code may complain about specific usages of the Current-Line HighlightThe highlight corresponding to the currently-executed line may be off by one in certain instances. deviceName PropertyThis launch.json property will show up as "not allowed", despite being usable by Cortex-Debug and its support packs. |