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.

Breakpoint problem in CCS

Other Parts Discussed in Thread: TMS320F28335

Hi all,

I am using CCS 6.0.0.00190 for delfino series( TMS320F28335 ). 

I have a problem related to setting break point.

I have multiple files from which i cannot set break point in some of the files.

for example I can set break point in "file1.c" but cannot set break point in "file2.c" .Both are in the same project.

Whenever i try to set break point in "file2.c" i get a message

"C28xx: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x307005: Error 0x00000008/-1066 Error during: Break Point,  Cannot set/verify breakpoint at 0x00307005  
C28xx: Breakpoint Manager: Retrying with a AET breakpoint
C28xx: Breakpoint Manager: Error enabling this function: DCU_SEL Can not get the ID for the ANA register"

could you please suggest the solution.

Regards,

Keyur

  • Hi Keyur,

    When working with F28xx devices and code in Flash you are limited to two hardware breakpoints. CCS sets some breakpoints by default which are also included in this limit. You could see this type of error when you exceed the allowed number of breakpoints.

    You can check which breakpoints are inherently set by CCS by going to menu Run->Debug Configurations, then select the appropriate debug configuration in the left pane and go to the Target tab in the right pane. Under 'Program/Memory Load Options" see if "Halt at program termniation" and "Enable CIO function use" are both enabled? If so try disabling one or both. If you have C I/O routines like printf in your code, you will need to keep "Enable CIO function use" enabled, but the other one can be disabled.

    Regards,

    Gautam

  • Dear gautam

    i have checked status of "Halt at program termniation" and "Enable CIO function use" both are disabled.

    mean while during testing i came to know that i cannot put hardware breakpoint software breakpoints are working.

    i have moved some functions to ram memory by using

    #pragma CODE_SECTION(function1, "ramfuncs");

    inside that function software breakpoints can be put,  otherwise there is an error while i try to put breakpoint.

    Regards,

    keyur