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.

MSP 430 Firmware upgrade

Other Parts Discussed in Thread: MSP430F5438A

Hello,

I am using MSP430F5438A MCU in my application. In datasheet (SLAS612C page 16 - Flash Memory) I found the integrated flash can be programmed via CPU. How to perform this? Is there any supporting document / Application notes describes this kind of firmware update?

Regards

Anulal

  • Hi Anulal,

    there are some routines in the code examples here: http://www.ti.com/lit/zip/slac375

    In additon, the MSP-EXP340F5438 Experimenter Board software has some functions too; find it here http://www.ti.com/litv/zip/slac227j

    The BSL makes use of the selfprogramming ability; find some more details here http://processors.wiki.ti.com/index.php/BSL_%28MSP430%29

    Rgds
    aBUGSworstnightmare

  • Anulal SS said:
    this kind of firmware update

    The available appnote describes how to program flash from withing a running program. This is no, however, a 'firmware update', it is just a write to flash. Whether you write data you want to keep or want to write a new firmware you fetched somehow form somewhere, is a matter of interpretation and purpose.

    From the hardware/folash side, it is just about how to unprotect the flash, clear flash segments and write something new into them. If you happen to erase and rewrite the interrupt vector table and put some binary code somewhere, it will be a firmware update. If you just write calibration data, calculation results or whatever to a flash area that is not occupied by the current firmware, it is jsut a data write. The way it is done is the same. After all, the whole flash (except for the interrupt vector area) is jus tmemory for the processor and can be code or data as you like to use it (or as the linker did choose to place code and data).

**Attention** This is a public forum