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.

xdc doesn't find syslink package

Other Parts Discussed in Thread: OMAPL138, SYSBIOS

I'm trying to build a c674 sysbios program which I can control from an arm-linux syslink program (OMAPL138), but CCSv5.2 doesn't recognize the syslink_2_10_06_28 install as an RTSC product.  Thus I get "xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.syslink.ipc.rtos' along the path..." when I add xdc.useModule('ti.syslink.ipc.rtos.Syslink'); to the .cfg  The syslink install is in the same parent as all the other TI products which are found without problem.  Also note that the syslink build succeeded and at least a few of the examples were able to run.

Thanks

  • Elron,
    can you attach the complete error message so I can see the package path? Have you tried adding syslink as a repository rather than a product? You do that by clicking on Add.. in Products and Repositories tab, and then selecting a repository from the file system from the next window:

    I am not sure if syslink is meant to be recognized as a RTSC product, but if it's not then you have to add it to your project as a repository.

  • Sasha Slijepcevic said:

    Have you tried adding syslink as a repository rather than a product? You do that by clicking on Add.. in Products and Repositories tab, and then selecting a repository from the file system

    That worked, thanks.  But this is at the project level.  I should be able to add the syslink repo once in the global settings and then opt in to it at the project level like I can with all the auto-discovered products.

    I am not sure if syslink is meant to be recognized as a RTSC product, but if it's not then you have to add it to your project as a repository.

    I'm new to RTSC, and I don't know why some products should be "products" and others not, nor why the GUI should treat them differently, but it seems arbitrary and a usability failure.

    Thanks

  • A RTSC product requires an additional layer of RTSC modules on top of a repository. Some developers decide to add that layer, some don't. I'm not a member of the syslink development team, but I see you are talking to Janet, who might know more if there are any plans to make syslink a RTSC product.

  • Elron,

    As far as I know, there are no plans to add any additional RTSC modules to SysLink.  You will need to manually add the SysLink packages to the project's repositories.  Here is a link for building a SysLink example with a CCS project where this step is described:

    http://processors.wiki.ti.com/index.php/Creating_CCS_Project_for_SysLink_samples

    Specifically, you need to:

    • Right click your project. Select Properties -> Build -> XDCtools -> Package Repositories and add <SYSLINK_INSTALL_DIR>\packages to xdcpath (replace <SYSLINK_INSTALL_DIR> with the installation location of SysLink)

    Best regards,

        Janet

  • I am facing  a similar issue when using Syslink version 2_20_00_14. I have done the following :

    Right click your project. Select Properties -> Build -> XDCtools -> Package Repositories and add <SYSLINK_INSTALL_DIR>\packages to xdcpath (replace <SYSLINK_INSTALL_DIR> with the installation location of SysLink)

    I am trying to build ex02_messageQ example using the provided Dsp.cfg file and it has the followin gstatement

    xdc.useModule('ti.syslink.ipc.rtos.Syslink');

    I don't see xdc.loadPackage ('ti.syslink.utils.rtos.bios6') 

    Thanks,

    -Vikas

  • Vikas,
    I am not sure what's your question. Are you getting an error? If that's the case, what's the error message?