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.

profile an application in CC3.3 on c2808

Hi, I am trying to profile an application in CC3.3 on c2808, code on flash, Blackhawk USB 2000 Jtag, and not being very successful.

It looks like profiling using SW breakpoints works. When I try to add a function by dragging it to the range window it comes under the function->disabled and I can not move it out. Also when try to profile all functions I get the following message:

The emulator or simulator driver that you have selected has no supported activities for this profiling method. Try selecting a different profiling method using the combo box at the top of this window. You can use the custom tab to manually configure event collection and profile ranges can be selected on the ranges tab.

 I am not sure what is supported in the platform and setup I described above. Tried searching the web, but not sure (no statistical profiling, but what kind of profiling can we get?)

Thanks

Yona

  • Hi Yona,

    The CCS profiler is breakpoint based. It will try to set breakpoints at the entry and exit points for each function and branch. Hence it is not feasible to use it to profile code in flash. You will not have enough HW breakpoints to use it. You should use the profile clock to do some basic profiling in flash.

    Thanks

    ki

     

  • OK, I would like to save the profile clock (or any DSP clock) into an array in different places in code. Not using DSP BIOS.

    Any way to do this?