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/TM4C1294NCPDT: Where is/How to build the .bin file?

Part Number: TM4C1294NCPDT

Tool/software: Code Composer Studio

Brought in an old CCS project to work on, and it ran fine, but it won't generate .bin file for the flash. I can only fine the latest .out file in folder

I checked and confirmed it had the following in the Project Properties->C/C++Build->Settings->BuildSteps

"${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"

and when I build the project, it even shows 

....

<Linking>
'Finished building target: my_usb.out'
' '
"C:/ti/ccsv6/utils/tiobj2bin/tiobj2bin" "my_usb.out" "my_usb.bin" "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armofd" "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armhex" "C:/ti/ccsv6/utils/tiobj2bin/mkhex4bin"
' '

**** Build Finished ****

I wonder what steps I missed in the project. Thanks for any pointer.

  • Hi,

    Which version of CCS are you using and which version was used in the original project?

    I tested a Tivaware 2.1.4.178 project here (uart_echo) and built it using CCSv6.2.0 without issues - the project has the same post-build step as yours. 

    I then imported the same project into CCSv9.1 and it built without issues again - this time using compiler 18.12.2. 

    Perhaps you could try to clean the workspace or use a different one - maybe something is influencing the ability to create this file? 

    Apart from this, I really have not many ideas - I send attached the project I am using. 

    Hope this helps,

    Rafael

    TM4C129_uart_echo.zip

  • I have no issue until today. All my other projects work fine, even some old ones

    my current CCS is 6.2.0.00050

    TiVaWare 2.1.4

    Compiler 15.12

    ...

    The old project was created on old CCS/TivaWare that I dont' have access, after import to this workspace, it compiles fine and runs happily, just no .bin file anywhere

    If you can point me to an utility to convert .out to .bin, I will be happily take it and close the book

  • resolved. 

    the command line either too long or has space in project name, and the post step fails to generate error msg.

    (When I post the msg above, I have to replace company project name with "my_usb" due to IP issue)

  • Hi,

    Thanks for reporting the outcome of this issue; certainly will help other developers in the future.

    Regards,

    Rafael