Hello E2E,
I am after confirmation on what is the correct source of information with regards to erasing INFO memory.
I am using a MSP430F5438A and want to maintain a variable across an firmware upgrade. I plan to use INFO memory because I will be using the BSL to mass erase and program code memory.
According to slau208m, section 7.3, "The flash memory allows execution of a program from flash while a different flash bank is erased" and according to table 7-1, you can only "Bank Erase" when executing from flash. Also, in section 7.3.1.3, it says "The information memory A to D and the BSL segments A to D can only be erased in segment erase mode."
I assume this means that you cannot erase INFO memory while executing from Flash.
However, when looking at your sample code in slac375d, both msp430x54xA_flashwrite_01.c and msp430x54xA_flashwrite_02.c does this.
Which is the recommended way to erase INFO memory?
Regards,
Pak