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.

How Program the flash memory in run time?

Other Parts Discussed in Thread: MSP430F2274

Hi all,

I am using msp430f2274 in my application , my application demands for update the flash memory in run time..

I studied about in-system programming and am able to write into info/flash memory also..

and the problem is in my application i need to receive data from UART and update the total code in flash memory...here i face the problem..how to i run the code while updating total flash memory....Any body please give me a point...

Thanks

siva

  • Siva,

    Please go through these sections, "Programming Flash Memory via the Bootstrap loader (BSL)" and "Programming Flash Memory via a Custom Solution", in the MSP430 user guide.

    Also please refer this page: http://focus.ti.com/lit/ug/slau319a/slau319a.pdf

    Regards,

    Nag

    --------------------------------------------------------------------------------------------------------------
      Please click the Verify Answer button on this post if your question is answered
    --------------------------------------------------------------------------------------------------------------

     

     

  • Hi..

    Thanks for reply..

    In my application UART data was coming from another controller..so is it really possible to done the flash write by using BSL or JTAG methods...Please clarify ..

  • Hi siva,

    so, where's the problem? Your second controller needs to 'invoke' the BSL of your first controller (the one which you want to re-flash), send the commands to erase the flash, and then send your new firmware.

    Everything you need to know (commands, etc. is documented in the app note mentioned above.

    Rgds
    aBUGSworstnightmare 

  • Yes..first i need to read the document..and then i will try like that..

     

    thanks

**Attention** This is a public forum