Watchpoints for C28x in CCS 3.3

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Introduction

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

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 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.
Hyperlink blue.png Links
ARM Microcontroller MCU ARM Processor Digital Media Processor Digital Signal Processing Microcontroller MCU Multi Core Processor
Ultra Low Power DSP 8 bit Microcontroller MCU 16 bit Microcontroller MCU 32 bit Microcontroller MCU

Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox