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.

CC3235S: output bin file not getting created on example project

Part Number: CC3235S

Hi,

I am trying to load the image onto launchpad after compile, but the bin file never gets

created. The project compiles and can debug fine.

Here is the console output:


File "W:\sysconfiguserfiles.py", line 80, in _sign_and_copy
IOError: [Errno 2] No such file or directory: 'C:\\Users\\cynth\\workspace_v9_sdk5_10\\network_terminal_CC3235S_LAUNCHXL_freertos_ccs\\MCU+Image/network_terminal_CC3235S_LAUNCHXL_freertos_ccs.bin'
SLImageCreator returned -1
gmake[2]: [post-build] Error -1 (ignored)

Any ideas what is causing this?

Thanks, Tom

  • what tool (IDE) are you using for the compilation? (CCS? other?) does it says the binary was created successfully? (send console log)

    Did you check the path yourself? do you see the ".out" file?

  • Hi Kobi,

    I'm using the default compiler in CCS, here is the build log showing the .out to .bin failure.

    The .out file is created and in the MCU+Image directory

    <Linking>
    Finished building target: "network_terminal_CC3235S_LAUNCHXL_freertos_ccs.out"

    C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.8.LTS/bin/armobjcopy -O binary --only-section .text --only-section .const --only-section .cinit --only-section .resetVecs network_terminal_CC3235S_LAUNCHXL_freertos_ccs.out network_terminal_CC3235S_LAUNCHXL_freertos_ccs.bin
    makefile:184: recipe for target 'post-build' failed
    process_begin: CreateProcess(NULL, C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.8.LTS/bin/armobjcopy -O binary --only-section .text --only-section .const --only-section .cinit --only-section .resetVecs network_terminal_CC3235S_LAUNCHXL_freertos_ccs.out network_terminal_CC3235S_LAUNCHXL_freertos_ccs.bin, ...) failed.

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

  • which SDK are you using? 

    I saw that you are using an old CCS version (9.30). Please try to update to the latest one.

    I've just compiled the same example from SDK 5.10 using ccs1020 (compiler: ti-cgt-arm_20.2.5.LTS).

    You can also go to the your workspace and try to run the following command (in windows command line - "cmd") to generate the bin from the out (try with or without updating the CCS and the compiler).

    <workspace>\network_terminal_CC3235S_LAUNCHXL_tirtos_ccs\MCU+Image> c:\ti\ccs1020\ccs\tools\compiler\ti-cgt-arm_20.2.5.LTS\bin\armobjcopy.exe -O binary --only-section .text --only-section .const --only-section .cinit --only-section .resetVecs .\network_terminal_CC3235S_LAUNCHXL_tirtos_ccs.out test.bin

    Br,

    Kobi