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/TMS320C6678: RTOS Object View (ROV) hangs up forever

Part Number: TMS320C6678
Other Parts Discussed in Thread: CCSTUDIO, SYSBIOS

Tool/software: Code Composer Studio

Hi

When I start ROV (Tools->RTOS Object View (ROV)) in CCS 6.2.0.00050, a ROV window pops up with a progress status bar showing "Creating XDC Shell". The status of "Creating XDC Shell" stops at 10% and hangs there forever. Any kind of help is appreciated.

Thanks!

Wai Kwok

  • Wai,

    I have not see that before. I did some searches on the error message and was not able to find other references to it.

    The ROV tool does use the XDCTools to understand the OS structures.

    Has the tool worked in the past for you or is it the first time you are trying it?

    We do have a completely new implementation of ROV available in our current versions of CCS (v7.2). Are you tied to CCSv6.2 or is a move to 7.2 possible?

    Regards,
    John
  • Hi John

    That is the first time I try ROV. My CCS is 6.2.0.

    Thanks!

    Wai Kwko

  • I have been trying out ROV in CCSv6.2 and it is working ok for me. Can you check the XDCTools version that the project is using? If you go to project properties and then go to General and select the RTSC tab on the right it should show the version.

    Is there any chance of giving CCSv7.2 a try?
  • Hi John

    The XDCTools version is 3.32.1.2_core. Is there any way to see the log where ROV gets stuck. I know ROV will extract some info from the DSP executable file (.out). It is possible it get stuck there.

    Thanks!

    Wai Kwok

  • 3.32 should be fine. I was worried that 3.50 was being used as I am not sure that it will work with the older ROV. I will check on what logging is available.

    John
  • Here are the steps for enabling logging.
    in ccsv6/eclipse there is a ccstudio.ini file
    please add -Dxdc.rov.traceEnable=true to this file
    Then start CCS from a command window
    Go to ccsv6/eclipse
    run ccstudio.exe -console
    Then try to use ROV
    Once you get the error in CCS please copy the output from the console and attach it to this thread.

    Thanks,
    John
  • Following is what I get from the console. ROV hangs up at "Loading ROV recap file ..." stage.

    osgi> dvtLogOptions.xml DOES NOT exists

    log4j:WARN No appenders could be found for logger (org.eclipse.jetty.util.log).
    log4j:WARN Please initialize the log4j system properly.
    Loaded FPGA Image: C:\ti\ccsv6\ccs_base\common\uscif\dtc_top.jbc
    [Controller] +++ (0ms) 0ms: Beginning of ROVController constructor.
    [Controller] XDCROOT = C:/ti/xdctools_3_32_01_22_core
    [Controller] XDCPATH = C:/ti/ipc_3_44_01_01/packages;C:/ti/bios_6_46_04_53/packages;C:/ti/xdais_7_24_00_04/packages;C:/ti/xdais_7_24_00_04/examples;/RTSC_Platform;C:/ti/uia_2_00_06_52/packages;/packages;/packages;
    [Controller] +++ (0ms) 0ms: End of ROVController constructor.
    [Controller] +++ (0ms) 0ms: Beginning of ROVController.initialize
    [Controller] ===== Initialize has been called ========
    [Controller] Filename = C:\git\phoenix_develop\DevProjects\Output\dsp_app.out
    [MemoryReader] Number of sections: 74
    [MemoryReader] #0 ti.sdo.ipc.SharedRegion_0: 0xc000000 length: 65536
    [MemoryReader] #1 ti.sdo.ipc.SharedRegion_1: 0x81000000 length: 1159725056
    [MemoryReader] #2 ti.sdo.ipc.SharedRegion_3: 0xc010000 length: 3604480
    [MemoryReader] Excluding: #3 .ti.decompress: 0x0 length: 0
    [MemoryReader] #4 .init_array: 0x0 length: 0
    [MemoryReader] #5 .bss: 0x818174 length: 4
    [MemoryReader] #6 .neardata: 0x818178 length: 8
    [MemoryReader] #7 .rodata: 0x818180 length: 28
    [MemoryReader] Excluding: #8 .args: 0x800000 length: 0
    [MemoryReader] Excluding: #9 .ti.handler_table: 0x0 length: 0
    [MemoryReader] Excluding: #10 .c6xabi.exidx: 0x0 length: 0
    [MemoryReader] Excluding: #11 .c6xabi.extab: 0x0 length: 0
    [MemoryReader] Excluding: #12 .qmss: 0x0 length: 0
    [MemoryReader] Excluding: #13 .cppi: 0x0 length: 0
    [MemoryReader] Excluding: #14 .desc: 0x0 length: 0
    [MemoryReader] Excluding: #15 platform_lib: 0x0 length: 0
    [MemoryReader] Excluding: #16 .sysbios: 0xc6869e80 length: 3072
    [MemoryReader] Excluding: #17 xdc.meta: 0x800000 length: 264
    [MemoryReader] Excluding: #18 .sect_SL2: 0xc3ec6a0 length: 2176
    [MemoryReader] #19 .cinit: 0xc686b800 length: 8960
    [MemoryReader] #20 .const: 0xc6860460 length: 35828
    [MemoryReader] Excluding: #21 .sect_DDR2: 0xc6853c40 length: 51232
    [MemoryReader] Excluding: #22 .sect_DDR2_code: 0xc680dba0 length: 286880
    [MemoryReader] Excluding: #23 .sect_doppler_output: 0x0 length: 0
    [MemoryReader] #24 .far: 0x800000 length: 65588
    [MemoryReader] #25 .cio: 0x810038 length: 288
    [MemoryReader] #26 .sysmem: 0x810158 length: 0
    [MemoryReader] #27 .bss: 0x810158 length: 0
    [MemoryReader] #28 .pinit: 0x810158 length: 0
    [MemoryReader] #29 .switch: 0x810158 length: 936
    [MemoryReader] #30 .data: 0x810500 length: 48
    [MemoryReader] #31 .stack: 0x810530 length: 4096
    [MemoryReader] #32 .sect_LL2: 0x811530 length: 1460
    [MemoryReader] #33 .sect_doppler_data_LL2: 0x811ae8 length: 60
    [MemoryReader] #34 .sect_host_interface_struct: 0x80000000 length: 7864
    [MemoryReader] #35 .sect_params: 0x80001eb8 length: 104716
    [MemoryReader] #36 .sect_params_misc: 0x8001b7c8 length: 2
    [MemoryReader] #37 .sect_error: 0x8001b7d0 length: 840
    [MemoryReader] #38 .sect_noncached_DDR2: 0x8001bb80 length: 1200824
    [MemoryReader] #39 .sect_diagnostics: 0x80140e38 length: 0
    [MemoryReader] #40 .sect_dup_vers_struct: 0x80140e38 length: 32
    [MemoryReader] #41 .sect_ibl_version: 0x80fffe00 length: 32
    [MemoryReader] #42 .sect_top_of_DDR_vars: 0x80fffe20 length: 4
    [MemoryReader] Excluding: #43 boot: 0xc686b400 length: 1024
    [MemoryReader] Excluding: #44 .boot_entry: 0x0 length: 0
    [MemoryReader] #45 .far: 0x0 length: 0
    [MemoryReader] #46 .sect_Core0_LL2: 0x811b30 length: 18816
    [MemoryReader] #47 .sect_RSC_LL2: 0x811b30 length: 0
    [MemoryReader] #48 .sect_Doppler_LL2: 0x811b30 length: 6812
    [MemoryReader] Excluding: #49 .debug_info: 0x0 length: 5420092
    [MemoryReader] Excluding: #50 .debug_aranges: 0x0 length: 35192
    [MemoryReader] Excluding: #51 .debug_pubnames: 0x0 length: 126301
    [MemoryReader] Excluding: #52 .debug_line: 0x0 length: 526017
    [MemoryReader] Excluding: #53 .debug_frame: 0x0 length: 223148
    [MemoryReader] Excluding: #54 .debug_abbrev: 0x0 length: 404249
    [MemoryReader] Excluding: #55 .debug_pubtypes: 0x0 length: 1954554
    [MemoryReader] Excluding: #56 .debug_str: 0x0 length: 3169141
    [MemoryReader] #57 .fardata.1: 0x811b28 length: 8
    [MemoryReader] #58 .fardata.2: 0x8164b0 length: 7364
    [MemoryReader] #59 .heapll2: 0x819f00 length: 286976
    [MemoryReader] #60 .text: 0xc380000 length: 439360
    [MemoryReader] Excluding: #61 .vecs: 0xc3ed000 length: 512
    [MemoryReader] #62 .sect_SL2_EDMA.1: 0xc3eb480 length: 4560
    [MemoryReader] #63 .sect_SL2_EDMA.2: 0xc3ec680 length: 32
    [MemoryReader] #64 .sect_colorflow_ddr: 0xc6869080 length: 3584
    [MemoryReader] #65 .sect_doppler_data.1: 0xc686ac00 length: 586
    [MemoryReader] #66 .sect_doppler_data.2: 0xc686b000 length: 32
    [MemoryReader] #67 .sect_cine_data: 0xc9400000 length: 918552576
    [MemoryReader] #68 .sect_mem_ext: 0xc6200000 length: 6347668
    [MemoryReader] Excluding: #69 .c6xabi.attributes: 0x0 length: 59
    [MemoryReader] Excluding: #70 .symtab: 0x0 length: 702240
    [MemoryReader] Excluding: #71 .TI.section.flags: 0x0 length: 71
    [MemoryReader] Excluding: #72 .strtab: 0x0 length: 791692
    [MemoryReader] Excluding: #73 .shstrtab: 0x0 length: 959
    [Controller] +++ (62ms) 62ms: ROVController.initialize creating new ROVServerReader instance.
    [Controller] CPU = 102
    [Controller] +++ (62ms) 0ms: Creating new xdc.tools.Server.
    [Controller] ROVServerReader XDCPATH = C:/ti/ipc_3_44_01_01/packages;C:/ti/bios_6_46_04_53/packages;C:/ti/xdais_7_24_00_04/packages;C:/ti/xdais_7_24_00_04/examples;/RTSC_Platform;C:/ti/uia_2_00_06_52/packages;/packages;/packages;
    [Controller] ROVServerReader XDCROOT = C:/ti/xdctools_3_32_01_22_core
    [Controller] +++ (62ms) 0ms: Calling xdc.tools.Server start.
    [Controller] +++ (78ms) 16ms: ROVController.initialize calling start on ROVServerReader thread.
    [Controller] Server Reader started.
    [Controller] Waiting for response from server...
    [Controller] ROVController - Adding controller listener
    [Controller] ROVController - Inside getParentNodes...
    [Controller] Placing new module list request
    [Controller] ===== Setting percentage to 10% =======
    [Controller] ROVController - Inside getParentNodes...
    [Controller] ROVController - Updating startup exception.
    [Server ] +++ (1497983550009ms) Beginning of xdc.rov.server Main.xs run.
    [Server ] Version = 3.4
    [Server ] Executable = C:/git/phoenix_develop/DevProjects/Output/dsp_app.out
    [Server ] Controller = 0
    [Server ] serverVers = 4
    [Server ] Creating ISymbolReader Instance
    [Server ] Creating ICallStack Instance
    [Server ] Creating ICallBack Instance
    [Controller] Firing LHS Refresh
    [Controller] ROVController - Received refresh command.
    [Server ] Retrieving Recap File
    [Controller] ROVController.refresh: Firing CPU_RUNNING.
    [Controller] ------ Received event: CPU_RUNNING
    [Controller] Server not yet initialized...
    [Controller] ROVController.refresh: Firing CPU_HALTED.
    [Controller] ------ Received event: CPU_HALTED
    [Controller] Server not yet initialized...
    [SymbolTable] Symbol: BIOS_start Address: -1
    [Server ] Failed to find symbol: 'BIOS_start'!
    [Controller] ROVController - Inside getParentNodes...
    [Controller] ROVController - Updating startup exception.
    [Server ] Found RTSC recap file: C:/git/phoenix_develop/PhoenixPlatformCfg/Default/configPkg/package/cfg/Phx_C6678_configuration_pe66.rov.xs
    [Server ] Creating MemoryReader Instance
    [Server ] Starting ROV Model

  • Wai,
    can you use instructions from this link - rtsc.eclipse.org/.../Runtime_Object_Viewer to create an empty rov.json file? Does that change the output or makes ROV work?
  • Hi Sasha

    It works! The problem with my ROV load is the executable size being too large. Thanks very much for the help from John and Sasha.

    Wai Kwok
  • The solution I proposed is a workaround that removes some functionality from ROV. If you use any Task_construct() or Swi_construct() or any other construct calls, you won't be able to see these objects. There is a longer explanation about it in the link I posted.

    Is there any way you can post your object file or send it to me, so I can use it as a test case for ROV?
  • Hi Sasha

    I understand the drawback of using an empty .rov.json file. But according to the link, I should be able to make constructed objects visible by declaring them in the .rov.json file. I have to check with my company if it is ok to send the object file to you. What is your email address?

    Thanks!

    Wai Kwok
  • The easiest way to send me a file is to hover over my name on the forum and then click on Request Friendship. After that, you'll be able to send me a file privately.