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.

How to convert OUT file to binary

Hello,

I got an OUT file from CCS 5.2.1.

How to convert it into binary file so I could manually load into RAM and run it

Thanks,

~Duy-Ky

  • Hi,

    Go to Properties -> Build -> Steps-> Post-build steps -> Apply Predefined Steps

    There you can choose to create a flash image in TI-TXT or Intel-Hex format for example.

    Hope it helps,
    Christian

  • I guess you are looking for something like

    "${CG_TOOL_HEX}" --image ...  "${BuildArtifactFileName}" -o "${BuildArtifactFileBaseName}.bin"

  • Hi Christian,

    Thanks for your help.

    The predefined steps give me text format, so it's not binary I'm after

    I'm not sure with your 2nd post "--image ..."

    I tried using tiobj2bin and it gave me binary. However it's too big, about 380KB while I expect 80 KB

    The reason I expect 80 KB as it's the size created by TI RPRC tool and it's consistent with the size of the content of TI_TXT format in binary format

    Thanks Christian,

    ~Duy-Ky