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.

Tiva C Lauchpad & CCS 5.5.00077 libdebug.so

hello,

I just received my Tiva C launchpad!! 

I'm traying to get CCS basic hello example to run on it but I cannot manage to get the debug pass the message

Error initializing emulator: Error loading libdebug.so. Please make sure that the file exists (/opt/ti/ccsv5/ccs_base/DebugServer/drivers/libdebug.so)

The file mention in the message exist in the given location. How I can get CCS to debug the Tiva C lauchpad?

Thank you

Rafael.

  • .so means a shared lib

    Is the directory on the search-path ?

    See ie. http://blog.andrewbeacock.com/2007/10/how-to-add-shared-libraries-to-linuxs.html

    /Bingo

  • Thank you for your response Bingo.

    The file is in the path where CCS looks for libs. I don't know if CCS use same library to debug other TI uC's but other MSP430 debug using CCS with no problem.

    I tried using the ldconfig however I don't believe it has anything to do with the CCS eclipse configuration, or its shared  libs, since CCS is self-contained in its own directory and does not use the linux libs to compile code for the uC's, am I right?

    any other suggestions/solutions are appreciated.

    Thank you,

    Rafael.

     

     

     

     

     

     

     

  • A gogle search reveals this

    http://forum.stellarisiti.com/topic/354-error-initializing-emulator-error-loading-libdebugso-please-make-sure-that-the-file-exists/

    that leads to

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/191549/688754.aspx

    and to

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/105210.aspx

    The above is on a windows platform.

    So his might be a better thread (linux) .. Do you run 64-bit ?

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/235206/835707.aspx#835707

    and

    http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/233787.aspx

    Where it seems that there were an error that ought to be foxed in 5.4.

    A mention of the Linux Distro + vers + 32/64 bit might be helpfull.

    /Bingo

  • Hi Bingo,

    Well I went to all thos suggested sites but no luck.

    I reinstalled CCS-5.5, I checked the dependencies, and following links I have found that Stellaris ICDI onboard emulator is not supported see:

    http://processors.wiki.ti.com/index.php/Linux_Host_Support#Emulator_Support 

    and you can see too:

    http://processors.wiki.ti.com/index.php/Linux_Host_Support#Features_not_available_on_Linux.

    I think that answer my question, well unless those sites are outdated or you have any other idea.

    Rafael.

  • That's strange ... (Well i don't use CCS) i prefer plain arm-gcc.

    But TI not supporting ARM Debugging on their linux vers , sounds like a biiiigg bummer.

    Do you know this site

    http://forum.stellarisiti.com/

    You could use OOCD & GDB to debug

    These url's are quite nice ..  just skip the patching of OOCD , the Stellaris patch is in the code now

    http://scompoprojects.wordpress.com/2012/11/07/debugging-a-program-on-the-stellaris-launchpad-board/

    http://kernelhacks.blogspot.it/2012/11/the-complete-tutorial-for-stellaris.html

    http://kernelhacks.blogspot.it/2012/11/the-complete-tutorial-for-stellaris_23.html

    http://kernelhacks.blogspot.it/2012/11/the-complete-tutorial-for-stellaris_25.html

    http://kernelhacks.blogspot.it/2013/01/cmsis-dsp-software-library.html

    /Bingo