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.

Configuring System Analyzer for CCS 5.2, DSP/BIOS, DM642?

I am trying to configure UIA (1.01) to support System Analyzer in CCS 5.2 targeting a DM642 running DSP/BIOS (5.41.13.42) over JTAG (No network is available on the target, yet), with no success.

The tutorials and User's guide seem targeted towards SYS/BIOS and *.cfg files and do not (as far as I can find) mention DSP/BIOS or *.tcf files much.

I seem to be stuck trying to get my project to generate *.uia.xml and *.rta.xml files (the uia configuration asks for and tries to find these files, but I can't figure out how to get my project to generate them).

I have configured RTA enough to see live CPU load, but I really need Task Load and Execution graphs to diagnose my performance issues.

Can you help me get my project to create *.uia.xml and *.rta.xml files when I build it?

Thanks,

Harry

  • Hi Harry,

    UIA is only available on SYS/BIOS. Take a look at the stairstep example in BIOS 5.x and use the RTA tools in CCS.

    Todd

  • Todd,

        Thanks for your quick reply. Is there a way to graph or measure Task Execution Sequence or per Task CPU Loading using only RTA?  I can only get total CPU load from RTA, but I need to see which Tasks are blocking other tasks to figure out my problem.

       I thought System Analyzer was the way to go, but since I can't use UIA it won't work will it?

       It there another approach I could use to get the information I need?

    Thanks,

    Harry

     

  • Hi Harry,

    You can measure Task execution times in the RTA Execution Graph. There is also a Task Load view in RTA. Take a look at the Stairstep example in SYS/BIOS. It has the necessary configuration to enable these items.

    Todd

  • RTA Execution Graph and Task Load view are grayed out and unavailable.  Which is why I stated “I can only get total CPU load from RTA…”.  As I am using DSP/BIOS, I am unsure the SYS/BIOS example would be helpful or even work.

    The whole point of my follow up was that I am using DSP/BIOS not SYS/BIOS and how can I get per thread execution information (and upgrading to SYS/BIOS is not an option).  I apologize if that was unclear in my last follow-up.

    I have already tracked down my issue by creating a task switch HOOK function and logging the data.

    The last post was not an acceptable answer to my problem.

  • Harry,

    Have you looked at THRLOAD, described here?: http://processors.wiki.ti.com/index.php/Getting_CPU_Load_on_a_per_task_basis

    Scott