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.

CCS: ROV Classic - not showing most fields

Tool/software: Code Composer Studio

Hello,

I've just started using Tools->ROV Classic, for analysis of my project.  However, I can't figure out how to get all the fields populated.  As shown, for Hwi as an example (but other elements have the same type of issues), it shows the address and name properly, but almost everything else is either missing or wrong.

Here is where I created these Hwi's, in my .cfg config file.

var hwi_4_params = new Hwi.Params();
hwi_4_params.instance.name = "hwi_mcasp";
hwi_4_params.arg = 0
Program.global.hwi_mcasp = Hwi.create( 4, "&hwi_fxn_mcasp", hwi_4_params );

var hwi_5_params = new Hwi.Params();
hwi_5_params.instance.name = "hwi_edma3_int";
hwi_5_params.arg = 0
Program.global.hwi_edma3_int1 = Hwi.create( 5, "&hwi_fxn_edma3_int1", hwi_5_params );

var hwi_6_params = new Hwi.Params();
hwi_6_params.instance.name = "hwi_timer0_12";
hwi_6_params.arg = 0
Program.global.hwi_timer0_12 = Hwi.create( 6, "&hwi_fxn_timer0_12", hwi_6_params );

var hwi_7_params = new Hwi.Params();
hwi_7_params.instance.name = "hwi_timer0_34";
hwi_7_params.arg = 0
Program.global.hwi_timer0_34 = Hwi.create( 7, "&hwi_fxn_timer0_34", hwi_7_params );

var hwi_8_params = new Hwi.Params();
hwi_8_params.instance.name = "hwi_usart";
hwi_8_params.arg = 0
Program.global.USART_Handler = Hwi.create( 8, "&hwi_fxn_usart", hwi_8_params );

var hwi_9_params = new Hwi.Params();
hwi_9_params.instance.name = "hwi_timer2_12_34";
hwi_9_params.arg = 0
Program.global.hwi_timer2_12_34 = Hwi.create( 9, "&hwi_fxn_timer2_12_34", hwi_9_params );

Is there something I need to do extra/differently, to get the information in ROV?

Robert

  • Here's another example, with some whacked out priorities, even though I've set them (I believe) correctly in the config file, like this example

    var tsk_comms_params                                  = new Task.Params();

    tsk_comms_params.priority                            = 10;

    tsk_comms_params.instance.name               = "tsk_comms";

    Program.global.tsk_comms                            = Task.create( "&tsk_fxn_comms", tsk_comms_params );

  • Hi Robert,

    Couple questions first:
    1. What device are you using?
    2. What version of TI-RTOS (SYS/BIOS) are you using?
    3. How did you load the image onto the target? I want to confirm that ROV is looking at the same image that is on the target. If it is not, results like this can happen.

    Todd
  • Also, can you look at ROV in main(). I want to make sure that this is not the result of blown stacks. fyi...0xbebebebe is the value we initialize both the system stack and the task stacks.

    Todd
  • ToddMullanix said:
    Hi Robert,

    Couple questions first:
    1. What device are you using?
    2. What version of TI-RTOS (SYS/BIOS) are you using?
    3. How did you load the image onto the target? I want to confirm that ROV is looking at the same image that is on the target. If it is not, results like this can happen.

    Todd

    Hi,

    1. C6746

    2. 6.53.02.00

    3. My loads are java scripted, using the debugSession.memory.loadProgram( t_0 ) command, where t_0 points to the .out file to load.

    Robert

  • Thanks. What does it look like in main()?
  • Here's main().  Looks reasonably complete, no?

  • Yes. Can you do "scan for errors..." in the BIOS view while in main()?
  • ToddMullanix said:
    Yes. Can you do "scan for errors..." in the BIOS view while in main()?

    All ROV views have been run and no errors were encountered. In BIOS, this includes a check of the System stack usage and all Task stacks.

  • Robert,

    Have you tried simplifying your application and verifying ROV works?

    Maybe just create a new .cfg file that  creates 1 task and verify the information for that task is displayed correctly.

    Derrick

  • This has been resolved, and in all honesty, I don't know why. Sometime after running the scan for errors, but wouldn't think that alone did it.

    Thanks all