Flash Memory Operation
5-12 Flash Memory Controller
Block Write Flow and Example

A block write flow is shown in Figure 58 and the following example.

Figure 511. Block Write Flow
yes BUSY = 1
Disable watchdog
Setup flash controller
Set BLKWRT=WRT=1
Write byte or word
no Block Border?
yes WAIT=0?
yes BUSY = 1
Set BLKWRT=0
yes Another
Block?
Set WRT=0, LOCK=1
re-enable WDT