Texas Instruments MSP430x1xx User Manual page 142

Texas instruments modules and peripherals user's guide
Table of Contents

Advertisement

Flash Memory Operation
Block Write Flow and Example
A block write flow is shown in Figure 5−8 and the following example.
Figure 5−11. Block Write Flow
5-12
Flash Memory Controller
Disable all interrupts and watchdog
yes
BUSY = 1
Setup flash controller
Set BLKWRT=WRT=1
Write byte or word
yes
WAIT=0?
no
Block Border?
Set BLKWRT=0
yes
BUSY = 1
yes
Another
Block?
Set WRT=0, LOCK=1
re-enable interrupts and WDT

Advertisement

Table of Contents
loading

Table of Contents