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.

Running CCS 5 with linux X86_64

Other Parts Discussed in Thread: TMS320C6416T

I'm running CCS 5 beta 1 in my debian amd64, and it's working very well.

Steps:

- Install CCS normally

- Install sun java versions (sun-java-jre, ia32-sun-java6-bin and ia32-sun-java6-plugin)

- Run with

java -d32 -jar /usr/local/CCSv5/ccsv5/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
(/usr/local/CCSv5 is the default path)

 

Facundo

  • Thanks for the feedback!

  • I have CCS 5 Beta 1 release 2 running quite well on openSUSE 11.3 64bit. The Spectrum Digital XDS510USB works fine for C6000 after adding the following rule file to udev:

    /etc/udev/rules.d/71-ti-permissions.rules

    SUBSYSTEM=="usb",ENV{DEVTYPE}=="usb_device",ATTRS{idVendor}=="0c55",ATTRS{idProduct}=="0510",MODE="0666"

     

    I am having a more difficult time getting Beta 2 to work. The emulator will attach ok, but attempting to terminate the debug session hangs eclipse. This may be an install issue since I was trying to keep Beta 1 along with Beta 2. I will report back later.

    Richard.

  • Hi Richard, 

    Having multiple versions of CCS installed side by side, should be fine. I would suggest using two different workspaces for each version of CCS. As far as your hang, could you let us know what kind of steps you take after starting a debugger to see the hang? Is it enough to start a debugger and terminate a debug sessions to reproduce your issue? 

    Recent internal builds of CCS have a dedicated SD rules file, contents are below. The relevant line is very close to you what you added.

    Martin

     

     

    contents of "71-sd-permissions.rules"

     

    # Spectrum Digital USB devices 

    SUBSYSTEM=="usb", ATTR{idVendor}=="0c55" ,ATTR{idProduct}=="0540", ATTR{manufacturer}=="Spectrum Digital Inc.",MODE="0666"

    SUBSYSTEM=="usb", ATTR{idVendor}=="0c55" ,ATTR{idProduct}=="0510", ATTR{manufacturer}=="Spectrum Digital, Inc.",MODE="0666"

    SUBSYSTEM=="usb", ATTR{idVendor}=="0c55" ,ATTR{idProduct}=="2000", ATTR{manufacturer}=="Spectrum Digital, Inc.",MODE="0666"

    SUBSYSTEM=="usb", ATTR{idVendor}=="0c55" ,ATTR{idProduct}=="0562",MODE="0666"

     

  • Hi Martin,

    I have confirmed that the hang has nothing to do with having multiple versions of CCS. I installed Beta 2 on a new machine (also OpenSUSE 11.3) which has not seen any previous versions of CCS. The hang is still the same. In answer to your question, the hang happens if I start a debug session and connect to the target and then try to terminate the debug session. I don't have to load any code onto the target (a TMS320C6416T DSK). A "pkill eclipse" closes the GUI, but something still keeps hold of the XDS510 USB device node until I reboot. The same thing happens if I close the GUI without terminating the debug session, the GUI goes away, but the device stays "busy".

     

    P.S. I changed my udev rule to SUBSYSTEM=="usb", ATTR{idVendor}=="0c55" ,ATTR{idProduct}=="0510",MODE="0666" which seems to work fine.

    Richard.

  • Hi Richard, 

    I was hoping that you could collect some logging information on your system. The link below contains information on how to configure logging on linux. Please send us the log when you get a hang. 

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCS#Debug_Server_Logging

    Thank you,
    Martin

     

  • Hi Martin,

    I enabled logging, loaded and ran one program, and then terminated with the usual hang.  dslog.txt.zip attached.

    Thank you,

    Richard.

     

    dslog.txt.zip
  • Hi Richard, 

    Sorry for the delay in replying. Could you try moving libctools.so file to a different directory from CCSInstall/ccsv5/ccs_base_{versionInfo}/emulation/analysis/bin This file provides HW breakpoint capabilities, thus you will not have access to HW breakpoints. Software breakpoints should still work. I am trying to confirm whether this will resolve the hang issue. 

    Martin

     

  • Hi Martin,

    Please pardon my delay, work has been intense this week.  I moved the libctools.so file as you suggested and that did indeed stop the hang at debug termination. I was able to stop and restart debugging several times with no problem. Hope this information helps . . .


    Richard.

  • Hi Richard, 

    Thank you for trying this out. It confirmed our suspicion. I have filed SDSCM00038255 bug entry to track this issue. 

    Martin

     

  • Martin,

    I tried the new build 5.0.0.00095 of CCS V5 and found that it aborts as soon as I tried to connect the emulator to the target, unless I move the libctools.so library. Any ideas why? Would another logging session help?

    Richard.

  • Hi Richard, 

    Yes, if you could enable the same type of logging and attach the log as well than it would be great. 

     

    Thank you,

    Martin

     

  • Hi Martin,

    I finally got a chance to create a log file. Hope it helps.

    Richard.

    dslog.txt.gz
  • hi man i have been trying to make dreamweaver cs5 on  my ubuntu work for quiet a long time

    without any success i would very much apprishiate it if you will give me a little hand here

  • asge asgw said:

    hi man i have been trying to make dreamweaver cs5 on  my ubuntu work for quiet a long time

    without any success i would very much apprishiate it if you will give me a little hand here

     

    You are asking the wrong place.

     

  • Unfortunately, C6416 on Linux is not a supported target at the moment.

    WIndows version of the CCS still supports C6416.