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.

CCSV5.5 on Linux: cannot run debugger for LM3S device

I  have been running CCSV5.4 under Linux Mint 15 (with much difficulty, but finally working successfully).  During the process of trying to get it working, I saw V5.5 was out so downloaded and installed into a separate directory tree.  Now that V5.4 works I tried V5.5 again but  it still gives the same error when trying to launch debugging:

/opt/tiv55/ccsv5/ccs_base/DebugServer/drivers/libstellaris_emu.so: libxpcom.so: cannot open shared object file: No such file or directory

I checked and libstellaris_emu.so exists in that directory.  libxpcom.so exists in /opt/tiv55/ccsv5/eclipse/xulrunner/

  • Hi,

    I haven't seen this issue before, therefore I can only speculate:

    Considering your v5.4 install works fine, I would first check if the failing lib has read access compatible with the user level you used to run CCS - an alternative is to run CCS with admin privileges to double check that. Also, I would check if the dependencies can be found: this page shows some useful commands.

    If your v5.4 install does not work as well, then I would re-check the dependencies for your Linux distro (unfortunately we don't test on Mint as it is very difficult to foolproof everything on every single Linux distro available).

    I will think of other details and reply to this thread if I find anything relevant.

    Hope this helps,

    Rafael

  • Hello,

    I just installed Code Composer 5.5 on two computers (both 64-bit), one Ubuntu 12.04 and the other Ubuntu 13.10 [beta]. On 12.04, I went with default installation directory and ran the install script with root privileges. On 13.10, I used an installation directory inside my home folder and did not use root privileges (I did remember to follow up the install by running the driver update script with root privileges). I ran the Linux dependency check script on both computers and, after installing a list of extra packages, got it to run through without any failures.

    My problems:

    1)
    In 13.10: It yelled at me for having not installed OpenOCD. The dependency checker didn't catch that. Easy enough to fix.

    2)
    On both computers (after fixing the above problem in 13.10): I get the same problem as Ken Hughes above. I fixed this easily by creating symbolic links to libxpcom.so as well as about 8 more libraries that it complained about afterward. Perhaps this can be easily fixed in the install script?

    3)
    On both computers:
    CORTEX_M4_0: Error initializing emulator: Error loading libdebug.so. Please make sure that the file exists (/home/david/reusable/ti/ccsv5/ccs_base/DebugServer/drivers/libdebug.so) 

    I've checked, that file is definitely there. It wasn't set to executable by default, so I added executable permissions but it didn't help.

  • After making the same symlinks to the other missing xulrunner libraries, I ran into the same issue with libdebug.so.  I tried running with and without root privileges, but it makes no difference.

  • Hi everyone,

    I finally managed to create a Ubuntu 13.04 and install v5.5 to try all this. I get the same problems as both of you.

    There is a bug filed to fix the way the libdebug.so library was built, but apparently this lingered to CCSv5.5.

    Doing a ldd on the libdebug.so seems to be puling 64-bit versions of the libraries, which is probably why it does not work.

    I am checking with the developers to see what can be done at this time to workaround this issue.

    Regards,

    Rafael

     

     

  • Hi Rafael

    Any feedback from the developers at this time ?

    Regards

    Maruis

  • Ken, David, Maruis,

    There were two threads very similar that arrived at the same time, thus one was answered but the other became orphaned. Check the workaround provided at this post.

    Please be aware this is a beta library that was probably only tested on v5.5, therefore it may not work with other releases of CCS.

    Regards,

    Rafael