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.

TDA4VH-Q1: Regarding RTOS Analyzer in CCS

Part Number: TDA4VH-Q1

Tool/software:

I want to evaluate the CPU load and task load of my rtos program. Is it supported for the TDA4 series. If yes, I would like to have detailed instructions on how to make the instrumented image. FYI, I am using the vision apps build system.

Thanks,
Kunal. 

  • Hi Kunal,

    Have you take a look at the ROV docs within PDK for FreeRTOS applications? There are some ROV modules for Task load and information that can be enabled in CCS.

    There are some tools and APIs within vision apps to analyze and log CPU load for various cores. Do you specifically want to visualize CPU load in CCS?

    Thanks,

    Neehar

  • The FreeRTOS view option is not showing up for me in ROV when I am following the same instructions mentioned here in the doc.

    There are some tools and APIs within vision apps to analyze and log CPU load for various cores.

    I would like to have some more info on these.


    Do you specifically want to visualize CPU load in CCS

    Not necessarily, but I do need Task load estimation as well along with CPU load 



    Thanks,
    Kunal.

  • Hi Kunal,

    When running the vision apps applications, you can press p to view statistics on the console.

    Additionally, I recommend taking a look at the 'run_app_load_test.sh' script which makes various calls and runs 'vx_app_load_test.out'. You can also take a look at the underlying library and create your own binary to view task and CPU statistics.

    vision_apps/apps/utilities/app_load_test/

    vision_apps/apps/utilities/app_heap_stats/

    Thanks,

    Neehar

  • Hi Neehar,
    Thanks for the suggestion. I examined the app_load_test and app_heap_stats which uses perf_stats. In my case I have a size limit on my image generated so I cannot include the perf_stats as of now. I think the only option in this case is through CCS. Can u suggest the corrections in the CCS ROV.

    Thank you,
    Kunal

  • Hi Kunal,

    I did not realize you are using vision apps for your application. The ROV modules have not currently been implemented for vision apps and are used for PDK based FreeRTOS applications.

    I will need to look into further options to read these statistics specifically in CCS. I will get back to you tomorrow.

    Thanks,

    Neehar

  • Hi Kunal,

    For vision apps integrated applications, we recommend using the libraries within vision apps to analyze CPU core load and task load. It is not possible to read these statistics specifically in CCS unless you are using a PDK based FreeRTOS application.

    Thanks,

    Neehar