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.

LP-CC1352P7: Trying to Build Simple Examples with SDK v6.1

Part Number: LP-CC1352P7
Other Parts Discussed in Thread: CC1352P7, SYSCONFIG

Dear Support:

I recently installed SDK v6.10 for the CC1352P7 LP and trying to port my older SDK v5.20 applications to this newer SDK and having issues.  So I just tried to do a sanity check and import the gpiointerrupt and rfPacketRx examples and to my dismay, I am not able to build them.  This is what I am getting when I try to build the gpiointerrupt example:

Building file: "../gpiointerrupt.syscfg"
Invoking: SysConfig
"C:/TI/ccs1120/ccs/utils/sysconfig_1.12.0/sysconfig_cli.bat" -s "C:/TI/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/.metadata/product.json" --script "C:/Projects/ccs11.2/cc1352p7_6_10/gpiointerrupt_LP_CC1352P7_1_tirtos_ccs/gpiointerrupt.syscfg" -o "syscfg" --compiler ccs

Usage:
cli [-o <dir>] [-s <file>] [-u <string>] [-b <name>] [-d <name>] [-p <name>] [-r <name>] [--treatWarningsAsErrors] <script>
cli --help
cli --version

example: cli -s meta_data/sdk.json -d MSP432P401R scripts/two_uarts.js
example: -s sdk.json -d MSP432P401R -o ./display_cfg sdk/cfgs/display.syscfg

Note that the all arguments other than '--help' and '--version' may also be
specified via the script with an embedded @cliArgs comment directive.
E.g. // @cliArgs -d MSP432P401R

If an argument is embedded in a script and explicitly specified via the CLI
then precedence is given to the CLI arguments. Additionally, specifying
"--board" or "--device" on the CLI will override any "--board" and "--device"
arguments specified in the script.

subdir_rules.mk:16: recipe for target 'build-999608447' failed
/ti/boards/LP_CC1352P7_1: Device not found: CC1352P7RGZ
gmake: *** [build-999608447] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

I tried to build the rfPacketRx example as well and similar build problem as above.  I've only done this about a million times so I am surprised this is failing with this latest SDK.  Any ideas as to what I am doing wrong here?  Please advise.

Thanks,
Tim

  • Hi Tim,

    This is odd. You seem to be using the correct SysConfig version (at least based on the path).

    Can you please check if the following directory exists?: C:/TI/ccs1120/ccs/utils/sysconfig_1.12.0/dist/deviceData/CC1352P7RGZ
    and if it contains a CC1352P7RGZ.json file.

    Regards,
    Nikolaj

  • Hey Nikolaj:

    Yes, this directory does exist below on my laptop:

    C:\TI\ccs1120\ccs\utils\sysconfig_1.12.0\dist\deviceData\CC1352P7RGZ

    with a filename of "CC1352P7RGZ.json"

    Here is the complete console output when doing a rebuild on the gpiointerrupt example:

    **** Clean-only build of configuration Debug for project gpiointerrupt_LP_CC1352P7_1_tirtos_ccs ****

    "C:\\TI\\ccs1120\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O

    DEL /F "syscfg\error.h" "gpiointerrupt_LP_CC1352P7_1_tirtos_ccs.hex" "gpiointerrupt_LP_CC1352P7_1_tirtos_ccs.out"
    DEL /F "gpiointerrupt.obj" "main_tirtos.obj"
    DEL /F "gpiointerrupt.d" "main_tirtos.d"
    RMDIR /S/Q "syscfg\"
    Could Not Find C:\Projects\ccs11.2\cc1352p7_6_10\gpiointerrupt_LP_CC1352P7_1_tirtos_ccs\Debug\gpiointerrupt.obj
    Could Not Find C:\Projects\ccs11.2\cc1352p7_6_10\gpiointerrupt_LP_CC1352P7_1_tirtos_ccs\Debug\gpiointerrupt.d
    Finished clean

    **** Build Finished ****

    **** Build of configuration Debug for project gpiointerrupt_LP_CC1352P7_1_tirtos_ccs ****

    "C:\\TI\\ccs1120\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "../gpiointerrupt.syscfg"
    Invoking: SysConfig
    "C:/TI/ccs1120/ccs/utils/sysconfig_1.12.0/sysconfig_cli.bat" -s "C:/TI/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/.metadata/product.json" --script "C:/Projects/ccs11.2/cc1352p7_6_10/gpiointerrupt_LP_CC1352P7_1_tirtos_ccs/gpiointerrupt.syscfg" -o "syscfg" --compiler ccs

    Usage:
    cli [-o <dir>] [-s <file>] [-u <string>] [-b <name>] [-d <name>] [-p <name>] [-r <name>] [--treatWarningsAsErrors] <script>
    cli --help
    cli --version

    example: cli -s meta_data/sdk.json -d MSP432P401R scripts/two_uarts.js
    example: -s sdk.json -d MSP432P401R -o ./display_cfg sdk/cfgs/display.syscfg

    Note that the all arguments other than '--help' and '--version' may also be
    specified via the script with an embedded @cliArgs comment directive.
    E.g. // @cliArgs -d MSP432P401R

    If an argument is embedded in a script and explicitly specified via the CLI
    then precedence is given to the CLI arguments. Additionally, specifying
    "--board" or "--device" on the CLI will override any "--board" and "--device"
    arguments specified in the script.

    subdir_rules.mk:16: recipe for target 'build-999608447' failed
    /ti/boards/LP_CC1352P7_1: Device not found: CC1352P7RGZ
    gmake: *** [build-999608447] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    Do you know what may be going wrong here?

    Thanks,
    Tim

  • Hi Tim,

    Can you try to install the latest version of SysConfig (v1.12.1) (from https://www.ti.com/tool/SYSCONFIG) and let me know if you find the directory and file I was referring to earlier.

    I just installed SysConfig v1.12.1, and my installation contains the expected files.
    I will expect that your installation will also contain the files.

    If your installation contains the expected files you can use the new SysConfig installation, by going to project properties -> General -> Products -> Click on SysConfig -> Edit -> Select your new SysConfig version.

    Note you probably have to make CCS detect the new SysConfig version before you can select it. This can be done by Window -> Preferences ->  Expand Code Composer Studio -> Products -> Refresh.

    After updating the SysConfig version you should be able to build the project without any issues.

    Regards,
    Nikolaj

  • Hey Nikolaj:

    I have already installed v1.12.1 at this location "C:\TI\sysconfig_1.12.1".  I am having no issues with SDK v5.20, but was using SysConfig v1.8.2 with it.  So you are wanting me to reinstall SysConfig v1.12.1 and try this again?

    Thanks,
    Tim

  • Hey Nikolaj:

    I have tried using SysConfig v1.12.0 an v1.12.1 and tried examples from CC1352P1_LAUNCHXL and CC1352R1_LAUNCHXL and still the same problem.  Never seen this happen before where none of the projects will build and it complains that the device is not found.   Any idea as to what is going on here with this new SDK?

    Thansks,
    Tim

  • Hi Tim,

    Does the dist/deviceData/CC1352P7RGZ directory exist in your SysConfig v1.12.1 installation? 

    Thanks,
    Nikolaj

  • Hey Nikolaj:

    Yes, correct.  This is what is located on my laptop:

    C:\TI\sysconfig_1.12.1\dist\deviceData\CC1352P7RGZ

    and this file "CC1352P7RGZ.json" is located there.  One of my colleagues, Morten Braathen, is having a similar problem with his builds as well.  Any other ideas as to what is the problem?

    Thanks,
    Tim

  • Hey Nikolaj:

    I also tried using the same version of CCS v11.2 to build examples from SDK v5.2 and no issues with importing and building.  I also re-installed SysConfig v1.12.1 and tried importing some example projects from SDK v6.10 and messing around with a bunch of different project settings and don't know which once fixed the problem, but it works now.  I suspect the main fix was un-installing SysConfig v1.12.1 and re-installing was the main problem.  Anyways looks like I am over this hurdle for now.  You were on the right track so thanks for the prod to narrow in on SysConfig.  Thanks for your help.

    Tim