Write the flash memory write key and the WRITE bit (a value of 0xA442.0001) to the FMC register. The write key can be 0xA442 or the value programmed into the FLPEKEY register depending on the KEY value in the BOOTCFG register. See Section 7.5.2 and Section 7.3.9 for more information.
Poll the FMC register until the WRITE bit is cleared.