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.

CCS/CCSTUDIO: CCS Studio hangs for 20 seconds when in a company network during compile.

Part Number: CCSTUDIO
Other Parts Discussed in Thread: SYSCONFIG,

Tool/software: Code Composer Studio

Hello,

 

we’re seeing some strange CCS behaviour during the build of a project, when the computer is being connected to our company network. Everythings working fine, when the computer is not connected or when CCS is being executed on my private computer.

 

When you select „build project“ the IDE starts to build the project, but hangs at 30% for around 20 seconds before it continues to finish the task. This behaviour currently makes CCS a pain to use over the day.

 

We’ve seen that kind of problems some time ago in conjunction with the code composer offline installer, which was executing some background activities over the network which prevented a proper CCS installation although it should have been an offline installer. Most likely some accesses are being blocked by our company‘s security guidelines. I don’t know.

 

I suspect you’re collecting statistics about the use of CCS. Right? If that should be the case, I doubt this confirms to the General Data Protection Regulation of the EU.

 

Where can I switch that CCS behaviour off to make CCS usable again over the day? Please describe what CCS does over the network during install and compile.

 

Best regards,

Flux.

  • Flux,

    The scenario you describe is very similar to the thread below. Can you see if the details are applicable in your case?

    https://e2e.ti.com/support/tools/ccs/f/81/p/713032/2639728#2639728 

    Regards,

    Rafael

  • Sorry, no, that doesn't help. Where can I switch off network accesses during build? And what will be transfered?

    Best regards,

    Flux.

  • Flux,

    Code Composer Studio does not track any usage information.

    What version are you using? Did this start to happen recently? What types of projects do this happen (baremetal, TI-RTOS, Sysconfig, Linux)? Given the TI-RTOS and/or Sysconfig run the rtsc builder in addition to the compiler/assembler/linker, there is a chance that something on the host may be interfering with the build of this particular step in the process. This has happened in the past.

    Older versions used to download updates to a table with error messages (a component called dmed) before a build took place, but that happened very infrequently (once a month). In later versions (v9) this table is built into the product and is updated by manual intervention only - i.e., whenever the user installs an updated version of the compiler.

    Apart from this, I can't think of anything that could be causing this other than a third party interference.

    Regards,

    Rafael

  • Flux said:
    When you select „build project“ the IDE starts to build the project, but hangs at 30% for around 20 seconds before it continues to finish the task. This behaviour currently makes CCS a pain to use over the day.

    In the past have managed to use Windows Process Monitor to figure out what was causing CCS to stall during a build - see CCS: Compiler suddenly slow, "Generating makefile for source folder Debug/Source" stays up a long time for an example analysis. Not sure if this would help for your case (or even if you are using CCS under Windows or Linux).

  • Hello Rafael,

     

    thanks for the clarification. And you are right.

     

    The problem was caused by a wrong path variable. gmake uses each path to search for sh.exe. gmake then hung for the mentioned 20 seconds when it reached the wrong path. Removing the wrong variable, logging off and on solved the problem.

     

    The variable started with http:// so maybe thats the reason why the problem didn’t show up when the network cable was pulled.

     

    By the way: During our investigation we found a bug in CCStudio 9.2.0.

     

    The CGT6.1.23 cannot be installed anymore. Please see the error dialog after trying to do so. Do you have a workaround to install install them anyways? Can you file a bug please?

     

    Best regards,

    Flux.

  • Hello Chester,

    thanks for the tip. Procmon was very helpful.

    Best regards,

    Flux.

  • Flux,

    Thanks for reporting back your findings. 

    Regarding the C6000 CGT installer, I will see if anything can be done from the CCS side, but from a pure compiler installer standpoint there'll not be any work done with respect to this - this compiler is almost seven years old. 

    At this point, you should have the installer located at the downloads directory of CCS.

    C:\ti\ccs\eclipse\downloads

    You can run it independently and install it under the tools directory of CCS

    C:\ti\ccs\tools\compiler\ti-cgt-c6000_6.1.23

    Hope this helps,

    Rafael

  • Flux,

    A friend pointed out that an outstanding bug in CCSv9.2 prevents compiler updates from being properly installed. 

    I had reported this a while back but the manifestation of the error was different, thus I did not make the correlation. 

    I tested in a pre-release version of CCSv9.3 and the compiler installs normally.

    Regards,

    Rafael