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.

Help needed on F2812

Hi there,

I am new TI dsp user, currently using the eZdsp F2812 board for development.  When I follow the tutorial and proceeded to download the .out file to the component, and select the "Go Main," the following error message apperared,

Can't Set Breakpoint at 0x3e8009: Error 0x00000008/-2047 Error during: Break Point,  Unable to set hardware breakpoint at 0x003E8009. All hardware breakpoints are already in use. Some hardware breakpoints may be used by analysis.   Sequence ID: 7 Error Code: -2047 Error Class: 0x00000008

Please help find how to fix this problem. Thanks

  • If you're debugging code that resides in Flash then Code Composer Studio uses hardware breakpoints - a few! registers. To stop your program at main() CCS has to use one. The breakpoint registers are set by default by CCS unless you tick in options "Do not set CIO breakpoint", "Do not set breakpoint on program exit" or so. Also, any manually added breakpoint consumes this scarce resource.


  • Shawn,

    It appears you are loading code into Flash using the Onchip FLash programmer in CCS. When debugging from internal flash memory hardware breakpoints must be used. The 28x devices have only 2 hardware breakpoints. By default, Code Composer Studio automatically sets two breakpoints for end of program and C I/O preventing you from having any breakpoints for debugging. These breakpoints can be disabled by navigating to CCS menu Option -> Customize -> Program/Project/CIO and enabling the two checkboxes titled Do Not Set End of Program Breakpoint At Load and Do Not Set CIO Breakpoint At Load. Close and restart CCS and now you should have access to the 2 breakpoints.

  • Thanks, Bart and Aarti. Problem solved!

  • Hi,

    I having the same problem as you have before this.Error shown below occur.

    Messages:
    Can't Set Breakpoint at 0x3d87cd: Error 0x00000008/-2047 Error during: Break Point,  Unable to set hardware breakpoint at 0x003D87CD. All hardware breakpoints are already in use. Some hardware breakpoints may be used by analysis.   Sequence ID: 7 Error Code: -2047 Error Class: 0x00000008

    StdoutT:
    Invalid CIO command (142).  Can't read memory at address (0x8dc0), please check the memory map.

     

    Location at 0x3d87cd is for main.obj (.text).

    I try use the solution as suggested by by enabling the two checkboxes titled Do Not Set End of Program Breakpoint At Load and Do Not Set CIO Breakpoint At Load.This solution successfully remove those errors BUT i could not obtain the results than i should get.

    My program will execute the program, then save the results in certain memory location eg. 0x00108000, but i could not obtain the correct results in saved location.

    Please help. Any solutions for this problem?

    Thanks.

     

    Regards,

    Lin