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/LAUNCHXL-CC1312R1: Some questions regarding SysConfig tool

Part Number: LAUNCHXL-CC1312R1
Other Parts Discussed in Thread: SYSCONFIG

Tool/software: Code Composer Studio

Sir,

I used CCS to import a CC1312R1 example project (sensor_oad_offchip) from SDK.

I noticed that I should use SysConfig tool to configure some system wide parameters, instead of

modifying the header files directly.

As to fit my board design, I have to modify some parameters, but I don't know how to.

1. I want to invert the following macros as defined in ti_drivers_config.h.

/* LEDs are active high */

#define CONFIG_GPIO_LED_ON (1)
#define CONFIG_GPIO_LED_OFF (0)

  I navigated into TI DRIVERS APP -> LED. There are configurations for CONFIG_LED_RED and CONFIG_LED_GREEN.

  But, I cannot find any items for what I need.

2. In TI DRIVERS APP -> BUTTON, I want to change the 'Pull' attribute of CONFIG_BTN_LEFT(RIGHT)  from 'pull up'

  to 'none'. Unfortunately, it is in lock state such that I can't change it. What can I do?

Thank you

Adam

  • Hi

    I do not think that the changes you want to implement is supported by sysConfig.

    What you need to do is to include the files generated by sysConfig  manually in the project, and the disable sysConfig.

    How this can be done you can see here:

    http://dev.ti.com/tirex/explore/content/simplelink_academy_cc13x2_26x2sdk_4_30_01_00/modules/tools/sysconfig_basics/sysconfig_basics.html#task-8-how-to-disable-sysconfig

    If you are using the 4.30 SDK, the additional steps must be taken:

    Copy ti_utils_build_linker.cmd.genlibs into your project's root directory.

    Additionally, modify the Project Properties → Build → ARM Linker → File Search Path to include ${PROJECT_LOC}.

    This is needed to pick up the new location of the generated linker file.

    BR

    Siri

  • Hi Siri,

    I carefully followed the steps  as described in the tutorial page (disable sysconfig), and rebuilt the project, but, I got below trouble: 

    Cannot open command file 'C:/Users/Adam/workspace_v10/ht_sensor_custom_1312/Release/syscfg/ti_154stack_toad_build_config.opts': No such file or directory CC1312R1_LAUNCHXL_fxns.c /ht_sensor_custom_1312 C/C++ Problem

    Did I still miss anything?

    Thank you in advance

    Adam

  • Hi Siri,

    I solved the issue described in the prior post. I found the config is in 'ARM Compiler-> ....->Command Files'.

    After coping the stuff to $(PROJ_LOC) and modify the config to match the path, the problem was solved.

    But, there is still a 'post build' issue like below

    D:/ti/simplelink_cc13x2_26x2_sdk_4_30_00_54/tools/ti154stack/turbo_oad/toad_image_tool --verbose -j C:/Users/Adam/workspace_v10/ht_sensor_private_1312/Release/syscfg/ti_154stack_toad_config.json -k

    .....

    Although the .out, .hex, .bin files were generated successfully, I still want to fix it in case that I need to

    enable turbo oad in the future.

    I cannot find where the path config is for ti_154stack_toad_config.json.

    Can you help me again?

    Adam

  • Hi Adam,

    Are you able to use the ti_154stack_toad_config.json.xdt file found in C:\ti\simplelink_cc13x2_26x2_sdk_4_30_00_54\source\ti\ti154stack\.meta\templates ?

  • Hi Marie,

    I am sorry that I did NOT show the complete error message in CCS in my last post. Please check below.

    D:/ti/simplelink_cc13x2_26x2_sdk_4_30_00_54/tools/ti154stack/turbo_oad/toad_image_tool --verbose -j C:/Users/Adam/workspace_v10/ht_sensor_custom_1312/Release/syscfg/ti_154stack_toad_config.json -k D:/ti/simplelink_cc13x2_26x2_sdk_4_30_00_54/tools/common/oad/private.pem -nimg C:/Users/Adam/workspace_v10/ht_sensor_custom_1312/Release/ht_sensor_custom_1312.bin -o C:/Users/Adam/workspace_v10/ht_sensor_custom_1312/Release/ht_sensor_custom_1312.dim
    Fatal Error: -- No such file or directory. Exiting.

    In fact, I have the sample ti_154stack_toad_config.json file. I just want to instruct the CCS to 

    change searching directory for this file. (I'm trying disable SysConfig way.)

    Thank you 

    Adam

  • Hi Adam,

    Can you try to modify the post-build step to change the search location for ti_154stack_toad_config.json as follows (assuming the SysConfig tool has been ran once to generate the file):

    1. Open CCS Project properties
    2. Navigate to Build -> Steps -> Post-build steps
    3. Modify the tool invocation to point to the correct path for ti_154stack_toad_config.json. Assuming the customer is storing the file in the top-level project directory, the command can be modified to change
      ${PROJECT_LOC}/${ConfigName}/syscfg/ti_154stack_toad_config.json

      to

      ${PROJECT_LOC}/ti_154stack_toad_config.json

      in the post-build step. Full command for reference with the modified path:

    ${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/tools/ti154stack/turbo_oad/toad_image_tool --verbose -j ${PROJECT_LOC}/ti_154stack_toad_config.json -k ${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/tools/common/oad/private.pem -nimg ${PROJECT_LOC}/${ConfigName}/${ProjName}.bin -o ${PROJECT_LOC}/${ConfigName}/${ProjName}.dim