NOTICE: The Processors Wiki will End-of-Life in December of 2020. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

MSP430 Advanced Debugging using CCSv5

From Texas Instruments Wiki
Jump to: navigation, search

Introduction[edit]

MSP430 devices include an on-chip debug module called Enhanced Emulation Module (EEM) which allow advanced debug features such as hardware breakpoints, watchpoints, range breakpoints, among others. The module provides different levels of debug features based on the device being used.

This page includes a video tutorial on how to use these debug features in Code Composer Studio v5. The examples used in the video are taken from Application Note "Advanced Debugging Using the Enhanced Emulation Module (EEM) with Code Composer Studio". It is highly recommended to first review the application note to have an understanding of the debug features and capabilities of each MSP430 family.

The projects used in the demo are created using the source code from that application note. They are targeted for MSP430F169. If you are using a different device, the code would need to be modified accordingly.

The CCSv5 projects used in the demo can be downloaded here.

The video clip is available here MSP430 Debugging with CCSv5

Opening and running the examples in CCSv5[edit]

  • Extract the MSP430_Debugging_Examples.zip file to a folder
  • Start CCSv5
  • Go to menu Project->Import Existing CCS/CCE Eclipse poject
  • Browse to the folder where zip file is extracted
  • The discovered projects will be listed, Select all the projects, check “Copy projects into workspace”, Click “Finish”
  • The projects are now in your workspace
  • Select a project and click on the bug icon or Debug As->Code Composer Debug Session (this will build and load the code). Note that code is for a MSP430F169
  • You can now use the debug features shown in the video
E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article MSP430 Advanced Debugging using CCSv5 here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article MSP430 Advanced Debugging using CCSv5 here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article MSP430 Advanced Debugging using CCSv5 here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article MSP430 Advanced Debugging using CCSv5 here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article MSP430 Advanced Debugging using CCSv5 here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article MSP430 Advanced Debugging using CCSv5 here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article MSP430 Advanced Debugging using CCSv5 here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article MSP430 Advanced Debugging using CCSv5 here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article MSP430 Advanced Debugging using CCSv5 here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity