I'm using CCS5.1.1 on my own target '334 board using XDS510PP emulator and have the following issue:
1) Start debug session with symbols loaded from .out file
2) Set hardware breakpoint in code. Run code and hit breakpoint and I am able to single step through the code(F5 or F6) with no problem.
3) Change code and re-program flash.(Breakpoint is still set)
4) Now when run and hit the breakpoint, I get the following error when I try to single step:
C28xx: Trouble Setting Breakpoint with the Action "Continue or Finish Stepping" at 0x3228bf: Error 0x00000008/-2048 Error during: Break Point, Unable to set hardware watchpoint 1 at 0x003228BF. Watchpoint 1 is already in use. Some hardware breakpoints may be used by analysis.
If I view my breakpoints, the only one that's set is the same one from steps 1-3. Why am I now getting "Watchpoint 1 is already in use. Some hardware breakpoints may be used by analysis", and how do I clear this so I can single step? I don't see any option to view "Watchpoints" so I can't see if any are set.
This appears to be a problem with your programming tools leaving breakpoints/watchpoints in memory after exiting.