Other Parts Discussed in Thread: SEGGER, UNIFLASH
Tool/software: Code Composer Studio
Hi All!
I'm developing an application using an RM44L520 (little endian) and CCS 9.0.1.00004. As debugging hardware I'm using a Segger J-Link. Now I've reached a first milestone and wont to share the results. Therefore I enabled the ARM Hex Utility with the options --romwidth=32 --intel. The resulting hex-file starts with the following line:
:20000000EA007A75EAFFFFFEEA00125BEAFFFFFEEA007C0DEA007DB2E51FF1B0E51FF1B00E
Decoded the reset vector is 0xea 0x00 0x7a 0x75. If I load this file into a hex-editor (HxD) it shows the correct 32-bit word 0xea007a75. However, when I import this file into Seggers external flash utility, they seem to interpret the data as byte stream and convert it into little endian 32bit words. Then the reset vector has swapped bytes 0x757a00ea. Obviously this code does not run once flashed.
If I readback the flash that I programmed while debugging, the byte order is correct...
Can anyone tell me where the problem is and how I can solve it? Thank You
Jan