Part Number: MSP430F5342
Hello TI experts,
Assume that I have funtion called void TestMine(void).
I set this function at fixed address which may be 0x14400 in the flash of MSP430F5342 by modify the statement in the lnk430f5342.xcl.
This function is used as the OAD bootloader by trickery.And I can ensure there is no function or const data located in the flash which may be erased.
However,I'm still worrying about this trick.
First,this function will never be replaced after our products released beacuse it plays the role of bootloader.After a successful upgrade,the project reset and I want to know whether the Local Variable in this
function will be reset by the init operation like cstartup.s43?Furthermore,all the ram used by this function will be cleared and won't confuse with the new upgrade program?
Second,this function use function like __data20_read_char and __data20_write_char and __no_operation which are declared in intrinsics.h,would these functions' location in flash changed after upgrade?
After TestMine downloaded to flash,the BINARY is fixed,functions been called have fixed address,if these called functions' address changed after upgrade.It may be a disaster.
Can I use this trick with only ram and intrinsics function used to replace bootloader?Thanks in advance!
Best Regards

