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.

SIMPLELINK-MSP432-SDK: Arm Compiler Tools Update to v20.2.7.LTS breaks MSP432_SDK "Product discovery path" on Linux

Part Number: SIMPLELINK-MSP432-SDK

Code Composer Studio 11.2.0.00007 

Today an update was received automatically for Arm Compiler Tools v20.2.7.LTS. The install path for all TI software is /opt/ti. This includes (showing 2 levels deep):

/opt/ti
├── ccs1120
│   ├── Code Composer Studio 11.2.0.desktop
│   ├── ccs
│   └── xdctools_3_62_01_16_core
└── simplelink_msp432p4_sdk_3_40_01_02
    ├── changelog.html
    ├── docs
    ├── examples
    ├── imports.mak
    ├── kernel
    ├── license_simplelink_msp432p4_sdk_3_40_01_02.txt
    ├── manifest_simplelink_msp432p4_sdk_3_40_01_02.html
    ├── release_notes_simplelink_msp432p4_sdk_3_40_01_02.html
    ├── simplelinkmsp432p4sdk_3_40_01_02.log
    ├── source
    ├── tools
    ├── uninstall
    └── uninstall.dat

After installing the update none of my projects would build because the path to /opt/ti was gone from my preferences. This meant the SDK could not be found.

The last time I updated my Linux install (on a fresh hard-drive going from openSUSE Leap 15.0 to 15.4) I installed CCS 11.2. The new install of CCS found the SDK path just fine. All I had to change were the build settings in all projects to use the new 3.40.1.02. My SDK install has always been in /opt/ti, (both under CCS 9.3 on Leap 15.0 and now with CCS 11.2 on Leap 15.4) All projects build setting required update from 3.30.0.13 to 3.40.1.02, but that just required selecting the new version from the drop-down box -- CCS 11.2 knew where it was located.

However after the auto update today to Arm Compiler Tools v20.2.7.LTS, CCS no longer looked in /opt/ti, that config was gone. I had to manually add /opt/ti as a path to search as a Settings -> Code Composer Studio -> Products -> Product discovery path -- something I had never had to do before. Not with either install (CCS 9.3 or 11.2) and not with any version of the SDK I had installed. The setting that was lost and had to be added after update is shown in this screenshot:

This appears to be a bug in the Arm Compiler Tools v20.2.7.LTS update that was auto-installed today. Let me know if there are any logs or anything else I can send (you will probably have to tell me where to look for them). I'm happy to send whatever information you need.

  • Hello,

    However after the auto update today to Arm Compiler Tools v20.2.7.LTS, CCS no longer looked in /opt/ti, that config was gone. I had to manually add /opt/ti as a path to search as a Settings -> Code Composer Studio -> Products -> Product discovery path -- something I had never had to do before

    I'm not sure how the issue is with this particular compiler version but I assime you have installed/updated to other versions of the compiler without issue.

    I assume you installed CCS (and other packages) with sudo. Are you also running it with sudo?

    Thanks

    ki

  • Ki,

    Thanks for the reply. No, the the install directory /opt/ti is owned by my user and group:

    l /opt/ti
    total 16
    drwxr-xr-x 4 david david 4096 Jun 17 05:29 .
    drwxr-xr-x 8 root  root  4096 Sep 19 20:03 ..
    drwxr-xr-x 4 david david 4096 Jun 17 05:12 ccs1120
    drwxr-xr-x 8 david david 4096 Jun 17 05:20 simplelink_msp432p4_sdk_3_40_01_02
    

    Permissions are not the issue. The problem was the actual loss of the ProductDiscoveryPath after update. Yes, I've used this same setup for several years from CCS 9 on. There have been a few stray update issues, but never anything that lost part of the config and prevented projects from compiling.

    Any other ideas?

  • i'm a bit baffled by this one. I have not heard of or experienced this issue. I will see if I can reproduce this issue on my local linux machines and keep you posted

  • Ok, I can reproduce this issue. I have filed a bug for this. Tracking ID: https://sir.ext.ti.com/jira/browse/EXT_EP-10928

    Thanks

    ki