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.

CCSv4 Problem with Piccolo 'F28035 Debug when breakpoints are set



CCS Team,

I have a problem with CCSv4 (4.1.0.02006) and the Piccolo 'F28035 device. When we have two breakpoints set in the active project then we cannot debug it. When we select debug active project, the IDE rebuilds, apears to reload, and changes to the debug perspective, but we get the following error in the console:

C28xx: Trouble Setting Breakpoint with the Action "Finish Auto Run" at 0x3e8302: Error 0x00000008/-2046 Error during: Break Point, Unable to set hardware breakpoint at 0x003E8302. All hardware breakpoints are already in use. Some hardware breakpoints may be used by analysis.

Also, the debugger scope changes to the disconnected device in the non-project debug session (see attached screenshot). If I click and switch the scope back to the project debug session it shows that the CPU is running, but I can't halt it. Also, I don't see the expected LEDs toggling on the board so I don't think it's running. At this point I can't do anything with the project - reload or debug give the same results.

The only workaround I can find is to disable one of the breakpoints in my source code, then I can reload the project without any problem.

Has anyone seen this one? Any solutions?

-Ruben

  • Ruben,

    By default, CCS will use breakpoints for the exit point and CIO. You can disable this default behavior in the debugger options.Many this will help?

    How many HW breakpoints are on the 28035?

    ki

  • Ki,

    There are two H/W breakpoints on the device. What I found is that if I shut off the auto run to main option (John S. suggested) then the debugger can start ok, but of course you don't get a source window when it switches to the debug perspective.

    Ruben

    Ki-Soo Lee said:

    Ruben,

    By default, CCS will use breakpoints for the exit point and CIO. You can disable this default behavior in the debugger options.Many this will help?

    How many HW breakpoints are on the 28035?

    ki

  • The bug is being tracked with SDSCM00035396