Other Parts Discussed in Thread: MSP430F5529, MSP430F4619, MSP430F5438A, MSP430G2553
. I'm using a MSP430FG4616, which has 91K flash memory. I want to write a custom BSL routine to download new firmware that always resides in upper flash memory. The device has 91K memory , but I'm only using a small portion of it for the application code, about 8K. What I would like to do is read in the new code (8K) from a serial port, write it to an unused portion of flash, say at 0xA000, then I can check that the entire new code image is correct with checksums, etc. Then finally erasing the original code that resided in lower memory and replacing it with the new image that was stored at 0xA000.
How do I specify the custom BSL code address to do this. Do I do it in the code or is it a linker directive.
Thanks