Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

TMS320F280039C: Post-build failed in CCS12.2

Part Number: TMS320F280039C

Greeting,

I use post-build step with CCS12.2 to convert the .out file to binary image but ran into a problem.

The console shows the messages below:

"E:/ti/ccs1220/ccs/utils/tiobj2bin/tiobj2bin" "Boot.out" "Boot.bin" "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/ofd2000" "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/hex2000" "E:/ti/ccs1220/ccs/utils/tiobj2bin/mkhex4bin"
makefile:201: recipe for target 'post-build' failed
'E:' is not recognized as an internal or external command,
operable program or batch file.
gmake[2]: [post-build] Error 255 (ignored)

The following command is used as post-build step:

"${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/ofd2000" "${CG_TOOL_ROOT}/bin/hex2000" "${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin"

This problem doesn't occur in the previous version (CCS12.1).

Any suggestions to solve this problem?

Regards,

Watch

  • Hi,

    'E:' is not recognized as an internal or external command,

    Do you have E drive mounted on your computer

    Can you open the CCS and check if CCS_INSTALL_ROOT. is set as E:/ti/ccs1220 

    Regards, Santosh

  • Hi Santosh,

    Please see path variables below:

    Regards,

    Watch

  • Can you please send the full log from console window?

  • Hi Santosh,

    Please see the full log below:

    **** Clean-only build of configuration Debug for project Boot ****

    "E:\\ti\\ccs1220\\ccs\\utils\\bin\\gmake" -k -j 4 clean -O

    DEL /F "Boot.out"
    DEL /F "Libraries\BSP\TI\common\source\device.obj" "Libraries\BSP\TI\common\source\f28003x_adc.obj" "Libraries\BSP\TI\common\source\f28003x_codestartbranch.obj" "Libraries\BSP\TI\common\source\f28003x_cputimers.obj" "Libraries\BSP\TI\common\source\f28003x_dbgier.obj" "Libraries\BSP\TI\common\source\f28003x_defaultisr.obj" "Libraries\BSP\TI\common\source\f28003x_dma.obj" "Libraries\BSP\TI\common\source\f28003x_epwm.obj" "Libraries\BSP\TI\common\source\f28003x_gpio.obj" "Libraries\BSP\TI\common\source\f28003x_piectrl.obj" "Libraries\BSP\TI\common\source\f28003x_pievect.obj" "Libraries\BSP\TI\common\source\f28003x_spi.obj" "Libraries\BSP\TI\common\source\f28003x_sysctrl.obj" "Libraries\BSP\TI\common\source\f28003x_tempsensorconv.obj" "Libraries\BSP\TI\common\source\f28003x_usdelay.obj" "Libraries\BSP\TI\headers\source\f28003x_globalvariabledefs.obj" "Source\ISR.obj" "Source\Init_Peripheral.obj" "Source\main.obj"
    DEL /F "Libraries\BSP\TI\common\source\device.d" "Libraries\BSP\TI\common\source\f28003x_adc.d" "Libraries\BSP\TI\common\source\f28003x_cputimers.d" "Libraries\BSP\TI\common\source\f28003x_defaultisr.d" "Libraries\BSP\TI\common\source\f28003x_dma.d" "Libraries\BSP\TI\common\source\f28003x_epwm.d" "Libraries\BSP\TI\common\source\f28003x_gpio.d" "Libraries\BSP\TI\common\source\f28003x_piectrl.d" "Libraries\BSP\TI\common\source\f28003x_pievect.d" "Libraries\BSP\TI\common\source\f28003x_spi.d" "Libraries\BSP\TI\common\source\f28003x_sysctrl.d" "Libraries\BSP\TI\common\source\f28003x_tempsensorconv.d" "Libraries\BSP\TI\headers\source\f28003x_globalvariabledefs.d" "Source\ISR.d" "Source\Init_Peripheral.d" "Source\main.d"
    DEL /F "Libraries\BSP\TI\common\source\f28003x_codestartbranch.d" "Libraries\BSP\TI\common\source\f28003x_dbgier.d" "Libraries\BSP\TI\common\source\f28003x_usdelay.d"
    Could Not Find E:\CCS\F28003x_Test\Boot\Debug\Libraries\BSP\TI\common\source\f28003x_codestartbranch.d
    Finished clean

    **** Build Finished ****

    **** Build of configuration Debug for project Boot ****

    "E:\\ti\\ccs1220\\ccs\\utils\\bin\\gmake" -k -j 4 all -O

    Building file: "../Libraries/BSP/TI/common/source/f28003x_codestartbranch.asm"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Libraries/BSP/TI/common/source/f28003x_codestartbranch.d_raw" --obj_directory="Libraries/BSP/TI/common/source" "../Libraries/BSP/TI/common/source/f28003x_codestartbranch.asm"
    Finished building: "../Libraries/BSP/TI/common/source/f28003x_codestartbranch.asm"

    Building file: "../Libraries/BSP/TI/common/source/f28003x_cputimers.c"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Libraries/BSP/TI/common/source/f28003x_cputimers.d_raw" --obj_directory="Libraries/BSP/TI/common/source" "../Libraries/BSP/TI/common/source/f28003x_cputimers.c"
    Finished building: "../Libraries/BSP/TI/common/source/f28003x_cputimers.c"

    Building file: "../Libraries/BSP/TI/common/source/f28003x_adc.c"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Libraries/BSP/TI/common/source/f28003x_adc.d_raw" --obj_directory="Libraries/BSP/TI/common/source" "../Libraries/BSP/TI/common/source/f28003x_adc.c"
    Finished building: "../Libraries/BSP/TI/common/source/f28003x_adc.c"

    Building file: "../Libraries/BSP/TI/common/source/f28003x_dbgier.asm"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Libraries/BSP/TI/common/source/f28003x_dbgier.d_raw" --obj_directory="Libraries/BSP/TI/common/source" "../Libraries/BSP/TI/common/source/f28003x_dbgier.asm"
    Finished building: "../Libraries/BSP/TI/common/source/f28003x_dbgier.asm"

    Building file: "../Libraries/BSP/TI/common/source/device.c"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Libraries/BSP/TI/common/source/device.d_raw" --obj_directory="Libraries/BSP/TI/common/source" "../Libraries/BSP/TI/common/source/device.c"
    Finished building: "../Libraries/BSP/TI/common/source/device.c"

    Building file: "../Libraries/BSP/TI/common/source/f28003x_defaultisr.c"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Libraries/BSP/TI/common/source/f28003x_defaultisr.d_raw" --obj_directory="Libraries/BSP/TI/common/source" "../Libraries/BSP/TI/common/source/f28003x_defaultisr.c"
    Finished building: "../Libraries/BSP/TI/common/source/f28003x_defaultisr.c"

    Building file: "../Libraries/BSP/TI/common/source/f28003x_epwm.c"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Libraries/BSP/TI/common/source/f28003x_epwm.d_raw" --obj_directory="Libraries/BSP/TI/common/source" "../Libraries/BSP/TI/common/source/f28003x_epwm.c"
    Finished building: "../Libraries/BSP/TI/common/source/f28003x_epwm.c"

    Building file: "../Libraries/BSP/TI/common/source/f28003x_gpio.c"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Libraries/BSP/TI/common/source/f28003x_gpio.d_raw" --obj_directory="Libraries/BSP/TI/common/source" "../Libraries/BSP/TI/common/source/f28003x_gpio.c"
    Finished building: "../Libraries/BSP/TI/common/source/f28003x_gpio.c"

    Building file: "../Libraries/BSP/TI/common/source/f28003x_dma.c"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Libraries/BSP/TI/common/source/f28003x_dma.d_raw" --obj_directory="Libraries/BSP/TI/common/source" "../Libraries/BSP/TI/common/source/f28003x_dma.c"
    Finished building: "../Libraries/BSP/TI/common/source/f28003x_dma.c"

    Building file: "../Libraries/BSP/TI/common/source/f28003x_piectrl.c"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Libraries/BSP/TI/common/source/f28003x_piectrl.d_raw" --obj_directory="Libraries/BSP/TI/common/source" "../Libraries/BSP/TI/common/source/f28003x_piectrl.c"
    Finished building: "../Libraries/BSP/TI/common/source/f28003x_piectrl.c"

    Building file: "../Libraries/BSP/TI/common/source/f28003x_pievect.c"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Libraries/BSP/TI/common/source/f28003x_pievect.d_raw" --obj_directory="Libraries/BSP/TI/common/source" "../Libraries/BSP/TI/common/source/f28003x_pievect.c"
    Finished building: "../Libraries/BSP/TI/common/source/f28003x_pievect.c"

    Building file: "../Libraries/BSP/TI/common/source/f28003x_spi.c"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Libraries/BSP/TI/common/source/f28003x_spi.d_raw" --obj_directory="Libraries/BSP/TI/common/source" "../Libraries/BSP/TI/common/source/f28003x_spi.c"
    Finished building: "../Libraries/BSP/TI/common/source/f28003x_spi.c"

    Building file: "../Libraries/BSP/TI/common/source/f28003x_usdelay.asm"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Libraries/BSP/TI/common/source/f28003x_usdelay.d_raw" --obj_directory="Libraries/BSP/TI/common/source" "../Libraries/BSP/TI/common/source/f28003x_usdelay.asm"
    Finished building: "../Libraries/BSP/TI/common/source/f28003x_usdelay.asm"

    Building file: "../Libraries/BSP/TI/common/source/f28003x_sysctrl.c"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Libraries/BSP/TI/common/source/f28003x_sysctrl.d_raw" --obj_directory="Libraries/BSP/TI/common/source" "../Libraries/BSP/TI/common/source/f28003x_sysctrl.c"
    "../Libraries/BSP/TI/common/source/f28003x_sysctrl.c", line 833 (col. 33): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
    Finished building: "../Libraries/BSP/TI/common/source/f28003x_sysctrl.c"

    Building file: "../Libraries/BSP/TI/common/source/f28003x_tempsensorconv.c"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Libraries/BSP/TI/common/source/f28003x_tempsensorconv.d_raw" --obj_directory="Libraries/BSP/TI/common/source" "../Libraries/BSP/TI/common/source/f28003x_tempsensorconv.c"
    "../Libraries/BSP/TI/common/source/f28003x_tempsensorconv.c", line 105 (col. 48): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
    Finished building: "../Libraries/BSP/TI/common/source/f28003x_tempsensorconv.c"

    Building file: "../Source/ISR.c"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Source/ISR.d_raw" --obj_directory="Source" "../Source/ISR.c"
    Finished building: "../Source/ISR.c"

    Building file: "../Source/main.c"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Source/main.d_raw" --obj_directory="Source" "../Source/main.c"
    Finished building: "../Source/main.c"

    Building file: "../Source/Init_Peripheral.c"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Source/Init_Peripheral.d_raw" --obj_directory="Source" "../Source/Init_Peripheral.c"
    Finished building: "../Source/Init_Peripheral.c"

    Building file: "../Libraries/BSP/TI/headers/source/f28003x_globalvariabledefs.c"
    Invoking: C2000 Compiler
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --include_path="E:/CCS/F28003x_Test/Boot" --include_path="E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="E:/CCS/F28003x_Test/Boot/Include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/common/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/driverlib" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/headers/include" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/include/FlashAPI" --include_path="E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/f28003x_hal_api/inc" --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Libraries/BSP/TI/headers/source/f28003x_globalvariabledefs.d_raw" --obj_directory="Libraries/BSP/TI/headers/source" "../Libraries/BSP/TI/headers/source/f28003x_globalvariabledefs.c"
    Finished building: "../Libraries/BSP/TI/headers/source/f28003x_globalvariabledefs.c"

    Building target: "Boot.out"
    Invoking: C2000 Linker
    "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --opt_for_speed=5 --advice:performance=all --define=CPU1 --define=_FLASH --define=DEBUG_MODE -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi -z -m"Boot.map" --stack_size=0x200 --warn_sections -i"E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/lib" -i"E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -i"E:/CCS/F28003x_Test/Boot/Libraries/BSP/TI/flash_api/lib" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="Boot_linkInfo.xml" --rom_model -o "Boot.out" "./Libraries/BSP/TI/common/source/device.obj" "./Libraries/BSP/TI/common/source/f28003x_adc.obj" "./Libraries/BSP/TI/common/source/f28003x_codestartbranch.obj" "./Libraries/BSP/TI/common/source/f28003x_cputimers.obj" "./Libraries/BSP/TI/common/source/f28003x_dbgier.obj" "./Libraries/BSP/TI/common/source/f28003x_defaultisr.obj" "./Libraries/BSP/TI/common/source/f28003x_dma.obj" "./Libraries/BSP/TI/common/source/f28003x_epwm.obj" "./Libraries/BSP/TI/common/source/f28003x_gpio.obj" "./Libraries/BSP/TI/common/source/f28003x_piectrl.obj" "./Libraries/BSP/TI/common/source/f28003x_pievect.obj" "./Libraries/BSP/TI/common/source/f28003x_spi.obj" "./Libraries/BSP/TI/common/source/f28003x_sysctrl.obj" "./Libraries/BSP/TI/common/source/f28003x_tempsensorconv.obj" "./Libraries/BSP/TI/common/source/f28003x_usdelay.obj" "./Libraries/BSP/TI/headers/source/f28003x_globalvariabledefs.obj" "./Source/ISR.obj" "./Source/Init_Peripheral.obj" "./Source/main.obj" "../f28003x_boot_flash_lnk.cmd" "../f28003x_headers_nonBIOS.cmd" "../Libraries/BSP/TI/flash_api/lib/FAPI_F28003x_COFF_v1.58.10.lib" -llibc.a
    <Linking>
    Finished building target: "Boot.out"

    "E:/ti/ccs1220/ccs/utils/tiobj2bin/tiobj2bin" "Boot.out" "Boot.bin" "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/ofd2000" "E:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/hex2000" "E:/ti/ccs1220/ccs/utils/tiobj2bin/mkhex4bin"
    makefile:180: recipe for target 'post-build' failed
    'E:' is not recognized as an internal or external command,
    operable program or batch file.
    gmake[2]: [post-build] Error 255 (ignored)

    **** Build Finished ****

    Regards,

    Watch

  • Hi Watch,

    Hmm. That is interesting. Now sure why it is not able to resolve it.

    I am forwarding the question to CCS expert. Please expect response later today or tomorrow.

    Regards, Santosh

  • Watch,

    Is your E: drive a separate drive/partition or is just a directory on your main drive that you mapped to a drive letter?

    Thanks

    ki

  • Hi Ki,

    E drive is a primary partition of a hard disk and the disk does not have other partitions.

    Regards,

    Watch

  • Thanks. What version of Windows are you running?

  • This problem doesn't occur in the previous version (CCS12.1).

    I can produce the issue on CCS 12.2.0. And as you mentioned, it works fine on CCS 12.1.0.

    The issue is not related to the E drive at all.

    I'm not sure what the exact issue is. I am still investigating and will keep you posted of my progress

    Thanks

    ki

  • I found the root cause. It appears that the tiobj2bin.bat file in CCS 12.2.0 has been updated so that that batch file will terminate for C2000 EABI files:

    Starting at line 101:

    rem ========================================================================== 
    rem C2000 EABI files are not supported.  This code uses ofd2000 to search the
    rem file header to determine whether it is an ELF file or not.  All the output
    rem of that command, including any error diagnostics, is thrown away.  For the
    rem details of how this works, Internet search the commands used.
    rem ========================================================================== 
    if %base_ofdcmd% == ofd2000 (
       setlocal enabledelayedexpansion
       %ofdcmd% --obj_display=none,header %outfile% | findstr/c:" ELF " > nul 2>&1
       if !errorlevel! equ 0 (
          echo C28x files built with --abi=eabi are not supported
          exit /b
       )
       setlocal disabledelayedexpansion
    )

    When I try running from the command line, I will get the error "C28x files built with --abi=eabi are not supported" while the batch file terminates.

    If I run as a post-build step in CCS, I get:

    makefile:159: recipe for target 'post-build' failed
    'C:' is not recognized as an internal or external command,
    operable program or batch file.
    gmake[2]: [post-build] Error 255 (ignored)

    The error message is misleading. Basically the script aborted, returning an unexpected string that cause the whole post-build step to fail.

    If I drop in the tiobj2bin.bat from CCS 12.1 into the CCS 12.2 directory, then the post-build step will not return an error.

    Hence the main issue is the updated tiobj2bin.bat in CCS 12.2.

  • Note that the issue occurs regardless of if your program is built for EABI or COFF ABI. The post-build step will fail for C2000.

  • I filed a bug for this issue. Please note that C2000 EABI files are NOT supported by tiobj2bin. This bug is to address the post-build step failure in CCS. If your C2000 project is configured for COFF ABI, you can run the post build command in a DOS command window instead as a workaround.

    Thanks

    ki

  • I ran into the same issue and wanted to offer some additional information in case it is helpful

    I narrowed it down to the line

    %ofdcmd% --obj_display=none,header %outfile% | findstr/c:" ELF " > nul 2>&1

    in the script.

    As an experiment, I split that line into two, putting the output of ofdcmd into a temporary file and then running findstr on the temporary file.  The problem went away, even when run from the CCS utils folder as a post-build step.

    I don't know why it doesn't work with both commands on the same line as a pipe chain, but I wonder if this is some quirk of Windows' parsing of the script when interpreting file paths using "/" characters on a line containing an option switch that also uses "/".

    Regards,

    Mark

  • Thanks for sharing Mark. I'll update the bug report with this additional information