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.

MSP430FR5962: Using BSL, how to update firmware without Mass Erase

Part Number: MSP430FR5962
Other Parts Discussed in Thread: UNIFLASH

Hi community member,

I have a favor to ask.

Is it no problem to update firmware without Mass Erase on BSL?
If that is problem, is there a function to protect the main memory area with FRAM from Mass Erase?

My customer want to update the firmware version while the product is running.
Furthermore, they use software area and data area on FRAM based on TIDM-FRAM-EEPROM.
So, they want to use BSL to update firmware, but they don't want to write on data area.

Best regards.
Cruijff

  • Hi,

    For BSL, we support to erase a certain memory area. If your customer use uniflash. You are realize this function by changing this setting:

    Eason

  • Hi Eason,
    Thank you for your reply!

    They don't use uniflash.
    They would like to update firmware(excepted for data area of FRAM) using UART BSL from a host CPU.

    According to MSP430 FRAM BSL User's guide(SLAU550Z), updating firmware need to mass erase.

    Is there how to protect a data area of FRAM from mass erase if the BSL is from host CPU?

    Best regards.
    Cruijff

  • I too am interested in this.  I think the answer is that there is no way to protect a part of the program FRAM on a mass erase.  But I don't see why you would need to do a mass erase on an FR device.  If you know the password, you should be able to simply overwrite the old firmware without erasing it first.  Does that not work?

  • Hi George,
    Thank you for your comment.

    My customer don't have problem about BSL.
    They check BSL User's Guide.
    And they was just wondering if they needed sure mass erase.

    I also think that there is no problem if you follow the procedure below.

    1. Enter the RX password correctly (w / o mass erase)
    2. Overwrite a specific range of memory area

    Is my understanding correct?

    Cruijff

  • That sounds right to me.  But we'll have to see what Eason says.

  • You can overwrite a specific range of memory area without mass erase.

    You can use Memory Protection Unit (MPU) to protect a certain memory area. But if you use this function, using mass erase will cause a reset.

**Attention** This is a public forum