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.

TM4C1294NCPDT: How to create HEX or BIN file based on existing .out file for TM4C

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: EK-TM4C1294XL

Hi, Mr Expert

    I have already an existing .out file running successfully on target device by downloading with CCS development environment, now I need to create a BIN or HEX file needed for future production, is there any document describing the steps on how to create these files?

  • If you started with a TivaWare project like "project0", the steps to create a bin file are already included as part of the build process. 

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

    You can create different types of hex files by enabling the "armhex" utility.

    The options are described in chapter 12 of the ARM Assembly Language Tools User's Guide.

  • Hi, Bob

        Thanks for your reply, but I haven't been able to find that line in my code composer studio, however, after I copied the line as you pasted above, the newly created bin file works, but I don't understand why it does not appear in my ccs configurations, is there something should be might be missed during project setup

  • I create my new projects by doing "File", "Import",  "Code Composer Studio", "CCS Projects", next .. Then I browse to "C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c1294xl\project0" (or whichever LaunchPad is appropriate). When I start with that project, or any project made from that project, it has the commands for building the .bin file.