NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. 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.

Watchpoints for C28x in CCS 3.3

From Texas Instruments Wiki
Jump to: navigation, search

Introduction[edit]

This page shows an example of how to setup Hardware watchpoints in CCS 3.3 for the C28x CPU. This feature is available through the C28x Emulator Analysis (CCS menu Tools->C28x Emulator Analysis)

Configure a Data Watch Point[edit]

Step 1: Make sure you have configured CCS 3.3 for a C28x target and have connected to the target.

Step 2: Open the menu item: Tools->C28x Emulator Analysis

Step 3: Right-click on the emulator analysis window and select AU1 Setup

Wp1ccs3.JPG


Step 4: In the Bus Address Monitor tab, enter the bus address, like &GpioDataRegs (if GpioDataRegs is the variable to watch) and select "Data memory writes" or "Data memory reads" depending on whether read or write access is monitored

Wp2ccs3.JPG


Step 5: Make sure that in the "Action" tab, the action "Break" is selected to halt the processor

Wp3ccs3.JPG


Step 6: Click OK. Now when you run your program you should halt every time address of GpioDataRegs is written to or read from.



More information on the C28x Emulator Analysis can be found in CCS Help, under topic Debugging Windows and Analysis Tools->Analysis Tools(Generic).

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 Watchpoints for C28x in CCS 3.3 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 Watchpoints for C28x in CCS 3.3 here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article Watchpoints for C28x in CCS 3.3 here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article Watchpoints for C28x in CCS 3.3 here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article Watchpoints for C28x in CCS 3.3 here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Watchpoints for C28x in CCS 3.3 here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Watchpoints for C28x in CCS 3.3 here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article Watchpoints for C28x in CCS 3.3 here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article Watchpoints for C28x in CCS 3.3 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