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.

Compiler/TMS320F28377S: How to prove two binaries (.out) are equal

Part Number: TMS320F28377S

Tool/software: TI C/C++ Compiler

Hi,

If I build a binary file (a.out) to be loaded in FLASH of my MCU (TMS320F28377S) starting from the SAME SOURCE FILES and using the SAME CODE COMPOSER project, but in different day or using a different PC, or different PATH, I get a different binary file.

I know there are info relevant to date and others coded in the binary file, so I would to know how I can prove that two binaries have been built from the same source files and using the same code composer project.

I need this for project control.

Thank you very much

Flo

  • Please consider using the utility objdiff from the cg_xml package.

    Thanks and regards,

    -George

  • George Mock said:

    Please consider using the utility objdiff from the cg_xml package.

    Thanks and regards,

    -George

    Hi George,

    Thank you for your help. I have installed the cg_xml_package but I can't use the objdiff utility.

    At the prompt I did

    objdiff file1.out file2.out 

    but the OFD command is required.

    I have to compare to out files for TMS320F28377S and I was not able to find the appropriate command.


    How can I.....?

    Thank you

    Flo

  • The abbreviation OFD refers to the object file display utility.  It is part of every TI compiler release.  In your case it is named ofd2000.  It is located in the same directory as all the other compiler executables.

    Thanks and regards,

    -George