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.

Output file checksum not matching on two different hosts

Hi,

I have same project being built on two different host machines.  I have ensured that both hosts have same development software versions as below.

Software

Version #

Code composer studio

Version: 5.5.0.00077

TI RTOS

1.21.0.09

TI Compiler

V 5.1.5

SYS/BIOS

6.34.06.26

XDC tools

3.24.03.33

 

At the end of build process, CCS displays the checksum

C:\Projects\project_name\ccs\_Debug>copy ..\..\..\..\..\_Tools\HeaderGen.exe .

        1 file(s) copied.

C:\Projects\project_name\ccs\_Debug>cmd /c cd   | .\HeaderGen.exe ALMaster_Boot_M4.BIN -TYPE 18 -YNUM "Y02301" -VER 01 -r -SFA -AG -NAD -L

Output name: Y02301-01_111542B_04-16-2015.bin

Output path: C:\Projects\project_name\ALMASTER_BOOT_M4\ccs\_Debug

Checksum: 0x0111542B

Thanks for using the Header Generator®!

Problem definition: The checksum of output file on two hosts are not matching.

I have compared console output, makefile, .ccsproject, .cproject and .project file of both host machines but I could not find any difference.

Since the application and development tools are same, I am expecting the output bin file checksum to be same.  Why there is difference?

What am I missing here?  Any help on this is greatly appreciated.

Regards

Srinivasa

  • Srinivasa,

    This question does not really seem to be specific to TI-RTOS, so I have moved this thread over to the Compiler Forum in hopes that it will get a faster response there.
  • That Header Generator tool is being invoked by a custom post-build step.  I am not familiar with it.  I can't say what it means when the checksums don't match.

    Please compare the executable .out (not .bin) files with the utility objdiff from the cg_xml package.  This is a much more direct comparison.  If no difference is found, then you know this header generator tool is doing something wrong.  If a difference is found, then the output will give us a good chance of finding the cause.

    Thanks and regards,

    -George

  • I mistakenly forgot to include the link to the cg_xml package in my last post (since corrected).  -George

  • Hi George,

    Thanks for your input.

    I am trying to run the objdiff utility (standalone Executable which is installed in bin folder) from cg_xml package but it pops up below error

    “not well-formed (invalid token) at line 1, column 0, byte 0 at XML/Parser.pm line 187.”

    I tried this utility for my application and other example applications which are part of TI but I am getting the same error.

    Documentation says “To run the executable versions of the Perl scripts (available starting with release 1.20.00), nothing further needs to be installed” hence I did not install anything other than cg_xml package.

    Am I missing anything?

    Thanks in advance.

    Regards
    Srinivasa
  • Invoke objdiff like this ...

    % objdiff file1.out file2.out armofd
    

    You are not specifying that last parameter.  That is the name of the OFD (object file display) utility.  To understand this better, please bring up index.htm (in the root directory of the cg_xml installation) in your favorite web browser, then browse to the documentation for objdiff.

    Thanks and regards,

    -George