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.

C, asm mixed project cannot profile; CCS v5 crashes

7737.fircirc_ext_6713.zipHi,

I have a small project with C and mixed asm, targeted to C6713. It can be debugged. But, it has the problem on coverage profiling. It will quit after I press "Run" button when coverage profiling is enabled.

The other condition that it quites is: When coverage profiling is enabled, I press red "Terminate" button, all CCS v5 will quit.

Both has good repeativity.

Zipped project is attached. Thanks.

  • Hi Robert,

    thank you for the test case. What is the exact CCS version you are using (5.2.1.00018?)? I am assuming you are using a C6713 device simulator, LE. Correct?

    Thanks

    ki

  • What you mention is right on my computer, (5.2.1.00018?)? C6713 device simulator, LE. Runtime support library: rts6200.lib

    Have a great holiday.

  • Thanks. I was able to load and run your program and get some coverage data. I'm not sure what the cause of your crash is. You can try using some of the troubleshooting tips in the below wiki:

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv5

    Using a new workspace and deleting cached data has helped in the past.

    If nothing helps, please attach the various logs mentioned at the end of the article. The crash dump file and debug server log would be most useful.

    Thanks

    ki

  • I find that when I profile only L1D or L1P, it will not crash. It crashes when I turn on two categaries check boxes. With the switching between two projects, I notice that the profile configuration is the same. Thus, profiling is not saved with the project, right? Maybe for this reason, you did not experience the crash with your appropriate profiling configurations. Anyway, I find a way to make it work. Thanks.

  • After one profiling finishes, how can I do a second time profiling? This may be with some new profiling configuration changes or code changes and rebuild.

    One can of course to terminate the Debug and launch again. Because I do not find the relaunch button in CCS, I would like to know another simple way to do a second time profiling.

    Thanks.

  • Robert W said:
    I find that when I profile only L1D or L1P, it will not crash. It crashes when I turn on two categaries check boxes.

    That is the trick. Enabling multiple L1P and L1D events at the same time will crash CCS. I was able to reproduce. Thanks for the additional information. I have file a bug for this. The tracking number is: SDSCM00045253

  • Robert W said:
    After one profiling finishes, how can I do a second time profiling? This may be with some new profiling configuration changes or code changes and rebuild.

    You can just reload or restart the application. This will reset the profiler.

    thanks

    ki