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.

Unable to detect the floating server license when running CCS in the server PC itself

OS : Windows 7 - 64bit  service pack 1

CCS : v5.1.0.09000

We are using CCS floating server license in our project.

To set up the server followed the steps as mentioned in :

http://processors.wiki.ti.com/index.php/License_Server_Administration_for_CCS#Windows:_graphical_setup

After this we are able to detect and use the floating server license from client PCs.

To use the license from the server PC itself followed the steps as in :

http://processors.wiki.ti.com/index.php/License_Server_Administration_for_CCS#Advanced_license_configurations


But the CCS IDE in server PC is not able to detect the above mentioned license.

In the first line of  "license.txt"  file at : C:\Users\<username>\AppData\Local\.TI\213602635\0  tried putting the following combinations :

1. @XXX

2. XXX

where XXX - server computer name.

None seemed to work.

Please support in this regard.

  • Hi,

    I was able to use my CCSv5.5 (I don't have 5.1 installed anymore) in my license server installed in the same PC.

    Without modifying the license file (it says SERVER this host <mac address>), I was able to simply use the CCS interface to configure it to 127.0.0.1 port 27000. That created a licenselocation.txt file with the string 27000@127.0.0.1.

    Provided the firewall is not getting in the way (by blocking 127.0.0.1 traffic), perhaps you could try this?

    Hope this helps,
    Rafael
  • Hello Rafael,

    Thank you for your response.
    I have verified the information in license file as " SERVER this_host <mac address>".

    In license setup wizard selected "Specify a license server" and entered the following information :
    Address : 127.0.0.1
    Port : 27000

    Still the problem is not resolved.

    Verified that firewall is not blocking 127.0.0.1 traffic using "ping 127.0.0.1" command.
    I am able to see 0% loss in packets.

    Regards,
    Chandrahas.
  • Chandrahas,

    Unfortunately I don't know what may be happening in your setup - it may be something specific to the system or to the older CCS release you are using.

    Apart from the raw IP address, you could check if using "localhost" is effective. Also, you can open a command line and run the command "ping 127.0.0.1" or "ping localhost" and see if you get a response - my guess is that it will work fine. If not, then check the thread below:

    http://www.moorlandit.net/index.php/2009/05/accessing-localhost-on-vistawindows-7-96/

    When you open CCS and launch a debug session with one of the JTAG debuggers that require a license (anything other than a XDS100), do you see a license checked out from the server, as shown in the screen below?


    If you see this, then it is possible some configuration is blocking CCS from receiving the information from the license server. If you don't see this, then CCS is not able to talk to the license server. In both cases I would be suspicious of the firewall or any corporate IT rule that blocks these accesses.

    In any case, you can also open a command line and run "netstat" to see which ports are opened and connections are established. In my case, I get the results below, with the two connections in red between CCS and the license server.

    netstat said:

    C:\Users\user>netstat

    Active Connections

      Proto  Local Address          Foreign Address        State
      TCP    127.0.0.1:27000        myhost:57084           ESTABLISHED
      TCP    127.0.0.1:57082        myhost:57083           ESTABLISHED
      TCP    127.0.0.1:57083        myhost:57082           ESTABLISHED
      TCP    127.0.0.1:57084        myhost:27000           ESTABLISHED
      TCP    128.247.10.244:3389    anotherhost:49411      ESTABLISHED
      TCP    128.247.10.244:57080   myhost:65028           ESTABLISHED
      TCP    128.247.10.244:61895   anotherhost2:10123     ESTABLISHED
      TCP    128.247.10.244:65028   myhost:57080           ESTABLISHED
      TCP    [::1]:57075            myhost:57076           ESTABLISHED
      TCP    [::1]:57076            myhost:57075           ESTABLISHED

    Unfortunately I am running out of ideas in this case, but please check the diagnostic methods above.

    Hope this helps,

    Rafael

     

     

  • Hello Rafael,

    I have tried  "ping localhost" and "ping 127.0.0.1" commands and they are success with 0% loss in packets.

    Opened CCS in the server and launched  JTAG debugging.

    In link :

    http://127.0.0.1:8090/dashboard?licenseTab=floating&vendor=tidspssw&admin=systeminfo&selected=

    I can see "0(1)" for  "In use(Available)" column for CCS DEBUGGER feature.

    Also in CCS->Help->Code Composer Studio Licensing Information->Status, License Type  is  still shown as Evaluation License.

    I have run "netstat" command and the i got the following :

    Active Connections


    Proto   Local Address          Foreign Address                       State

    TCP    127.0.0.1:8090         <computer name>:64576        ESTABLISHED

    TCP    127.0.0.1:27000        <computer name>:64297       ESTABLISHED

    TCP    127.0.0.1:40000        <computer name>:63678       ESTABLISHED

    TCP    127.0.0.1:63678        <computer name>:40000       ESTABLISHED

    TCP    127.0.0.1:64295        <computer name>:64296       ESTABLISHED

    TCP    127.0.0.1:64296        <computer name>:64295       ESTABLISHED

    TCP    127.0.0.1:64297        <computer name>:27000       ESTABLISHED

    TCP    127.0.0.1:64488        <computer name>:8090          TIME_WAIT

    TCP    127.0.0.1:64507        <computer name>:64508       ESTABLISHED

    TCP    127.0.0.1:64508        <computer name>:64507       ESTABLISHED

    TCP    127.0.0.1:64576        <computer name>:8090         ESTABLISHED

    Thanks,

    Chandrahas.