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.

C6424 profiling

Other Parts Discussed in Thread: SYSBIOS

I have a spectrum digtal XDS560V2 STM. Currently connected with 14-pin connector ( can ask my hardware guy to hook up 60-pin connector if needed ). Is there anyway to do either statistical or instrumented profiling of the whole application code through emulator ( NOT simulator ) ?

  • Farhad,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages. Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics.

    You posted this question to the hardware forum. It would be nice if all questions about the DSP you are using would belong in one place, but the Code Composer experts are watching the Code Composer Forum more closely than they watch the C64x Single Core Forum. We will get this thread moved there for the best answers.

    I think the best answer will be using SYS/BIOS and its built-in instrumentation to get profile information. That would actually mean this thread would get better answers in the BIOS Forum.

    But there are also CCSv5 Profiling features that might work for you. So we can start in the Code Composer Forum.

    In any case, it would help to know which version of CCS you are using, whether you are using SYS/BIOS and which version, and especially which DSP you are using.

    Regards,
    RandyP

  • I am using SYSBIOS 6.

    I am using C6424 DSP and Spectrum Digital XDS560v2 STM Emulator over 14pin JTAG.

    I am currently using CCS4 but do not have a problem moving to CCS5.

    I can instrument the code for profiling. But how can I get the profiling information over JTAG to PC for further analysis. I do not have any interest in simulation. I need to profile the code under actual hardware.

  • Farhad,

    We introduced the System Analyzer in CCS5.1 which supports function profiling based on instrumentation. You can find Tutorials, Getting Started, User Guide, etc. on System Analyzer here: http://processors.wiki.ti.com/index.php?title=Multicore_System_Analyzer.

    Also see FAQ: "How to Profile functions using entry and exit hook function" on wiki page for info on how to user compiler hooks to instrument your code.

    Regards,

    Imtaz.

  • Hi Fahad,

    you should be able to do this as you seem to have the XDS560 with trace.  I would definitely recommend the migration to v5.

    Have a look at these wikis and let us know if you find all you need.  You should be sure to install the Multicore System Analyser

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

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

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

    http://processors.wiki.ti.com/index.php/Category:Code_Composer_Studio_v5

    Best Regards,
    Lisa