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.

LAUNCHXL-CC3235SF: Building errors

Part Number: LAUNCHXL-CC3235SF
Other Parts Discussed in Thread: CC3235SF, SYSCONFIG

Dear experts,

I am running AT+Command example on LAUNCHXL-CC3235SF. I got errors while building the project. Could you please tell me if they are important or they can be ignored and debug to the target and the example will work normally.

below, the output log of the building :

**** Build of configuration MCU+Image for project at_commands_CC3235SF_LAUNCHXL_tirtos_ccs ****

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

Building file: "../at_commands.c"
Invoking: ARM Compiler
"C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/Brahim SALH/workspace_v10/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs" --include_path="C:/Users/Brahim SALH/workspace_v10/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs/MCU+Image" --include_path="C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source" --include_path="C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/posix/ccs" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="at_commands.d_raw" --include_path="C:/Users/Brahim SALH/workspace_v10/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs/MCU+Image/syscfg" --cmd_file="C:/Users/Brahim SALH/workspace_v10/tirtos_builds_cc32xx_release_ccs/Debug/configPkg/compiler.opt" "../at_commands.c"
Finished building: "../at_commands.c"

Building target: "at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.out"
Invoking: ARM Linker
"C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on -z -m"at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.map" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/net/atcmd" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/net/utils" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/net/http/lib" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/net/mqtt/lib" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/net/lib" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/drivers/net/wifi/slnetif" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/drivers/net/wifi" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/kernel/tirtos/packages" -i"C:/Users/Brahim SALH/workspace_v10/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs/MCU+Image/syscfg" -i"C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/lib" --diag_wrap=off --display_error_number --warn_sections --xml_link_info="at_commands_CC3235SF_LAUNCHXL_tirtos_ccs_linkInfo.xml" --rom_model -o "at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.out" "./at_commands.obj" "./syscfg/ti_drivers_config.obj" "./syscfg/ti_net_config.obj" "./syscfg/ti_drivers_net_wifi_config.obj" "./main_tirtos.obj" "./uart_term.obj" "../cc32xxsf_tirtos.cmd" -lti_utils_build_linker.cmd.genlibs -l"C:/Users/Brahim SALH/workspace_v10/tirtos_builds_cc32xx_release_ccs/Debug/configPkg/linker.cmd" -l"ti/devices/cc32xx/driverlib/ccs/Release/driverlib.a" -llibc.a
<Linking>
Finished building target: "at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.out"

C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armobjcopy -O binary --only-section .text --only-section .const --only-section .cinit --only-section .resetVecs at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.out at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.bin
C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/drivers/net/imagecreator/bin/SLImageCreator.exe syscfg create_image --sdk_path C:/ti/simplelink_cc32xx_sdk_4_40_00_07 --json C:\Users\Brahim SALH\workspace_v10\at_commands_CC3235SF_LAUNCHXL_tirtos_ccs\MCU+Image/syscfg/ti_drivers_net_wifi_config.json --file C:\Users\Brahim SALH\workspace_v10\at_commands_CC3235SF_LAUNCHXL_tirtos_ccs\MCU+Image/syscfg/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.sli --mcu C:\Users\Brahim SALH\workspace_v10\at_commands_CC3235SF_LAUNCHXL_tirtos_ccs\MCU+Image/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.bin
makefile:176: recipe for target 'post-build' failed
usage: SLImageCreator.exe [-h] [-v] [-q]
{project,syscfg,image,tools,device,gui_cfg,misc} ...
SLImageCreator.exe: error: unrecognized arguments: SALH\workspace_v10\at_commands_CC3235SF_LAUNCHXL_tirtos_ccs\MCU+Image/syscfg/ti_drivers_net_wifi_config.json SALH\workspace_v10\at_commands_CC3235SF_LAUNCHXL_tirtos_ccs\MCU+Image/syscfg/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.sli SALH\workspace_v10\at_commands_CC3235SF_LAUNCHXL_tirtos_ccs\MCU+Image/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.bin
gmake[2]: [post-build] Error 2 (ignored)

**** Build Finished ****

Best Regards,

Brahim

  • Hi Brahim,

    The application MCU binary (at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.bin) built correctly. This binary can be used to flash the device using the standalone ImageCreator tools. Unfortunately, the post-build error is for creating the image for flashing the device from Code Composer Studio.

    CC32xx SDK 4.40 requires CCS version 10.2.0 or newer to use all of its features. From your logs, it says you are using version 10.1.1. Can you try installing the latest version of CCS?

    Best regards,

    Sarah

  • Hi Sarah,

    Thank you for your reply !

    I updated CCS to v10.2 but I still have the two ignored errors.

    I also have an error when I try to clean my project, it says: gmake: *** No rule to make target 'clean'.

    Please clarify if you have any idea about this issue.

    Best Regards,

    Brahim

  • Hi Brahim,

    Can you open your project properties, go to General, then Products, and check the SysConfig product version? You want to use SysConfig v1.7.0.

    Since the MCU application binary is building as expected, you can also use the standalone SysConfig ImageCreator tool to generate the SLI image and flash it to the device. Check out the SysConfig ImageCreator Basics on SimpleLink Academy. You can install the standalone SysConfig tool here: https://www.ti.com/tool/SYSCONFIG

    Best regards,

    Sarah

  • Hi Brahim,

    Can you also try changing your workspace path to have no spaces in it? Your username (Brahim SALH) may be causing the issue.

    Best regards,

    Sarah

  • Hello Sarah,

    I am already using SysConfig v1.7. I also changed the worlspace to C:\Workspace where there is no space in the path but I still have the ignored errors.

    I also got the error below when trying to clean my project, it seems that the .hex file doesn't exist.

    **** Clean-only build of configuration MCU+Image for project at_commands_CC3235SF_LAUNCHXL_tirtos_ccs ****

    "C:\\ti\\ccs1020\\ccs\\utils\\bin\\gmake" -k -j 12 clean -O

    DEL /F "syscfg\ti_drivers_config.h" "syscfg\ti_utils_build_linker.cmd.genlibs" "syscfg\syscfg_c.rov.xs" "syscfg\ti_utils_runtime_model.gv" "syscfg\ti_utils_runtime_Makefile" "syscfg\RegDomainSum5.csv" "syscfg\RegDomainSum24.csv" "syscfg\ti_drivers_net_wifi_config.json" "at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.hex" "syscfg\ti_drivers_config.c" "syscfg\ti_net_config.c" "syscfg\ti_drivers_net_wifi_config.c" "at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.out"
    DEL /F "at_commands.obj" "syscfg\ti_drivers_config.obj" "syscfg\ti_net_config.obj" "syscfg\ti_drivers_net_wifi_config.obj" "main_tirtos.obj" "uart_term.obj"
    DEL /F "at_commands.d" "syscfg\ti_drivers_config.d" "syscfg\ti_net_config.d" "syscfg\ti_drivers_net_wifi_config.d" "main_tirtos.d" "uart_term.d"
    RMDIR /S/Q "syscfg\" "syscfg\"
    Impossible de trouver C:\workspace_v10.2_C\at_commands_CC3235SF_LAUNCHXL_tirtos_ccs\MCU+Image\at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.hex
    Le fichier sp‚cifi‚ est introuvable.
    Finished clean

    Best Regards,

    Brahim

  • Hi Brahim,

    Sarah is out today, but should be back and able to keep helping you soon.

    As Sarah mentioned above, you should still be able to debug the target since the application binary is being built successfully.

    The errors you are seeing should just prevent you from programming the persistent storage (serial flash) used by the device with the CCS IDE. As a workaround for the flashing issue, you can use the tools mentioned by Sarah above. Hopefully that will allow you to continue making progress until she can look into the issue further.

    Best Regards,

    Ben M

  • Hi benjamin,

    Thank you for your reply. Since the application binary is being built successfully, I will continue developing my application until you resolve the mentioned issue..

    Best Regards,

    Brahim

  • Hi Brahim,

    I am glad you can continue developing using the standalone SysConfig tool.

    We will keep working on this issue. Can you also send me the build log using your new workspace?

    Best regards,

    Sarah

  • Hi Sarah,

    Here it is:

    **** Build of configuration MCU+Image for project at_commands_CC3235SF_LAUNCHXL_tirtos_ccs ****

    "C:\\ti\\ccs1020\\ccs\\utils\\bin\\gmake" -k -j 12 all -O

    Building file: "../at_commands.c"
    Invoking: Arm Compiler
    "C:/ti/ccs1020/ccs/tools/compiler/ti-cgt-arm_20.2.2.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="C:/workspace_v10.2_C/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs" --include_path="C:/workspace_v10.2_C/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs/MCU+Image" --include_path="C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source" --include_path="C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/posix/ccs" --include_path="C:/ti/ccs1020/ccs/tools/compiler/ti-cgt-arm_20.2.2.LTS/include" -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="at_commands.d_raw" --include_path="C:/workspace_v10.2_C/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs/MCU+Image/syscfg" --cmd_file="C:/workspace_v10.2_C/tirtos_builds_cc32xx_release_ccs/Debug/configPkg/compiler.opt" "../at_commands.c"
    Finished building: "../at_commands.c"

    Building target: "at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.out"
    Invoking: Arm Linker
    "C:/ti/ccs1020/ccs/tools/compiler/ti-cgt-arm_20.2.2.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on -z -m"at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.map" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/net/atcmd" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/net/utils" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/net/http/lib" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/net/mqtt/lib" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/net/lib" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/drivers/net/wifi/slnetif" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/drivers/net/wifi" -i"C:/ti/simplelink_cc32xx_sdk_4_40_00_07/kernel/tirtos/packages" -i"C:/workspace_v10.2_C/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs/MCU+Image/syscfg" -i"C:/ti/ccs1020/ccs/tools/compiler/ti-cgt-arm_20.2.2.LTS/lib" --diag_wrap=off --display_error_number --warn_sections --xml_link_info="at_commands_CC3235SF_LAUNCHXL_tirtos_ccs_linkInfo.xml" --rom_model -o "at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.out" "./at_commands.obj" "./syscfg/ti_drivers_config.obj" "./syscfg/ti_net_config.obj" "./syscfg/ti_drivers_net_wifi_config.obj" "./main_tirtos.obj" "./uart_term.obj" "../cc32xxsf_tirtos.cmd" -lti_utils_build_linker.cmd.genlibs -l"C:/workspace_v10.2_C/tirtos_builds_cc32xx_release_ccs/Debug/configPkg/linker.cmd" -l"ti/devices/cc32xx/driverlib/ccs/Release/driverlib.a" -llibc.a
    <Linking>
    Finished building target: "at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.out"

    C:/ti/ccs1020/ccs/tools/compiler/ti-cgt-arm_20.2.2.LTS/bin/armobjcopy -O binary --only-section .text --only-section .const --only-section .cinit --only-section .resetVecs at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.out at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.bin
    C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/drivers/net/imagecreator/bin/SLImageCreator.exe syscfg create_image --sdk_path C:/ti/simplelink_cc32xx_sdk_4_40_00_07 --json C:\workspace_v10.2_C\at_commands_CC3235SF_LAUNCHXL_tirtos_ccs\MCU+Image/syscfg/ti_drivers_net_wifi_config.json --file C:\workspace_v10.2_C\at_commands_CC3235SF_LAUNCHXL_tirtos_ccs\MCU+Image/syscfg/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.sli --mcu C:\workspace_v10.2_C\at_commands_CC3235SF_LAUNCHXL_tirtos_ccs\MCU+Image/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.bin
    makefile:176: recipe for target 'post-build' failed
    process_begin: CreateProcess(NULL, C:/ti/simplelink_cc32xx_sdk_4_40_00_07/source/ti/drivers/net/imagecreator/bin/SLImageCreator.exe syscfg create_image --sdk_path C:/ti/simplelink_cc32xx_sdk_4_40_00_07 --json C:\workspace_v10.2_C\at_commands_CC3235SF_LAUNCHXL_tirtos_ccs\MCU+Image/syscfg/ti_drivers_net_wifi_config.json --file C:\workspace_v10.2_C\at_commands_CC3235SF_LAUNCHXL_tirtos_ccs\MCU+Image/syscfg/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.sli --mcu C:\workspace_v10.2_C\at_commands_CC3235SF_LAUNCHXL_tirtos_ccs\MCU+Image/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs.bin, ...) failed.
    make (e=2): Le fichier spécifié est introuvable.

    gmake[2]: [post-build] Error 2 (ignored)

    **** Build Finished ****

    Best Regards,

    Brahim

  • Thank you, Brahim. I will report this error to our tools team.

    Best regards,

    Sarah