Other Parts Discussed in Thread: UNIFLASH
Hi TI Community Team,
I have bootloader that will boot a binary image at address 0x83000 in the MCU's Flash. I can load the binary image in at that address and the bootloader will boot into the image with no issues. So I know the binary image is flashed correctly. I've viewed the binary image using UniFLash and a sample of it can be seen below:
Ive generated the binary using the hex2000 utility with the following command:
${CG_TOOL_ROOT}/bin/hex2000 -q -b -fill=0xffff -image -o ${BuildArtifactFileBaseName}.bin ${CCS_PROJECT_DIR}/scripts/application_f280041.roms ${BuildArtifactFileName}
When I view the binary in a hex editor I see the below:
As far as I can make out the bytes withinga 16bit word have been flipped. The first word in flash is 0x761F but the first in the binary is 0x1F76.
The MCU is little endian and I would expected any binaries generated would also be in little endian. But the flash bytes and binary bytes are flipped. My question is why are the bytes flipped ?
Thanks for any help with this