I am working with MSP430F2618.
I would like to program the flash memory with two images.
The current image is one that i am currently run on it(FLASH and RAM),another that i've aggregated from the wireless packets(on the air programming).When the second image is ready to be programmed,i would like to activate it and run from second one.
Could you explain me about the memory layout for this kind of problem.And how i could activate the second image....Maybe i need the function,that resides on RAM and toggled between two images???
How i could resides the function on RAM(#pragma ....)?
Thanks in advance.
I am understanding this question to mean that you do not have the 2nd image before you flash the chip with the original program, so you will accquire that image as the program is running. Depending on the size of the image you may not want to store this in RAM due to size limitations. You may want to store this second image in Flash and have the program counter jump there as needed. There is an excellent Flash Monitor report which I believe will be useful here: http://www.ti.com/lit/slaa341
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.