Other Parts Discussed in Thread: UNIFLASH, TM4C1231H6PZ, LMFLASHPROGRAMMER
Hello,
I am trying to do a field upgrade on my TM4C1231H6PZ processor by manually downloading the binary (erasing the flash then programming the flash with the .bin data directly) rather than using a utility such as uniflash or LM Flash Programmer. However, when I compare the .bin file to the disassembled code that runs from the .bin, I notice that the .bin file is not loaded byte for byte into the microcontroller- in fact, the byte manipulation that takes place seems to vary depending on the address within the binary (data prior to address 0x26c seem to be byte swapped over 4 bytes, while data after that address seem to be byte swapped over two bytes).
The process I'm using involves placing the "upgrade loader" code into a portion of flash that is not erased or overwritten, by modifying the .cmd file- that portion of the process is working fine. I will read the .bin data from an external flash.
Two questions: is there documentation on the format of the .bin file I'm dealing with? I've searched for it without success. And my second question is if there is a problem with this approach other than getting the .bin data into the proper format?
Thanks!
Cindy