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: Code Composer V7.4.0.00015 installation hangs at "Registering new target content products"

Part Number: CCSTUDIO
Other Parts Discussed in Thread: ENERGYTRACE, SEGGER

Tool/software: Code Composer Studio

I am trying to install Code Composer Studio V7.4.0.00015 (the latest), and my installation is hanging at the step "Registering target content products". 

I am using Windows 10 64 bit, and I'm also running Windows Defender antivirus and Windows firewall. I tried disabling those before installation, but I was still seeing the same issue. Installation logs are below:

Starting Install
Installing utilities and miscellaneous
Downloading software-dl.ti.com/.../com.ti.ccstudio.installer.msvc.2015.win32_root_14.0.24212
Unzipping C:/Users/DWhisler/AppData/Local/Temp/ccs_96ff6b40-6e69-489a-61e7-c20db2c24a65/com.ti.ccstudio.installer.msvc.2015.win32_root_14.0.24212
Installing com.ti.ccstudio.installer.msvc.2015.win32...
com.ti.ccstudio.installer.msvc.2015.win32 installed
Downloading software-dl.ti.com/.../jre_root_1.8.0.122
Unzipping C:/Users/DWhisler/AppData/Local/Temp/ccs_96ff6b40-6e69-489a-61e7-c20db2c24a65/jre_root_1.8.0.122
Unzipping C:/Users/DWhisler/AppData/Local/Temp/ccs_96ff6b40-6e69-489a-61e7-c20db2c24a65/downloads/jre-8u112-windows-i586.zip
Installing Eclipse
Downloading software-dl.ti.com/.../eclipse_core_4.5.1.custom-160121.zip
Unzipping C:/Users/DWhisler/AppData/Local/Temp/ccs_96ff6b40-6e69-489a-61e7-c20db2c24a65/baserepo/eclipse_core_4.5.1.custom-160121.zip
Downloading software-dl.ti.com/.../updateinstaller.zip
Unzipping C:/Users/DWhisler/AppData/Local/Temp/ccs_96ff6b40-6e69-489a-61e7-c20db2c24a65/baserepo/updateinstaller.zip
Downloading all features .....................................................................................................................
Download complete.
Installing Components
Registering com.ti.ccstudio.debugserver.win32...
Installing... com.ti.ccstudio.debugserver.win32.feature.group
Registering com.ti.ccstudio.debugserver.win32...
feature registered
Installing com.ti.ccstudio.debugserver.win32...
com.ti.ccstudio.debugserver.win32 installed
Registering com.ti.dsflash.win32...
Registering com.ti.ccstudio.cloudagent.win32...
Registering com.ti.ccstudio.nodejs.win32...
Registering com.ti.ccstudio.pinmux.win32...
Registering com.ti.cgt.tms470.16.win32...
Installing... com.ti.dsflash.win32.feature.group,com.ti.ccstudio.cloudagent.win32.feature.group,com.ti.ccstudio.nodejs.win32.feature.group,com.ti.ccstudio.pinmux.win32.feature.group,com.ti.cgt.tms470.16.win32.feature.group
Registering com.ti.dsflash.win32...
feature registered
Installing com.ti.dsflash.win32...
Unzipping c:/ti/ccsv7/eclipse/downloads/com.ti.dsflash.win32_7.4.0.1152.zip
com.ti.dsflash.win32 installed
Registering com.ti.ccstudio.cloudagent.win32...
feature registered
Installing com.ti.ccstudio.cloudagent.win32...
Unzipping c:/ti/ccsv7/eclipse/downloads/cloudagent_win_0.5.1463.zip
com.ti.ccstudio.cloudagent.win32 installed
Registering com.ti.ccstudio.nodejs.win32...
feature registered
Installing com.ti.ccstudio.nodejs.win32...
Unzipping c:/ti/ccsv7/eclipse/downloads/node-6.9.1_win32.zip
com.ti.ccstudio.nodejs.win32 installed
Registering com.ti.ccstudio.pinmux.win32...
feature registered
Installing com.ti.ccstudio.pinmux.win32...
Unzipping c:/ti/ccsv7/eclipse/downloads/pinmux_4.0.1470.zip
com.ti.ccstudio.pinmux.win32 installed
Registering com.ti.cgt.tms470.16.win32...
feature registered
Installing com.ti.cgt.tms470.16.win32...
com.ti.cgt.tms470.16.win32 installed
Registering com.ti.tools.common.feature.group...
Registering com.ti.gc.backplane.feature.group,com.ti.gc.pm.feature.group,com.ti.debug.server.feature.group...
Registering com.ti.ccstudio.idemain...
Registering com.ti.ccstudio.workflow...
Registering com.ti.ccstudio.tms470...
Installing... com.ti.tools.common.feature.group,com.ti.gc.backplane.feature.group,com.ti.gc.pm.feature.group,com.ti.debug.server.feature.group,com.ti.ccstudio.idemain.feature.group,com.ti.ccstudio.workflow.feature.group,com.ti.ccstudio.tms470.feature.group
Registering com.ti.chromium.browser.feature.group...
Registering com.ti.ccstudio.p2tool...
Installing... com.ti.chromium.browser.feature.group,com.ti.ccstudio.p2tool.feature.group
Registering com.ti.xdctools_3_32.update.feature.group...
Registering com.ti.dvt2.graph.visualization.feature.group,com.ti.dvt2.rov.feature.group,com.ti.dvt2.resource.explorer.feature.group...
Registering com.ti.tirex...
Registering com.ti.dvt2.trace.ccs.feature.group,com.ti.dvt2.trace.control.feature.group,com.ti.dvt2.analysis.suite.feature.group...
Registering com.ti.dvt2.via.ccs.feature.group,com.ti.dvt2.profileanalysismanager.feature.group...
Installing... com.ti.xdctools_3_32.update.feature.group,com.ti.dvt2.graph.visualization.feature.group,com.ti.dvt2.rov.feature.group,com.ti.dvt2.resource.explorer.feature.group,com.ti.tirex.feature.group,com.ti.dvt2.trace.ccs.feature.group,com.ti.dvt2.trace.control.feature.group,com.ti.dvt2.analysis.suite.feature.group,com.ti.dvt2.via.ccs.feature.group,com.ti.dvt2.profileanalysismanager.feature.group
Registering com.ti.tirex...
feature registered
Installing com.ti.tirex...
com.ti.tirex installed
Registering com.ti.dvt2.uia.feature.group,com.ti.dvt2.analysis.suite.feature.group...
Registering com.ti.dvt.energytrace.feature.group...
Registering com.ti.tiva_stellaris.setup.win32...
Registering com.ti.emulation.pack.win32...
Installing... com.ti.dvt2.uia.feature.group,com.ti.dvt2.analysis.suite.feature.group,com.ti.dvt.energytrace.feature.group,com.ti.tiva_stellaris.setup.win32.feature.group,com.ti.emulation.pack.win32.feature.group
Registering com.ti.tiva_stellaris.setup.win32...
feature registered
Installing com.ti.tiva_stellaris.setup.win32...
Unzipping c:/ti/ccsv7/eclipse/downloads/ti_tiva_stellaris_windows_2_1_3_15.zip
com.ti.tiva_stellaris.setup.win32 installed
Registering com.ti.emulation.pack.win32...
feature registered
Installing com.ti.emulation.pack.win32...
com.ti.emulation.pack.win32 installed
Registering com.segger.jlink.win32...
Registering com.segger.jlink.drivers.win32...
Registering com.ti.cgt.dmed.win32...
Installing... com.segger.jlink.win32.feature.group,com.segger.jlink.drivers.win32.feature.group,com.ti.cgt.dmed.win32.feature.group
Registering com.segger.jlink.win32...
feature registered
Installing com.segger.jlink.win32...
Unzipping c:/ti/ccsv7/eclipse/downloads/com.segger.jlink.windows.V614e.zip
com.segger.jlink.win32 installed
Registering com.segger.jlink.drivers.win32...
feature registered
Installing com.segger.jlink.drivers.win32...
com.segger.jlink.drivers.win32 installed
Registering com.ti.cgt.dmed.win32...
feature registered
Installing com.ti.cgt.dmed.win32...
com.ti.cgt.dmed.win32 installed
Registering com.ti.cgt.arm.16.9.help...
Installing... com.ti.cgt.arm.16.9.help.feature.group
Registering com.ti.ccstudio.cc26xx.devicesupport.win32...
Registering com.ti.targetcontent.feature.group...
Registering com.ti.gcc.arm.win32...
Registering com.ti.tiva_tm4c.setup.win32...
Registering com.ti.tiva_tm4e.setup.win32...
Installing... com.ti.ccstudio.cc26xx.devicesupport.win32.feature.group,com.ti.targetcontent.feature.group,com.ti.gcc.arm.win32.feature.group,com.ti.tiva_tm4c.setup.win32.feature.group,com.ti.tiva_tm4e.setup.win32.feature.group
Registering com.ti.ccstudio.cc26xx.devicesupport.win32...
feature registered
Installing com.ti.ccstudio.cc26xx.devicesupport.win32...
Unzipping c:/ti/ccsv7/eclipse/downloads/cc26xx_device_support_3.02.02.00_win32.zip
com.ti.ccstudio.cc26xx.devicesupport.win32 installed
Registering com.ti.gcc.arm.win32...
feature registered
Installing com.ti.gcc.arm.win32...
Unzipping c:/ti/ccsv7/eclipse/downloads/gcc-arm-none-eabi-6-2017-q1-update-b-win32.zip
com.ti.gcc.arm.win32 installed
Registering com.ti.tiva_tm4c.setup.win32...
feature registered
Installing com.ti.tiva_tm4c.setup.win32...
Unzipping c:/ti/ccsv7/eclipse/downloads/ccs_tiva_tm4c_devices_files_2_1_1_15071.zip
com.ti.tiva_tm4c.setup.win32 installed
Registering com.ti.tiva_tm4e.setup.win32...
feature registered
Installing com.ti.tiva_tm4e.setup.win32...
Unzipping c:/ti/ccsv7/eclipse/downloads/ccs_tiva_tm4e_devices_files_2_1_1_15071.zip
com.ti.tiva_tm4e.setup.win32 installed
Registering com.ti.ccstudio.launcher.win32...
Registering com.ti.ccstudio.doc.win32...
Registering com.ti.ccstudio.utils.cli.win32...
Registering com.ti.ccstudio.targetdb.props.default.win32...
Registering com.ti.ccstudio.installer.win32...
Installing... com.ti.ccstudio.launcher.win32.feature.group,com.ti.ccstudio.doc.win32.feature.group,com.ti.ccstudio.utils.cli.win32.feature.group,com.ti.ccstudio.targetdb.props.default.win32.feature.group,com.ti.ccstudio.installer.win32.feature.group
Registering com.ti.ccstudio.launcher.win32...
feature registered
Installing com.ti.ccstudio.launcher.win32...
Unzipping c:/ti/ccsv7/eclipse/downloads/ccs_launcher_win32_7.0.0.20161020.zip
com.ti.ccstudio.launcher.win32 installed
Registering com.ti.ccstudio.doc.win32...
feature registered
Installing com.ti.ccstudio.doc.win32...
Unzipping c:/ti/ccsv7/eclipse/downloads/ccs_doc_win32_7.4.0.20171207.zip
com.ti.ccstudio.doc.win32 installed
Registering com.ti.ccstudio.utils.cli.win32...
feature registered
Installing com.ti.ccstudio.utils.cli.win32...
Unzipping c:/ti/ccsv7/eclipse/downloads/ccs_utils_win32_1.0.0.20160210.zip
com.ti.ccstudio.utils.cli.win32 installed
Registering com.ti.ccstudio.targetdb.props.default.win32...
feature registered
Installing com.ti.ccstudio.targetdb.props.default.win32...
Unzipping c:/ti/ccsv7/eclipse/downloads/targetdb_default_props_7.4.0.master.N201711260800.zip
com.ti.ccstudio.targetdb.props.default.win32 installed
Registering com.ti.ccstudio.installer.win32...
feature registered
Installing com.ti.ccstudio.installer.win32...
Unzipping c:/ti/ccsv7/eclipse/downloads/7.4.0.00015.zip
com.ti.ccstudio.installer.win32 installed
Running post install steps
Registering new target content products

  • Are you installing from the web installer or offline installer? If it is the web installer, could you give the offline installer a try?
    http://processors.wiki.ti.com/index.php/Download_CCS#Download_the_latest_CCS

    When starting a new installation please be sure to install to an empty directory (ie delete any existing content prior to installation). 

    If it is the offline installer that fails, could you please zip up the /install_logs folder and attach it here?

  • 3000.install_logs.zipI was using the offline installer, and that's where it was failing. I made sure to delete the C:\ti directory before trying installation again, so it should be clean. /install_logs folder is attached, thank you!

  • The install logs seem to indicate you are running the Web installer (see line 67 of ccs_setup_7.4.0.00015_install.log). The offline installer would say Offline instead.

    When you download the offline installer, you would first extract the zip file to a temporary directory and then run the ccs_setup_7.4.0.00015.exe within the extracted directory. Is that what you did?

  • I thought I had been running the offline installer, but I redownloaded the offline installer, extracted, and then ran again to be sure. I'm still seeing the same issue, here are the install logs:

    6560.install_logs.zip

  • Hi David,

    Could you please check to see if there's a .metadata/.log file (note the . before both directory and filename) in C:/Users/DWhisler/AppData/Local/Temp/ccs_178e9712-dde1-4c6f-5011-1aabc401d76e/workspace? Could you post it here?

    We have seen this issue a couple of times, but have been unable to reproduce it here. If you kill off the tclsh running in the background, your CCS install should be ok. I make this suggestion as a workaround so you can go ahead with using CCS, while we try to figure this out.

    Danish

  • Here is that .log file:

    7220.log.txt
    !SESSION 2018-01-12 11:19:08.830 -----------------------------------------------
    eclipse.buildId=4.6.0.I20160606-1100
    java.version=1.8.0_112
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments:  -application com.ti.common.core.initialize -ccs.profileTag Installed Code Composer Studio 7.4.0.00015.
    Command-line arguments:  -os win32 -ws win32 -arch x86 -application com.ti.common.core.initialize -data C:/Users/DWhisler/AppData/Local/Temp/ccs_178e9712-dde1-4c6f-5011-1aabc401d76e/workspace -ccs.profileTag Installed Code Composer Studio 7.4.0.00015.
    
    !ENTRY com.ti.common.core 4 0 2018-01-12 11:19:09.810
    !MESSAGE path=ccs_base/DebugServer
    
    !ENTRY com.ti.common.core 4 0 2018-01-12 11:19:09.812
    !MESSAGE debugServerDir=C:/ti/ccsv7/ccs_base/DebugServer
    

    For the workaround to install, which tclsh process are you referring to, and at what point during the install process should I kill it? The only one I see is Tclsh Application in the Apps section of task manager, and when I kill that the setup tool disappears. 

  • Yes, killing the tclsh will exit the setup tool. The installation is complete (except for shortcuts) at this point. You should be able to use CCS and I'll get back to you regarding why you're having this problem, hopefully they'll be able to figure out what's causing the hang here. Sorry for the inconvenience.
    Danish
  • Hi David,

    Could you please try running the following command, in the <ccs>/ccsv7/eclipse/ directory:

    eclipsec -nosplash -data workspace -application com.ti.common.core.initialize

    and then please post the following:

    1. the output of the command in the terminal window
    2. the workspace/.metadata/.log file
    3. and any .log files in the <ccs>/ccsv7/eclipse/configuration/ directory

    Thanks,

    -Baltasar

  • I ran that command, and it seemed to hang at "Searching for new extension-sites to install", I left it running for about 20 minutes but it didn't seem to complete. Here's the command output before it froze, and the log files.

    workspace/.metadata/.log file:

    workspace_metadata_log.txt
    !SESSION 2018-01-16 12:24:18.119 -----------------------------------------------
    eclipse.buildId=4.6.0.I20160606-1100
    java.version=1.8.0_112
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments:  -application com.ti.common.core.initialize
    Command-line arguments:  -os win32 -ws win32 -arch x86 -data workspace -application com.ti.common.core.initialize
    
    !ENTRY com.ti.common.core 4 0 2018-01-16 12:24:19.051
    !MESSAGE path=ccs_base/DebugServer
    
    !ENTRY com.ti.common.core 4 0 2018-01-16 12:24:19.055
    !MESSAGE debugServerDir=C:/ti/ccsv7/ccs_base/DebugServer
    !SESSION 2018-01-16 13:52:29.791 -----------------------------------------------
    eclipse.buildId=4.6.0.I20160606-1100
    java.version=1.8.0_112
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments:  -application com.ti.common.core.initialize
    Command-line arguments:  -os win32 -ws win32 -arch x86 -data workspace -application com.ti.common.core.initialize
    
    !ENTRY com.ti.common.core 4 0 2018-01-16 13:52:30.741
    !MESSAGE path=ccs_base/DebugServer
    
    !ENTRY com.ti.common.core 4 0 2018-01-16 13:52:30.753
    !MESSAGE debugServerDir=C:/ti/ccsv7/ccs_base/DebugServer
    

    Another log file in the configuration direcotry:

    1516047314093.log
    !SESSION 2018-01-15 15:15:13.873 -----------------------------------------------
    eclipse.buildId=4.6.0.I20160606-1100
    java.version=1.8.0_112
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments:  -application com.ti.ccstudio.p2app -repository file:/C:/Users/DWhisler/Downloads/CCS7.4.0.00015_win32 (1)/CCS7.4.0.00015_win32/baserepo/dvtRepo,file:/C:/Users/DWhisler/Downloads/CCS7.4.0.00015_win32 (1)/CCS7.4.0.00015_win32/featurerepo -installiu com.ti.dvt2.uia.feature.group,com.ti.dvt2.analysis.suite.feature.group,com.ti.dvt.energytrace.feature.group,com.ti.tiva_stellaris.setup.win32.feature.group,com.ti.emulation.pack.win32.feature.group
    Command-line arguments:  -os win32 -ws win32 -arch x86 -data C:/Users/DWhisler/AppData/Local/Temp/ccs_103dbd74-0f1d-4b25-68a0-41082c28b915/workspace -application com.ti.ccstudio.p2app -repository file:/C:/Users/DWhisler/Downloads/CCS7.4.0.00015_win32 (1)/CCS7.4.0.00015_win32/baserepo/dvtRepo,file:/C:/Users/DWhisler/Downloads/CCS7.4.0.00015_win32 (1)/CCS7.4.0.00015_win32/featurerepo -installiu com.ti.dvt2.uia.feature.group,com.ti.dvt2.analysis.suite.feature.group,com.ti.dvt.energytrace.feature.group,com.ti.tiva_stellaris.setup.win32.feature.group,com.ti.emulation.pack.win32.feature.group
    
    !ENTRY org.eclipse.equinox.p2.operations 1 10006 2018-01-15 15:15:15.140
    !MESSAGE "DVT - System Analyzer" is already present because other installed software requires it.  It will be added to the installed software list.
    
    !ENTRY org.eclipse.equinox.p2.operations 2 10005 2018-01-15 15:15:15.145
    !MESSAGE "Analysis Suite" will be ignored because it is already installed.
    
    !ENTRY org.eclipse.equinox.p2.operations 1 10006 2018-01-15 15:15:15.149
    !MESSAGE "DVT - EnergyTrace" is already present because other installed software requires it.  It will be added to the installed software list.
    

    Terminal output before freezing:

    C:\ti\ccsv7\eclipse>eclipsec -nosplash -data workspace -application com.ti.common.core.initialize

    Searching for deleted extension-sites to uninstall:
    Finished!

    Searching for new extension-sites to install:

  • Hi David,

    Thanks for the log files.  They don't show any failures, so this might be a deadlock.  It would be helpful if you could take some time to generate a thread stack dump during the hang.

    The steps to generate a thread stack dump are described at . The section "Using jvisualvm" is the best approach for our case.

    In summary:

    1. You'll need to download a v1.8 JDK (not JRE, but JDK) [http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html].
    2. You'll need to edit the file <ccs>/ccsv7/eclipse/eclipse.ini in a text editor, and add the line "-Dcom.sun.management.jmxremote" at the very end of the file.
    3. Then launch the command "eclipsec -nosplash -data workspace -application com.ti.common.core.initialize" in the <ccs>/ccsv7/eclipse/ directory.
    4. Once you've reproduced the hang, launch the <jdk>/bin/jvisualvm app, and in it you'd be able to find your eclipse application in the LHS tree, then open the Threads tab, and click the Thread Dump button.  That would generate a textual stack dump, which could help us debug this issue.

    Thanks!

    - Baltasar

  • Hi David,

    Here is another, simpler, way of collecting the thread dump during the hang:

    1. Run the "initialize" command, but pipe its output into a text file, I.e: "eclipsec -nosplash -data workspace -application com.ti.common.core.initialize > out.txt"
    2. Now, when the hang happens, click Ctrl + Pause/Break in the terminal window.  Click it a few times.  Each time, a full thread dump will be captured into out.txt.
    3. Then post the generated out.txt file here.

    Thanks,

    - Baltasar

  • Hi David,

    I wanted to follow-up to see if you'd had a chance to collect the thread dumps requested by Baltasar. If you are able to, they would be a big help for us to investigate the cause of the CCS hang.

    Besides that though, I assume CCS itself installed fine and you have been able to move forward with your development. If that is not the case, please feel free to post an update. Thanks!