This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HW break, CCSv5.1, Piccolo 28F069

I'm able to set only one HW break. If one is set, I can't use "step over" or "run to". 

The checkboxes  "Halt at program termination" and "Enable CIO function use" are both  not checked (Debug configuration -> target). Are there other debugger configuration settings that must be considered?

Thanks,

Walter 

  • Walter,

    Those two are the settings that need to be unchecked for freeing up the breakpoints. Are you able to step into or assembly step into? Can you confirm from the breakpoints view (View->Breakpoints) that only one breakpoint has been set.

  • Yes, I can step into and yes, there is only one breakpoint set.

  • Are you halted at a branch instruction when you try to step over? In some cases, to perform a step over the emulator may need to set 2 hardware breakpoints. Like in the case of a conditional branch (there may be some other cases as well), breakpoints would need to be set at both potential target instructions. In this case, if there is already one hardware BP set then the step over will not work. If this is not what is happening in your case, and if it a step over consistently does not work in different parts of your code, then could you send us a simple reproducible test case?