TXZ Family
Flash Memory
2018-06-05
64 / 120
Rev. 2.0
5.
Program new data to the blank region.
Page0: Copied data (Old original data)
Page1: New original data
6.
Release the swap state.
Page0: New original data
Page1: Copied data (Old original data)
7.
Execute the automatic protect bit erasing command.
8.
Options if required.
Erase copied data (old original data).
Reprogram the flash memory data except the swap regions.
Validate the protection function.
Validate the security function.
Figure 4.1 Example of Procedure of Memory Swap
4.1.8.3. Erasing the Memory Swap Information
After the memory swap state is released, if the user attempts to perform memory swap again, initialize the all bits of
the
[FCSWPSR]
register with the automatic memory swap erasing command.
1 2 3 4 5 6