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.

MSP430F5310: Output of different .hex files from the same compiler

Part Number: MSP430F5310

Hi experts,

My customer is looking to migrate from CCSv4.2.3 to CCSv8.3.1 for a project for the MSP430F5310. They are using the same compiler version with different CCS versions, but there are differences in the .hex files(also .out file too).

Could you please give me some ideas as to possible causes?
Or, if you can tell me what I should check, that would be great.

[Details]

  • CCS: ver8.3.1 (project is newly created)
  • Compiler (hex430.exe as well):TI v3.3.2
  • Linker(.cmd): contents when using CCS v4
  • C file and h file are the same as CCS v4 and there is no difference.
    ("msp430f5310.h" is also unified with the contents of CCSv4)
  • All functions have not been confirmed, but there is no difference in the operation of the written CCSv8 file (only I2C and LED control were confirmed).
  • Plans to check which memory area the differences in the .hex files are in

Best regards,
O.H

  • Hi O.H

    The configuration of in the CCS maybe affect compiler's operation like the optimization level or default heap size or stack size settings. I think that should be no problem if the code compile with no error. 

  • Hi Gray Gao,

    Sorry for the delay in replying.

    By making the exact same Build settings in Compiler (this time I modified the Include option path), the output files matched. Thank you for your support.

    Just to be sure, is there any way to get the same output using different compiler versions like "TI v3.3.2" and "TI v18.1.4.LTS"?
    If the versions are close, there is a possibility that they will be the same, but if they are far apart, as in this case, it would be difficult due to compiler feature modifications and updates...right?

    Best regards,
    O.H

  • I need to include our tools team to answer the question.

  • is there any way to get the same output using different compiler versions like "TI v3.3.2" and "TI v18.1.4.LTS"?

    Unfortunately, no.  There are too many differences between those compilers.  Moreover, we do not implement or test the compiler to meet this requirement.

    Thanks and regards,

    -George

  • Hi Gray Gao, George

    Thank you for your reply. I understood.

    Best reagards,
    O.H

**Attention** This is a public forum