This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Flash programming

Other Parts Discussed in Thread: MSP430F2618

Hi,

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.

  • Hi Renka,

    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

    ~Brandon

**Attention** This is a public forum