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.

MSP430FR6989: Firmware update handled by firmware (without bootloader)

Part Number: MSP430FR6989

Hi,

I am trying to find a way to achieve firmware update handled by the firmware itself (without entering bootloader state). My idea is that I can have a function in my firmware that handles the firmware validation and writing into memory address. Let's call this function as function A. To achieve this, function A must be functional and not to be overwritten during firmware update. Is there any way to achieve this? Or more specifically, how to define in the linker file (I suppose this is the area to edit) to exclude or to prevent the memory address of function A from being overwritten, while function A remains as a part of the complete firmware?

I can't find much forum posts that discuss about this. Would really appreciate if anyone could also share with me if you find any forum post to be relevant.

Thank you.

  • Hi Wui Fan Lim,

    Are you talking about something like a main memory bootloader (take a look at MSPBoot (https://www.ti.com/lit/slaa600) for an example).

    Or something more in main application rather than abstracted into a separate bootloader and application? You do have to be careful when writing to the same memory you are running from.

    Best Regards,
    Brandon Fisher

**Attention** This is a public forum