Other Parts Discussed in Thread: CC1101, CC1120
Good morning,
I'm hoping someone can explain the format of the TI Text output from CCS. I see that you can create a relocatable and non-relocatable object. The relocatable object doubles the size of the binary output file. Why?
I want to create a simple UART program in the MSP430 that grabs each byte of a TI TXT binary file from the UART and programs it to the MSP430 program flash. The start address needs to be different than the current program that is loaded so that I don't corrupt the current program. Once the TI TXT binary file is in flash, I want to program the new start address of the new binary program into the reset vector. Then reboot and see if the new program will work.
Has anyone ever done this? There's much more to my program than this but I wanted to start with something simple to see if this would work.
http://processors.wiki.ti.com/index.php/Generating_and_Loading_MSP430_Binary_Files#Using_CCS
I have read through the http://www.ti.com/lit/an/slaa450b/slaa450b.pdf
Would it be easier to just use two linker files that put the program at different start addresses, then program a part with each and read the binary? Then use that binary and pass it through the UART? Then change the reset vector and reset the part?