We are using MSP430F249 (REV E)in a product (Battery Module used for backup). We do software update via the RS485 interface. We are using a custom bootoader and Main memory is divided into 2 banks. Initially the FW app will be in Bank A and when we update, the new FW is written to Bank B and Bank A is erased.
We observe that update fails most of the times( 9 fails out of 10). When we try to update and the FW freezes. When we read the flash after the failed attempt, it is wither not fully written or failed to erase the other bank or failed to reset. The same update flow works fine in MSP430F249 REV D chipset which is used in little older modules. (New modules where the update fails have REV E chipset)
Is there a known flash write issue or anything we are missing?