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.

Hex Output Between CCS Versions

Other Parts Discussed in Thread: MSP430F5418A

I am working on a project where I need to generate a hex file to load to a device however, when I build it from the same code I was originally given I cannot seem to reach the same output as the last build, it is always different even when code is not changed. Mainly, I get off by two bytes and this error just grows to cause problems with the different aspects of the project. Would there be a difference between CCSv5 and CCSv6 in regards to doing this even while using the same compiler for both and using the MSP430 hex utility? Would 32-bit vs. a 64-bit machine matter? I am working with MSP430F5418A currently in Code Composer Studio 6.1.3, the project came from a version of CCSv5. Any help to correct these hex differences is greatly appreciated.

Thank you.

  • Jacob Kenney said:
    Would there be a difference between CCSv5 and CCSv6 in regards to doing this even while using the same compiler for both and using the MSP430 hex utility?

    In addition to the compiler version, do the build options (compiler/linker/hex utility) also match up? What version of compiler tools are you using?

    Jacob Kenney said:
    Mainly, I get off by two bytes

    Where does the difference appear, (ie) in which part of the hex file? 

    One thing you could try is the utility objdiff from the cg_xml package.  It would be interesting to see what it reports. It compares object files rather than hex files, so you can pass it the .out files generated by the two builds.