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 v5.1.1, linux, Can't Find installed BIOS tools.

Other Parts Discussed in Thread: SYSBIOS, CCSTUDIO

Hi,

I just installed CCS v5.1.1.00033 and am trying to compile a DSP/BIOS 5.x DSP/BIOS application.

CCS claims that I don't have any versions of BIOS or XDCTOOLS installed.  However, the installation was supposed to put versions of both on when it installed.

A quick check in the /opt/ti area shows that there is a BIOS version that should be discovered, but when I check preferences->RTSC->products, the discovery feature doesn't find it.

I am attaching snapshots of the listing of /opt/it as well as the preferences view.

Is there something wrong here?  I installed CCS "fresh" on a 32-bit Ubuntu system.  

Thanks.

-Mike

  • HI Mike,

    did you try adding the BIOS tools manually from the Products section you sent a screen capture of?  Does that work?  Do you have full permissions?  Did you check that there is no extra directory layer? 

    You can try downloding BIOS separately from here

    http://processors.wiki.ti.com/index.php/Category:SYSBIOS

    Please keep us informed.

    Best Regards,

    LIsa

  • Yes.  I tried to manually point the directory.  I also tried to navigate down a couple of layers as well to no avail, but the documentation for CCSV5.1 says the discovery tool should do that form me.  What layer of the directory (packages, packages/ti, packages/ti/bios) should I point to?

    What permissions are required?  I installed CCSV5.1 as root (using sudo).  These tools were installed as part of the CCSV5.1 installation process (a "complete package" install).  I sort of expected the tool to find what it installed by default...

    I can redownload and reinstall (as sudo?  as private user elsewhere?), but it would be nice if I could resolve what the problem is.  The tools that were discovered appear to have the same permissions as those that were not, and all of them were installed by the CCS installer.

    -Mike

  • Hi Mike,

    ok I have been able to reproduce this and we are looking into things.  As soon as we have any feedback I will let you know.

    Best Regards,
    Lisa

  • HI Mike,

    I am still trying to sort this out in the background for you, but have you launched CCS from the terminal with sudo?  I think this might acutally simply be a linux permissions things.  I launched css ... sudo ./ccstudio from the appropriate directory from a terminal and had BIOS ....

    Do you see the same?  Is it simply running CCS as root?

    Best Regards,
    Lisa

  • If I run CCS as root (using "sudo /opt/ti/ccsv5/eclipse"), I can confirm it is able to see all the installed packages.  So this does appear to be permissions based.  Any suggestions as to a fix? (we normally don't build and install software as a root user....)

    -Mike

  • Hi Mike

    unfortunately there is no real work around.  If you install as user and run as user you should have the BIOS tools , so that may be an option for you.  Basically you need to run CCS in whatever mode you installed it in.  Having said that, we do strongly recommend installing as root as CCS needs permissions to read and write in certain directories at times.

    Hope that helps clear things up.

    Best Regards,

    Lisa

  • Hi Lisa,

    Don't mean to give you trouble, but this issue should be fixed.  We normally don't grant root privileges to every developer looking to use this tool on our build servers, and it's a fairly large security risk running tools like these as root.  This also breaks very basic stuff like creating a new file in a project.  If running as root, the new file could become owned by root (with root masks) and will in general create serious headaches for users integrating with code control systems (subversion, etc.) and/or performing general file activities (renaming files, moving them around, etc., will require continuous "sudoing" and leave root owned files all over the place).   Prior to 5.1.1, we've been able to run CCS without having to SUDO first, so it must be possible?

    Your installation guide says that the tool must be installed as root for the emulation / debugging features to work, so I don't think installing as non-root is an option, right?

    -Mike

     

  • Hi Mike,

    I am by no means an expert on Linux permissions, but the understanding is that you need to ensure the ccsv5 folder is writable by the particular user for this to work.

    If installed as a user into a local non-shared folder, it should all work.  Root permissions are only needed for the driver installs  - which can be done separately.

    Hope this helps.

    Best Regards,
    Lisa