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.

code composer studio and ubuntu 14.04 install

hi,

I just started using Linux. In fact, started a couple of days ago. Can someone point to instructions on getting CCS 6.0 working on my computer? 


I've seen:

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

http://www.element14.com/community/people/vish/blog/2014/06/11/ti-connected-launchpad-2-installing-ccsv6-in-ubuntu-1404

http://ucsolutions.blogspot.com/2014/06/problems-during-installation-code.html

They're all missing something that an experienced Linux user likely already knows. Any help would be Great

Thanks,

Dan

  • hey,

    I think I may have it figured it out.

  • What was blocking you? We can add it to the documentation to help other users.

  • I tried so many things. I'm not positive what worked. But I'll try to recap my steps. If there is errors let me know.

    download circled file from:

    http://processors.wiki.ti.com/index.php/Download_CCS#Code_Composer_Studio_Version_6_Downloads

    Go to Files (it's the icon that looks like a filing cabinet on the standard Ubuntu GUI. It's on the upper left hand side of the main desktop. ).

    Click the Download folder.

    Make a folder, I named mine CCS60.

    Double click  the  CCS6.0.1.00040_linux.tar.gz  folder and extract it into the folder you just made.

    Open a terminal Window (ctrl + alt + " t ")  and copy and paste these commands one after the other into the command line, enter your  password as needed.

    sudo apt-get install libc6-i386 libx11-6:i386 

     

    sudo apt-get install libc6-i386 libasound2:i386 libjpeg62:i386 libatk1.0-0:i386 libcairo2:i386 libdbus-1-3:i386 libdbus-glib-1-2:i386 libfontconfig1:i386 libfreetype6:i386 libgconf-2-4:i386 libgdk-pixbuf2.0-0:i386 libgtk2.0-0:i386 libice6:i386 lib32ncurses5 liborbit2:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpng12-0:i386 libsm6:i386 lib32stdc++6 libusb-0.1-4:i386 libx11-6:i386 libxext6:i386 libxi6:i386 libxrender1:i386 libxt6:i386 libxtst6:i386 lib32z1 libgnomevfs2-0:i386 libcanberra-gtk-module:i386 

     

    sudo apt-get install libusb-1.0-0 libusb-1.0-0:i386 libusb-1.0-0-dev libusb-1.0-0-dev:i386 

     

    sudo apt-get install libcups2:i386 libgtk-3-0:i386 libncurses5:i386 libudev1:i386 libstdc++6:i386 libgnomeui-0:i386 libusb-1.0-0-dev:i386 

     

    sudo apt-get install gtk2-engines-murrine:i386 

     

    I'm new to Linux. So, I don't know what all that is. But, I got them here:

    http://www.element14.com/community/people/vish/blog/2014/06/11/ti-connected-launchpad-2-installing-ccsv6-in-ubuntu-1404

    Goto the folder you made and extracted stuff to. if you named it what I did. It will go like this:

     

    cd Downloads

     

    cd CCS60

     

    cd CCS6.0.1.00040_linux

     

     chmod +x ccs_setup_6.0.1.00040.bin

     sudo ./ccs_setup_6.0.1.00040.bin

     

    This should get you to the install wizard for CCS 6.0.

    Now I just have to figure out how to get a program to download to my connected launchpad. I'm getting an error:

    CORTEX_M4_0: GEL Output:
    Memory Map Initialization Complete
    CORTEX_M4_0: GEL: Encountered a problem loading file: /home/chris/ti/CCS6_Workspace/Nokia5110WithSSI/Debug/Nokia5110WithSSI.out Could not open file

    After compiling without error.

    Thanks,

    Dan

     

     

     

     

     

     

     

     

  • Thank you for taking the time to post your notes.

  • daniel preston said:

    Now I just have to figure out how to get a program to download to my connected launchpad. I'm getting an error:

    CORTEX_M4_0: GEL Output:
    Memory Map Initialization Complete
    CORTEX_M4_0: GEL: Encountered a problem loading file: /home/chris/ti/CCS6_Workspace/Nokia5110WithSSI/Debug/Nokia5110WithSSI.out Could not open file

    After compiling without error.

     Hi Dan, try if you can solve running the driverinstall script or see if you find solution in these link:

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

    and better can this one if you get running

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

  • Hey,

    Thanks for the reply. I gave up on Linux and installed Windows 7. I don't have time to debug every new software install. It's nice to have software just work. I like the idea of Linux but, I don't have the time to learn it at the moment.

    Thanks again,

    Dan

  •  Daniel, Linux version is more stable faster than windows. Windows version is not so error free and on early time I left worst unusable windows  version in definitive favour of linux.

     If you get time to learn linux interface, than from XP to Win 7 or win8, time is same or less and you get a better system.

     IMHO when ccs get fully depoisoned from bad windoze programmers habit it can be a good tools whichever platform is run.. 

     Linux can be fully configured by command line interface than graphical so installing a new library or program can be done with simple script or command. When you just wish use graphical interface you lose control of what happen and sometime this crash system. This happen more frequently on click and go system than when user try understand what happen under the hood and solve step by step.

  • daniel preston said:

    Now I just have to figure out how to get a program to download to my connected launchpad. I'm getting an error:

    CORTEX_M4_0: GEL Output:
    Memory Map Initialization Complete
    CORTEX_M4_0: GEL: Encountered a problem loading file: /home/chris/ti/CCS6_Workspace/Nokia5110WithSSI/Debug/Nokia5110WithSSI.out Could not open file

     Hi Daniel, did you run script "install_drivers.sh" in folder ccs6/install_scripts?

     Note to developer, a final dialog can be of help to new user or why not just run during install?

  • hey,

    I tried to get back into Ubuntu to try that out.

    A little bit of background. I was using Win xp. Then installed Ubuntu to run alongside win xp. Then, installed a new hard drive and installed Win 7 on that.

    Now, there isn't an option to load Ubuntu any more. There is only the option to load win xp or win 7. I tried selecting Win xp thinking that maybe the ubuntu / win xp option page would pop up. It didn't. It takes me to the windows xp desktop. 

    If anyone knows how to get back into Ubuntu I like to here it.

    Dan

  • daniel preston said:
    If anyone knows how to get back into Ubuntu I like to here it.

     Yes I got trapped that way a lot of times on preceding computers but not this last one where I was forced to choose win7 or Linux ... I removed win7 in foavour of XP but also XP refuse to run so I moved it to a virtual box!!!

     To solve your problem you must have a bootable live cd/DVD, boot from it then chroot system and restore grub bootsector in first, reboot linux and update grub to include windows7 and whatever you need to. If possible insert a live image on a partition different from Linux one or in windows disk to have a chance to boot from different partition. On all my system I mount at almost two oses to be able to recover faster.

     Here is a link with all instruction you need as simple as possible. I got an eye and all is ok just take care of correct partition numbering.

    http://www.lancelhoff.com/restore-grub2-after-installing-windows/

     If you need more help just ask again.