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.

IWR6843: Away to automate the reading of the CPU load using ROV (Runtime Object View) plugin in CCS (Code Composer Studio)

Part Number: IWR6843

Hello All,

I can use the ROV(Runtime Object View) plugin in CCS(Code Composer Studio) to calculate the CPU load manually. now I want to automate this process so my question is:

Is there an automated way to calculate the CPU load using DSS(Debug Server Scripting) or something like that?

I know that the DSS supports only the basic debugger actions but the feature that I need was added using ROV plugin. Is there a way to do that?


Thank you so much.

  • Hello Nora,

    Could you please look at our response on this forum post and let us know if that works for you?


    Best regards,
    François.

  • Hello Francois,

    Thanks a lot for your support, but actually we are currently working on creating script (based on scripting language, or Command lines) which should not modify in the C code. Our script should directly communicate with the debugger command line to get some measurements (Like CPU load measurement and stack measurement) from the already flashed binary (.bin) and symbols file (.xer4f) (Already flashed in the ECU). We already know that ROV plugin inside Code Composer Studio provides these measurements, and we already used it before, but we used only its GUI interface till now. So the main question here, is there Command Line Interface for ROV plugin providing same CPU load and stack measurements, such that we can communicate with this through Command Line Interface using a script?
    Note: After investigating some documentation, we found something called DSS (Debug Server Scripting), but unfortunately what we found that it just supports the basic commands. For example we don't know how to watch variables, and accordingly how to get the CPU load and stack measurements (Which are already supported in the GUI interface). Appreciate your feedback on this, and many thanks in advance.

    Thank you so much.

  • Hello Nora,

    Thank you for your feedback. I have reassigned this post to the CCS team. They will have the expertise to respond there.


    Best regards,
    François.

  • Hello,

    Note: After investigating some documentation, we found something called DSS (Debug Server Scripting), but unfortunately what we found that it just supports the basic commands.

    As you suspected, there are no DSS APIs to access the the ROV plugin. I suppose one thing you can investigate is to see if and where the data you need is buffered in target memory somewhere. Once those addresses are known, you can use DSS to read those memory locations. I realize that it is not an ideal solution but perhaps something to consider.

    Thanks

    ki