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-CC3235SF: CCS does not create binary file

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

Tool/software: Code Composer Studio

Hello,

I am using part CC323FSF, with Code Studio Composer version 9.0.3. I have completed debugging my program and I would like to get the .bin file in order to flash it using Uniflash.
Unfortunately, I went to the Debug folder of my project, but did not find the .bin file. In an other answer, I saw that this could be solved by inserting the following:

"${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/armofd" "${CG_TOOL_ROOT}/bin/armhex" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin"

However, even including the above did not solve my problem.
Do you have any suggestion on how to solve it?

Thanks in advance!

Best regards,

Artemis

  • Hi Artemis,

    Can you post the build output in the build console? You can cop&paste to a txt file and then upload the text file to this thread.

    Thanks

    ki

  • Hi,

    Thanks for the reply. Please find attached the build console, let me know if its ok:

    **** Build of configuration Debug for project WiFiUdpUartI2C ****

    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "../main_tirtos.c"
    Invoking: ARM Compiler
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.6.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/azografou/workspace_v9/WiFiUdpUartI2C" --include_path="C:/Users/azografou/workspace_v9/WiFiUdpUartI2C/Debug" --include_path="C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source/ti/net/bsd" --include_path="C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source" --include_path="C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source/ti/posix/ccs" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.6.LTS/include" -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="main_tirtos.d_raw" --include_path="C:/Users/azografou/workspace_v9/WiFiUdpUartI2C/Debug/syscfg" --cmd_file="C:/Users/azografou/workspace_v9/tirtos_builds_CC3235SF_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt" "../main_tirtos.c"
    Finished building: "../main_tirtos.c"

    Building target: "WiFiUdpUartI2C.out"
    Invoking: ARM Linker
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.6.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"WiFiUdpUartI2C.map" -i"C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source/ti/net/lib" -i"C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source/ti/drivers/net/wifi/slnetif" -i"C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source" -i"C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source/ti/drivers/net/wifi" -i"C:/ti/simplelink_cc32xx_sdk_4_20_00_07/kernel/tirtos/packages" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.6.LTS/lib" --diag_wrap=off --display_error_number --warn_sections --xml_link_info="WiFiUdpUartI2C_linkInfo.xml" --rom_model -o "WiFiUdpUartI2C.out" "./syscfg/ti_drivers_config.obj" "./syscfg/ti_net_config.obj" "./syscfg/ti_drivers_net_wifi_config.obj" "./main_tirtos.obj" "./platform.obj" "./uartI2C.obj" "./udpEcho.obj" "../CC3235SF_LAUNCHXL_TIRTOS.cmd" -l"ccs/m4/slnetsock_release.a" -l"ccs/Release/slnetifwifi.a" -l"ti/display/lib/display.aem4" -l"ti/grlib/lib/ccs/m4/grlib.a" -l"third_party/spiffs/lib/ccs/m4/spiffs.a" -l"ti/drivers/lib/drivers_cc32xx.aem4" -l"third_party/fatfs/lib/ccs/m4/fatfs.a" -l"ccs/rtos/simplelink.a" -l"ti/dpl/lib/dpl_cc32xx.aem4" -l"C:/Users/azografou/workspace_v9/tirtos_builds_CC3235SF_LAUNCHXL_release_ccs/Debug/configPkg/linker.cmd" -l"ti/devices/cc32xx/driverlib/ccs/Release/driverlib.a" -llibc.a
    <Linking>
    Finished building target: "WiFiUdpUartI2C.out"

    "C:/ti/ccs930/ccs/utils/tiobj2bin/tiobj2bin" "WiFiUdpUartI2C.out" "WiFiUdpUartI2C.bin" "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.6.LTS/bin/armofd" "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.6.LTS/bin/armhex" "C:/ti/ccs930/ccs/utils/tiobj2bin/mkhex4bin"

    **** Build Finished ****

    Looking forward to your reply.

    Best regards,

    Artemis

  • That is odd. Your output looks good, there was no error reported in the post-build step. You should see the bin file like so:

  • In my case I only see:

    I also see in the Debug file as you can see the debug files from the project I copied it from.

    Do you have any other suggestions?

    Thanks,

    Artemis

  • Can you open a DOS command window to:

    C:/Users/azografou/workspace_v9/WiFiUdpUartI2C/Debug

    And then run the following command?

    Artemis Zografou said:
    "C:/ti/ccs930/ccs/utils/tiobj2bin/tiobj2bin" "WiFiUdpUartI2C.out" "WiFiUdpUartI2C.bin" "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.6.LTS/bin/armofd" "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.6.LTS/bin/armhex" "C:/ti/ccs930/ccs/utils/tiobj2bin/mkhex4bin"

  • Hi,

    I run it twice and it worked !I don't know why it was not working from CCS.

    Thanks a lot! 

    Have a nice day,

    Artemis