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: Can't select TI ARM Compiler 5.2.6 / 5.2.7 although installed

Other Parts Discussed in Thread: BLE-STACK

Hy there,

kind of a strange thing: Tried to switch to BLE Stack 2.2 on a new PC (it is not possible to have 2.1 and 2.2 on the same PC, right)

I also installed TI ARM Compiler Tools 5.2.6 as described, it shows in my installation details

But in project settings, I can't select the 5.2.6 compiler

Also, I can't see the compiler in compiler folder in c:\ti\ccsv6\tools\compiler

When I try to build stack or app I get build errors.

What am I doing wrong?

Regards

Harald

  • Hi Harald,

    You can have different BLE-Stack versions on your PC; I have 2.0 - 2.2.

    Can you run the SW update in CCS to get 5.2.7 or 15.12.3.LTS compiler updates? The latter fixes the error that you show in the build log.

    Best wishes
  • Hy,

    thanks for the quick response.

    > You can have different BLE-Stack versions on your PC; I have 2.0 - 2.2.

    Would I need to install the different versions to different folders? At the moment, I use the default install dir c:\ti. Wouldn't the different version interfere at the same location?

    Anyway, we are in a critical phase of the project, so I won't do any experiments with my main develop PC to still be able to compile the main branch.

    In the mean time I installed Stack 2.2 to yet another PC and it works just fine. I can see and use compiler version 5.2.6 / 5.2.7 and compile the sample projects no problem.

    > Can you run the SW update in CCS to get 5.2.7 or 15.12.3.LTS compiler updates?

    I tried back and forth, no success. At one point I could compile the project withput errors but it didn't run on my target (the _taskFxn never got called)

    The PC, that causes the problems has some specialties:

    - It is virtual PC (VMWare)

    - I had previously several other BLE Stack installations (1.4 / 2.0 / 2.1) and try to deinstall by deleting the installed folders. Might that be the reason? What is the recommended way to deinstall a BLE installation?

    Regards

    Harald

  • Hi JXS,

    I have the same problem as Harald.

    * I installed the ARM Compiler Tools 15.2.3 installed in the  CCS Instalation Details but I only have the choice for TI v15.12.1.LTS toolchain in the Build Properties.

    * I installed the ARM Compiler Tools 5.2.6 in the  CCS Instalation Details but I only have the choice for TI v5.2.5 toolchain in the Build Properties.

    In the tools/compiler/ directory of the CCS installation path there is only the toolchain installed at CCS installation time.

    My CCS is Version: 6.1.3.00034 

    Best Regards

    Jérôme

  • Harald - You can have multiple BLE-Stack SDK installations. The default path is C:\ti\simplelink\ble_sdk_version_xx (as specified in release notes). You can un-install with the uninstaller from windows control panel or via the start menu link.

    Can both of you use the "More" button to force the compiler to v5.2.6+? It seems that it's auto-selecting v15.12.1 over v5.2.6. The More button should allow you to override the 15.12.1.LTS.

    Let me know if that works. Otherwise, I'll need to transfer this to the CCS team.

    Best wishes
  • In the more button there is the same choice: TI v15.12.1.LTS and TI v5.2.5. But TI v15.12.2.LTS+ TI v5.2.6+ are not available even tough installed.
    I think the installation of additional toolchain in CCS is buggy because there is no toolchain folder installed in the tools/compiler/ directory of the CCS installation path.
  • Hy, same for me: I can't select anything else on "more".
    As for the deinstallation: I uninstalled everything that is related to the TI installation from Control panel (BLE, TI RTOS, CCS) but still, my c:\ti\ folder has 1 GB (!) of data. To start from scratch: Shall I delete c:\ti? Anything else? Any registry entries? Anything in %APPDATA% or anywhere else in my user's folder?
    Thanks
    Harald
  • I've moved this thread to the CCS forum since this issue relates to compiler installation / selection.

    Best wishes
  • Hy, I still suspect a previous installation as the root cause: Now I tried to delete everything related from the PC (registry, folders, workspaces, program data) and reinstalled BLE Stack 2.2 / CCS from scratch. And I can select ARM compiler 5.2.6...
  • Hi JXS,
    I did as follow to reinstall CCS:
    * uninstalled CCS and all TI's related software (tools, BLE Stack, ..) with Windows's utility.
    * removed C:\ti folder
    * removed C:\Users\ME\AppData\Local\Texas Instrument ; C:\Users\ME\Workspace ; C:\Users\ME\ti ; C:\Users\ME\Texas Instrument)

    I couldn't find any key in Windows register keys.

    I reinstalled CCS (with all options) in another folder than C:\ti. Then I updated CCS at first start up
    and installed 5.2.7 toolchain. It does not solve the problem: I still have 15.2.3 and 5.2.7 toolchains
    appearing as installed but not available in C:\texas\ccsv6\tools\compiler\ directory nor in the selection in CCS Project's build configuration.

    Did I forget to remove something ?

    Regards,

    Jérôme O.
  • Could you please zip up and post the contents of ccsv6/install_logs* directories? Also, the ccsv6/eclipse/ccs_config.xml file. I'd like to confirm that your compiler update completed successfully.
    Thanks
    Danish
  • Hy,

    >I did as follow to reinstall CCS:

    I did the same thing. I can't remember, if there were any leftovers in registry

    > in another folder than C:\ti

    I installed it to c:\ti

    In my case, compiler 5.2.6 is available

    And it compiles alright using this compiler:

    'Building file: C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/hal/src/common/hal_assert.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.6/bin/armcl" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_00_31/exampl

    Strange thing is, that I can't see the 5.2.6 compiler in the installation details

    But the folder c:\ti\ccsv6\tools\ti-cgt-arm_5.2.6 exists

    So something is still strange. However I can compile, so I am happy.

    Regards
    Harald

  • Hi please find attached the files you asked. I added a copy by hand of the listing of installed plugin software of the CCS's Installation Details window.
  • Hi Jerome,
    I don't see the listing of installed plugin software. Could you please attach the ccs_config.xml file from C:/texas/ccsv6/eclipse/.
    Also, could you send a listing of the C:/texas/ccsv6/eclipse/downloads folder?
    thanks
    Danish
  • I found the config file and the listing of the installed plugins.
    Could you please send a listing of the C:/texas/ccsv6/eclipse/downloads folder?
  • Hi danishinnis,

    Sorry I should not have answered on this thread. Please find the comple debug zip file on the other trhead:
    e2e.ti.com/.../1928031

    Regards,
  • No problem. Can I have the version of the compiler you'd like to install? And the directory listing of ccsv6/eclipse/downloads, please?
  • Here is the lisiting:

    ccs_update_5.5.0.00092.exe
    com.ti.cgt.tms470.15.win32.properties
    com.ti.cgt.tms470.15.win32_manifest.xml
    startupInstaller_6.0.0.201508191607.log
    ti_cgt_tms470_15.12.3.LTS_windows_installer.exe

    I want to install TI ARM 15.12.3.LTS in order to be able to build Project0 stack. I see that the installer is present in the eclipse/download folder.

    Regards,

  • Hi danishinnis,

    Eventually I installed by hand TI ARM 15.12.3.LTS compiler from the install file downloaded by eclipse in ccsv6/eclipse/downloads. I launch the installation file with admin rights and told it to install the toolchain in the ccsv6/tools/compiler/arm_15.12.3.LTS directory. Then CCS/Ecplise is able to detect the toolchain. I can now build Project0 stack.
    Thanks for your help :)

    Jérôme
  • I suggest to install the toolchain with CCS in order to get the installer file in the ccsv6/eclipse/downloads/ directory and install it by hand in ccsv6/tools/compiler/arm_15.12.3.LTS if CCS failed to do it by itself (do not forget to launch installer with admin rights)
  • Glad to hear that. That's where I was going when I asked for the list of files in the downloads folder.
    Danish
  • Hi Jerome Olivier,

    I have the same problem, too.
    Your suggestion is work, thanks.

    Peter