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.

CC1310: I2C bme280 with CC1310

Part Number: CC1310
Other Parts Discussed in Thread: SYSCONFIG

Hi,

I am trying to run example from Resource Explorer.

I have found project in SAIL with name i2cbme280. I have clicked import and I can see it in my workspace.

Problem is when I try to build it with CCS.

Here is what states in console:

"


**** Build of configuration Debug for project i2cbme280_CC1310_LAUNCHXL_tirtos_ccs ****

"C:\\ti\\ccs1011\\ccs\\utils\\bin\\gmake" -k -j 4 all -O

Building file: "../i2cbme280.syscfg"
Invoking: SysConfig
"C:/ti/ccs1011/ccs/utils/sysconfig_1.6.0/sysconfig_cli.bat" -s "C:/ti/sail_1_50_00_00/.metadata/product.json" -s "/.metadata/product.json" -o "syscfg" "../i2cbme280.syscfg"

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-2056788063' failed
Invalid argument '-s': File "C:\.metadata\product.json" does not exist
gmake: *** [build-2056788063] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

"

What can I do to fix that?

Best regards

  • Hi

    I am trying to get someone familiar with the plugin to help you out. We will get back to you as soon as possible.

    BR

    Siri

  • Hi again

    I just learned that the SAIL version 1.50.00 is released mainly to support SysConfig. Since there is no sysConfig support in the SDKs for CC13x0, you should try to use an older version of the SAIL plugin. I tested with version 1.30, and that worked as expected.

    BR

    Siri

  • Hi,

    Which simplelink should I use?

    I have simplelink cc13x0 sdk 3.20.00.23, 4.10.01.01, 4.10.02.04?

    Best regards

  • I tested with 2_20_00_38, as this is what the 1_30 version of sail is using by default.

    Siri

  • I still have a lot of errors. I have got CCS 10.1.1.00004.

    Here are my include paths:

    "

    C:\ti\xdctools_3_50_07_20_core\packages
    C:\ti\simplelink_cc13x0_sdk_2_20_00_38\source
    C:\ti\simplelink_cc13x0_sdk_2_20_00_38\kernel\tirtos\packages
    C:\ti\simplelink_cc13x0_sdk_2_20_00_38\source\ti\posix\ccs
    C:\ti\simplelink_cc13x0_sdk_2_20_00_38\source\ti\devices\cc13x0\driverlib
    ${COM_TI_SAIL_INCLUDE_PATH}
    ${INHERITED_INCLUDE_PATH}
    ${PROJECT_ROOT}
    ${COM_TI_SIMPLELINK_CC13X0_SDK_INSTALL_DIR}/source/ti/posix/ccs
    ${COM_TI_SAIL_INSTALL_DIR}/source
    ${CG_TOOL_ROOT}/include

    "

    File search paths: 

    "

    ${INHERITED_LIBRARIES}
    ${COM_TI_SAIL_LIBRARIES}
    ${COM_TI_SAIL_INSTALL_DIR}/source/ti/sail/lib/ccs/cc13x0/sail.lib
    ${COM_TI_SIMPLELINK_CC13X0_SDK_INSTALL_DIR}/source/ti/display/lib/display.aem3
    C:\ti\simplelink_cc13x0_sdk_4_10_02_04\source\ti\devices\cc13x0\driverlib\ioc.h
    ${COM_TI_SIMPLELINK_CC13X0_SDK_INSTALL_DIR}/source/ti/grlib/lib/ccs/m3/grlib.a
    ${COM_TI_SIMPLELINK_CC13X0_SDK_INSTALL_DIR}/source/ti/drivers/rf/lib/rf_multiMode_cc13x0.aem3
    ${COM_TI_SIMPLELINK_CC13X0_SDK_INSTALL_DIR}/source/ti/drivers/lib/drivers_cc13x0.aem3
    ${COM_TI_SIMPLELINK_CC13X0_SDK_INSTALL_DIR}/source/ti/drivers/pdm/lib/pdm_cc13x0.aem3
    ${COM_TI_SIMPLELINK_CC13X0_SDK_INSTALL_DIR}/kernel/tirtos/packages/ti/dpl/lib/dpl_cc13x0.aem3
    ${GENERATED_LIBRARIES}
    ${COM_TI_SIMPLELINK_CC13X0_SDK_INSTALL_DIR}/source/ti/devices/cc13x0/driverlib/bin/ccs/driverlib.lib
    libc.a

    "

    And a lot of errors like:

    "

    error #10008-D: cannot find file "/source/ti/display/lib/display.aem3"
    "C:/ti/simplelink_cc13x0_sdk_4_10_02_04/source/ti/devices/cc13x0/driverlib/ioc.h", line 62: error #19000-D: can't open file: <stdbool.h>
    "C:/ti/simplelink_cc13x0_sdk_4_10_02_04/source/ti/devices/cc13x0/driverlib/ioc.h", line 63: error

    "

    Artur

  • Please try and use the CCS version recommended and tested with the 2_20 SDK.

    This is Code Composer Studio: 8.1.0.00011

    That wast he version I tested with.

    Start with a clean workspace, and use the import function to import the example you want to test.

    Siri

  • I have download and installed CCS 8.1.0.

    Project example build fine.

    Problem started when I was trying to launch debug.

    Firstly CCS forced me to do some update on LaunchXL:

    Then it could not connect to board:

    Regards,

    Artur

  • Not sure what that message means. Have you tried to see if you get contact with the board using SmartRF Studio for example?

  • Now it have just started to work, for now I am able to see that BME did not send any data.

    Did you maybe try to run this example with BME280 connected to LaunchXL?

    Regards,

    Artur

  • It is indeed starting to work.

    I had switched SDA and SCL and I am able to see data.

    If everything works for some time I probably end this topic soon.

    Thank you and regards,

    Artur

  • Glad to hear you got things up and running. I will close the case, and then you can re-open or post a new questions if something else come up.

    BR

    Siri