TXZ Family
Flash Memory
2018-06-05
85 / 120
Rev. 2.0
6.5.1.4. Step-4
The device jumps to the programming routine (c) on the RAM to release the program/erase protection for the old
application program, and to erase the flash (the units of erase is arbitrary size).
Figure 6.4 Procedure that a Programming Routine Stored in Flash memory (4)
6.5.1.5. Step-5
The device continues to execute the flash programming routine to download new program data from the host
controller and program it into the erased flash block. When the programming is completed, set the program/erase
protection of that flash area in the user’s program to ON.
Figure 6.5 Procedure that a Programming Routine Stored in Flash memory (5)
(b) Copy routine
(c) Programming routine
(c) Programming routine
(b) Copy routine
(c) Programming routine
(b) Copy routine
(c) Programming routine
(c) Programming routine