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.
I'm using the ARM Hex utility to convert an ELF object file to a hex file which can be loaded in processor memory or NOR flash. Under CCS build properties the device endianness is set to "little" which generates a little endian object file. After the ARM Hex utility runs it generates a hex file which after I load it into processor memory the endianness is backwards. I see in the ARM Hex user manual (http://www.ti.com/lit/ug/spnu118n/spnu118n.pdf page 291) it seems to assume the input object file is big endian. Is there a way I can get the ARM Hex utility to use a little endian object file as input so that the output will load properly into processor memory? Target processor is an Keystone II AM5K2E02.
Please show exactly how you invoke armhex? How do you load the resulting hex file onto the system? Is it possible that loader did something wrong, or has some configuration related to endianness?
Thanks and regards,
-George