I'm using Version: 6.1.1.00022.
I build a hex file from CCS GUI: property ==> Enable ARM Hex Utility ==> Output Intel hex format (--intel, -i). Builds fine and download hex file to device using flash programmer 2. But the device doesn't work as expected.
I build again, this time in the Build Steps, post-build steps (ARM Hex Utility is disabled), : "${CG_TOOL_HEX}" -order MS --memwidth=8 --romwidth=8 --intel -o "${ProjName}.hex" "${ProjName}.out" . Builds fine and download hex file to device using flash programmer 2, device works as expected.
The hex file size generated from two different methods are very different. What is the GUI ARM Hex Utility problem?
Screen shots of build and generated hex file using Build Steps command line method and using GUI Enable ARM hex utility method are in attached file. I noticed in the command line method there is a "-order MS" but in GUI hex utility way I cannot find a place to have this added in. Is this the reason for the hex file difference?
It takes a lot of time to figure this out and hope answer can save other people time.