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/66AK2H12: Viewable Modules not available under CCS7.2 ROV Classic

Part Number: 66AK2H12
Other Parts Discussed in Thread: SYSBIOS,

Tool/software: Code Composer Studio

I'm trying to understand how to use the ROV classic. (Not sure of this should be posted here or under CCS....)

When I pause my application and view ROV Classic, most of the entries on under Viewable Modules are shown in Red and only a few in Green. Examples of Green are Sysmin where I can see my System_printf() buffer. But others such as Clock, Mailbox, Ndk, Task, etc are in Red. If I try to view one, e.g., BIOS, I get "Failed to load module" on the right tab and under something like "Received exception from ROV server: ROV failed to load the module ti.sysbios.BIOS, most likely because it, or a module it depends on, was not found along the package path." In each case I've checked, my cfg has the xdc.useModule() for the module declared as missing. It further says that the PACKAGE_NOT_FOUND: can't locate the package 'ti.sysbios'" for example.

To correct it instructs that I ensure all required products and repositories are checked.Maybe I'm missing a dependent module I don't know I need?

I have the following in Green: Diags, LoggerBuf, Registry, Startup, SysMin and System. All the rest are Red. 

SO my question is how to properly setup so that I can use the ROV? Right now I'm trying to view my various stack sizes by looking under Task.

If I understand correctly, CCS7.2 new ROV has probelms? If I try to connect with it my CCS either times out or locks up CCS (running on Win10).

  • Hi Mike,

    I've forwarded this to the CCS experts. Their feedback should be posted here.

    BR
    Tsvetolin Shulev
  • Mike,
    when you click on System, you should be able to see XDCROOT and XDCPATH, and these are the products and directories that are searched for packages. Usually, XDCPATH and XDCROOT used for ROV are the same ones used when building your project. Are you building your app on the same computer where you are building the app? Can you post the content of XDCROOT and XDCPATH tabs?
    Can you also post the content of your console window when you clean and rebuild the app?

    As for ROV2, I am not aware of these problems with connections. What are the error messages you see, if any?
  • Thank you for the reply.

    I gave my project to a co-worker and under his CCS (same version 7.2) all the items under the ROV are green, expandable and very useful. So it must be something in the environment or installation verses the project itself?

    To your questions:
    Under System I have for
    tab XDCROOT: “C:ti/xdctools_3_50_02_20_core”
    tab XDCPATH two entries: C:/ti/xdctools_3_32_02_25_core and C:/ti/xdctools_3_50_02_20_core/packages

    My build project uses 3.32.2.25_core.

    The above might indicate my problem? Seems like a mismatch somewhere?

    I can post the build output if needed but it is a lot. Advise if you need it.

    ROV2 – no error. It just times out when I click CONNECT (message: Target is not responding and ma need to be reset). Someone else her on the forums said it wasn’t supported under CCS7.2 which seemed strange to me. I’ll ask my co-worked if it is working for him. Perhaps it is related to the primary issue I am having displaying the other objects available via ROV classic.
  • There should never be two version of XDCtools in XDCPATH, and you are also a path to your SYS/BIOS or TI-RTOS installation. The first place to look would be your project properties, in Project->Properties->CCS General->Products. Which products do you have there and which of them are selected? Can you experimenting by selecting and deselecting some of the products and see how it affects the tabs XDCPATH and XDCROOT?
  • Sasha thanks for your continue effort o help.

    I have many items listed in the "Products and Repositories" . Is there a way to capture textual list of the option so that I can post them all? I have multiple version of some things:

    CTools Library (2.2.0.00, 1.1.1.0, 1.1.1.0 but nothing selected),
    IPC (3.46.0.02 (selected), 3.36.2.13),
    OpenMP Runtime 2.x libraary (2.6.1.00, 2.1.17.01 nothing selected),
    SYS/BIOS (6.50.1.12, 6.46.5.55 (selected), 6.41.4.54)
    System Analyzer (2.0.6.52 (selected). 2.0.3.43)

    I also have Other Repositories selected with one subitem listed and selected: ${TARGET_CONTENT_BASE} [C:/ti/ccsv7/ccs_base]

    I have four selections for the "XDCtools versions" drop down: 3.50.2.20, 3.32.2.25 (selected), 3.32.1.22 and 3.31.2.38.

    Should I try to remove older versions of products and if so, how?

    mike
  • I don't think you need to delete anything. Usually, whatever is selected in Products and Repositories is exactly what you would see in the XDCPATH tab in ROV, when debugging an app from that project. Is your project anyhow connected with another project through any reference?

    I'll probably have to ask for help from someone from the CCS team. I think you should move this thread to the Code Composer forum, if you can, and I'll keep responding there.
  • I don't think it is connected to another project. I'm very new to this. I copied an existing example as a starting point including all the files.

    I'm sorry but don't know how to move this discussion to the CCS thread.
  • I think the cleanest way to recover is to create a new SYS/BIOS example using XDCtools, SYS/BIOS, the target and the platform, and then copy only your source files and the CFG script. How are you creating new projects? Are you using the Resource Explorer?
  • Sasha,

    My project was created from the PDK example: NIMU_emacExample_EVMK2H_armBiosExampleProject
    I just created a new project, using Resource Explorer classic. The project is : hello_66AK2H12_CortexA
    I did't modified any of the Product slections, just selected my Platform.
    I built it, loaded it and looked at the ROV. Same objects are green and red.

    And recall - I gave a zip of my project to a co-worked. He built it w/o modifying anything and under his ROV Classic, all objects are available. So again, to me it seems to point to something in my CCS setup or installed packages.

    thank you for helping me through this.

    Mike
  • Given that I created a new project ( hello_66AK2H12_CortexA) and have:

    XDCtools version set to 3.50.2.20_core and the only Products selected are SYS/BIOS 6.50.1.12 and Other Repositiories->${TARGET_CONTENT_BASE}

    What should my ROV classic XDCPATH and XDCROOT entries be? I still have as before:
    Under System I have for
    tab XDCROOT: “C:ti/xdctools_3_50_02_20_core”
    tab XDCPATH two entries: C:/ti/xdctools_3_32_02_25_core and C:/ti/xdctools_3_50_02_20_core/packages

    Where are these set? They do not seem to be project based since they appear to be the same for both projects.
  • OK I finally got it. This link contained the answer : processors.wiki.ti.com/.../XDC_Paths_And_ROV

    Link is for older CCS. I'm on 7.2, but enough of a hint. "Stuff" (XDC Paths, Products, ...) needed to be setup for ROV to work. This is for CCS and not the project. Set under CCS menu Window->Preference->CCS->Products->RTSC. I made selections that matched my project.

    I don't know if these are suppose to be setup on install to some defaults because I don't know how my co-worker's CCS worked. I don't think he made this changes.
  • It's good to hear that you solved it and thanks for the debugging hint. I'll try to replicate it on my computer.

  • I really appreciate your assistance in pointing me in the right direction!