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.

CCSv4: RTAFactoryException while creating RTA menu

Hi

I get this error when I try to start RTA. I'm pretty sure it has to do with the fact that I am building on my office PC and trying to use the lab PC to load the DSP in our system.

Below are more details on the error.

Error
Tue Dec 14 15:20:51 PST 2010
RTAFactoryException while creating RTA menu

com.ti.dvt.rta.interfaces.IRTAFactory$RTAFactoryException: java.lang.Exception: Cannot find the required file M2_EVM6472_p64P.rta.xml. The original path to the file does not exist:
    D:/vws/ejp_M2_becInteg/spDsp/EVM/M2_EVM6472_configuration/Default/configPkg/package/cfg/M2_EVM6472_p64P.rta.xml

If the file is missing, please rebuild the associated RTSC configuration.

I checked, and yes the file is present.....on my office PC. But as the error continues below, it isn't looking on my office PC for the config file

Otherwise, if the path is no longer valid, please move the file to:
    P:\spDsp\EVM\M2_EVM6472\Debug\M2_EVM6472_p64P.rta.xml

I've shared my office PC directory D:\vws with the network and mounted this shared drive to the lab PC's P: drive. Then I imported the project into my lab PC workspace (but did not click "copy project").

I'd like to continue using my office PC for builds since it mega fast compared to the lab PC. But unfortunately, I can't move the lab system to my desk.

Is there a way to make the RTSC configuration portable? (i.e. for it to use a relative address instead of an absolute)

Cheers

 

  • In XDCtools 3.20.05.76 and later, you can setup path mapping using the 'Common Source Lookup Path' dialog in Window -> Preferences in CCS, and ROV and RTA will use the information in this dialog to locate the necessary files.

    See the screenshot below (you would use this to map D:\vws to P:\)

     

    If you don't have that version of XDC and can't upgrade, you'll have to copy the .rta.xml file (for RTA) and the .rov.xs file (for ROV) from their original locations and paste them next to the .out file, as the error message suggests. If RTA can't find the .rta.xml file at the original path, it will try looking in the same directory as the .out file.

    So, in your case, you would need to copy:

    D:/vws/ejp_M2_becInteg/spDsp/EVM/M2_EVM6472_configuration/Default/configPkg/package/cfg/M2_EVM6472_p64P.rta.xml

    to:

     P:\spDsp\EVM\M2_EVM6472\Debug\M2_EVM6472_p64P.rta.xml

    These meta data files are generated as part of your application's configuration, so you only need to copy them again if your configuration changes.

    Thanks,

    Chris

  • I've also posted this information to the wiki, here.

    Thanks,

    Chris

  • Wow, what an adventure that was. I upgraded to XDC 3.20.06.81, then I got a bunch of compatibility errors with BIOS 6. So I updated that and then it complained about IPC compatibility. I updated IPC, then it complained about CGT. So next I updated to CGT 7.x.

    Finally the configuration build worked. But then I noticed that the project was building in 6.x and the configuration in 7.x. Is it a wise to have to different build tools?

    Anyhow, I've now changed both to 7.x CGT.

    But now, after setup the lookup as you suggested (see below), I still get the same error below. Arg.

     

    com.ti.dvt.rta.interfaces.IRTAFactory$RTAFactoryException: java.lang.Exception: Cannot find the required file M2_EVM6472_p64P.rta.xml. The original path to the file does not exist:
        D:/vws/ejp_M2_becInteg/spDsp/EVM/M2_EVM6472_configuration/Default/configPkg/package/cfg/M2_EVM6472_p64P.rta.xml

    If the file is missing, please rebuild the associated RTSC configuration.

    Otherwise, if the path is no longer valid, please move the file to:
        P:\spDsp\EVM\M2_EVM6472\Debug\M2_EVM6472_p64P.rta.xml

     at ti.rta.RTAFactory.getMetaDataObject(RTAFactory.java:326)

     

  • Ack, I'm sorry the upgrade process was such a pain! I'll forward this on to some other people who might be able to comment on that.

    One thing to note (though it sounds like its a moot point now) is that you don't actually need to rebuild your application with 3.20.06.81 in order to use that version of XDC for the RTA and ROV tools.

    Regarding the path still not working, it's important to recognize that the two paths in the error message point to different things. The first is the original path to the RTA meta data file, which resides down in the configuration package. The second is the current path to the .out file, which is in a separate place from the RTA meta data file, and usually higher up. 

    So, on your CCS machine, what you're looking for is that this path is correct:

    P:/spDsp/EVM/M2_EVM6472_configuration/Default/configPkg/package/cfg/M2_EVM6472_p64P.rta.xml

    Not necessarily:

    P:\spDsp\EVM\M2_EVM6472\Debug\M2_EVM6472_p64P.rta.xml

    In your original post you said you mounted just D:\vws to P:\ ... Is it possible that your configuration package is under the folder 'ejp_M2_becInteg', but your executable is not?

    One last thought--be sure to relaunch CCS after installing the new XDCtools. You'll need to relaunch CCS in order for it to pick up the new plugins.

    Thanks,

    Chris

  • Hi Chris

    Below is a snapshot of the directory as seen by the lab PC. The files appear to be present. What can I try next?

    (I rebooted the PC to make sure the correct plugins are used).

    Its as if its not even trying to replace D:/vws/ejp_M2_becInteg with P:\ when it tries to find the rta files.

    Cheers

    Eddie

    com.ti.dvt.rta.interfaces.IRTAFactory$RTAFactoryException: java.lang.Exception: Cannot find the required file M2_EVM6472_p64P.rta.xml. The original path to the file does not exist:
        D:/vws/ejp_M2_becInteg/spDsp/EVM/M2_EVM6472_configuration/Default/configPkg/package/cfg/M2_EVM6472_p64P.rta.xml

    If the file is missing, please rebuild the associated RTSC configuration.

    Otherwise, if the path is no longer valid, please move the file to:
        P:\spDsp\EVM\M2_EVM6472\Debug\M2_EVM6472_p64P.rta.xml

     at ti.rta.RTAFactory.getMetaDataObject(RTAFactory.java:326)

     at ti.rta.RTAFactory.createServer(RTAFactory.java:72)

     at com.ti.dvt.rta.RtaSolutionManager.createRtaServer(RtaSolutionManager.java:450)

     

  • Hmm, that's confusing, it does look like you have it setup right.

    Can you try going to Window -> Show View -> Other... -> PDE Runtime -> Plug-in Registry and verify that the version of the com.ti.rta plugin is 3.20.06.81?

    I use this path mapping feature a lot to map Linux paths to windows drives. If the plug-in version is correct, I'll have to try mapping a windows path to another windows path and see if I can reproduce your issue.

    Thanks,

    Chris

  • Hi

    Yes, its there. The other two (3.16.2.32 and 3.16.3.36) both have a red "x" by them. The 3.20.06.81 does not.

    Cheers

  • Eddie - Thanks for working through this with me. I was able to reproduce your issue--it appears that this path mapping feature doesn't currently work when mapping one Windows path to another! 

    I've filed the following bug:

    https://bugs.eclipse.org/bugs/show_bug.cgi?id=333047

    In the meantime, though it's a pain, you can copy the .rov.xs file from its original location and paste it in the directory containing your built executable, and ROV should be able to find it there.

    Thanks,

    Chris

  • Thanks Chris

    It will be a handy feature when it works.

    Cheers