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/CC2640R2F: Cause why CCS is not able to rediscover installed product

Part Number: CC2640R2F


Tool/software: Code Composer Studio

Hello,

my CCS can not discover my installed SDK and simplelink academy products. Additionally, some of my open projects where corrupted and the project config files where completely missing (.ccsproject, .cproject, .project, .xdchelp).

This happened from the CCS itself without any modification. I simply started CCS and all the errors occured. You have to know, the system was working fine last week before I closed it the last time. 

The following error message I was getting:

**** Build Finished ****
Buildfile generation error occurred..
Product 'com.ti.SIMPLELINK_CC2640R2_SDK' v1.50.0.58 is not currently installed and no compatible version is available. Please install this product or a compatible version.
Build stopped..

Things I tried:

- created new workspace and import old projects: no solution - same problem

- imported blank new simple_peripheral project from tirex: this project works, can be modified and successfully compiled

- started CCS exe with "-clean" suffix: no solution - same problem

- Windows->Preferences->Code Composer Studio->Products; tried "Rediscover" button: no solution - does not find my packages, but I checked it by myself. The packages are there. Also the "Product discovery path" is correct.

- reinstalled CC26040R2 SDK 1.50.00.58: SimpleLink SDK was successfully found through the "Rediscover" button

- compiling now works for this project. The others projects without the project config files like above mentioned can not be imported. Maybe I have to restart from a new example project and overwrite my source files and reconfigure the settings.

So CCS has corrupted the following files: SimpleLink SDK folder, xdctools folder, some of my opened projects (config files from CCS)

Question: Why did this happen? Whats the cause of that problem and how can i prevent it? I use CCS 8.0.0.00016.

Thanks.

  • Andre Vaas said:
    my CCS can not discover my installed SDK and simplelink academy products. Additionally, some of my open projects where corrupted and the project config files where completely missing (.ccsproject, .cproject, .project, .xdchelp).

    I'm sorry to hear of your project corruption issues.

    Although workspace corruption is something we have known to occur from time to time (using a new workspace usually addresses this), project corruption and disappearance of project metadata files is rather unusual. I can't explain what may have caused it. Unfortunately if you do not have a backup or version controlled project to retrieve, then you may have to recreate the project again. Sorry about the inconvenience caused due to this.

  • Hello,

    today a similar problem happened to my CCS:

    C:/SAPTemp/Ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/../../../tools/blestack/lib_search/lib_search         
    C:/SAPTemp/CodeComposerWorkspace3/simple_peripheral_cc2640r2lp_stack_library/TOOLS/build_config.opt
    C:/SAPTemp/Ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/blelib
    C:/SAPTemp/CodeComposerWorkspace3/simple_peripheral_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd cc2640
    C:/SAPTemp/Ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/../../../tools/blestack/lib_search/lib_search.xml
    C:/SAPTemp/Ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/symbols makefile:200: recipe for target 'pre-build' failed process_begin: CreateProcess(NULL, C:/SAPTemp/Ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/../../../tools/blestack/lib_search/lib_search
    C:/SAPTemp/CodeComposerWorkspace3/simple_peripheral_cc2640r2lp_stack_library/TOOLS/build_config.opt
    C:/SAPTemp/Ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/blelib
    C:/SAPTemp/CodeComposerWorkspace3/simple_peripheral_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd cc2640
    C:/SAPTemp/Ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/../../../tools/blestack/lib_search/lib_search.xml
    C:/SAPTemp/Ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/symbols, ...) failed. make (e=2): Das System kann die angegebene Datei nicht finden.

    Now I'am running out of patience. Could you tell me please, which folders and files do I have to remove from the computer to completely deinstall CCS? The only solution I see, is completely reinstall the whole CCS.

    Thank you.

  • Andre,

    Please take a look at this link for tips to troubleshoot and resolve such errors.

    If it is not an anti-virus issue, it could be that there is a conflict with another 'make' that is in your system PATH due to installation of another toolchain.
    If that's the cause of the error then reinstalling CCS alone will not resolve it. I would suggest trying out the tips in the above link first before reinstalling CCS.

    To do a clean uninstall of CCS simply delete the directory where it is installed and make sure there are no files/folders left over. 

  • I think, if it worked yesterday perfectly and today after restarting the machine this error came up, there must be something defective in the CCS itself. Random errors from day to day. Thanks.
  • Interference with an anti-virus could cause this type of random error. Do you have an anti-virus running - if so, which one?
    Could you try disabling it temporarily and try the build again?
  • Yes, on this machine is installed "Trend Micro OfficeScan" Antivirus. But as it is a computer from our company, I am not allowed and I have not the rights to disable the Antivirus. Not even temporary.
  • Another question is: Does CCS have problems with restriced windows user accounts? I installed CCS as admin, for installing programs there is no other option here. I use CCS as restricted windows user. I sometimes used CCS as admin (right click on windows icon and start as admin) hoping to get less problems. Does this "user-switching" lead to problems?

    Thanks.
  • Andre Vaas said:
    Yes, on this machine is installed "Trend Micro OfficeScan" Antivirus. But as it is a computer from our company, I am not allowed and I have not the rights to disable the Antivirus. Not even temporary.

    If you are not able to disable it completely, perhaps you could try adding CCS/gmake to the exception list of your Trend Micro Security software. You could check with Trend Micro on the exact procedure to do it, but I found this link which seems to explain how to do it.

  • Good idea, maybe I will try this next time :) But yesterday I completely removed everything belongig to CCS (program folder, AppData, ...) and reinstalled it. Now it works again with the exactly same project (import) and exactly same system settings and system variables. So the problem is clearly related to the messy programmed CCS. I really hope TI can increase the quality of its software products, like other companys (chip manufacturer) already do. It realy slows down our development time and experience.

    Thanks!
  • I am glad to hear that things are working well again, albeit after some troubles. Thank you for the update and your valuable feedback.