Texas Instruments MSP430x1xx User Manual page 148

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

Advertisement

Flash Memory Registers
FCTL1, Flash Memory Control Register
15
14
7
6
BLKWRT
WRT
rw−0
rw−0
FRKEY/
Bits
FCTLx password. Always read as 096h. Must be written as 0A5h or a PUC
FWKEY
15-8
will be generated.
BLKWRT
Bit 7
Block write mode. WRT must also be set for block write mode. BLKWRT is
automatically reset when EMEX is set.
0
1
WRT
Bit 6
Write. This bit is used to select any write mode. WRT is automatically reset
when EMEX is set.
0
1
Reserved
Bits
Reserved. Always read as 0.
5-3
MERAS
Bit 2
Mass erase and erase. These bits are used together to select the erase mode.
ERASE
Bit 1
MERAS and ERASE are automatically reset when EMEX is set.
MERAS
Reserved
Bit 0
Reserved. Always read as 0.
5-18
Flash Memory Controller
13
12
FRKEY, Read as 096h
FWKEY, Must be written as 0A5h
5
4
Reserved
Reserved
Reserved
r0
r0
Block-write mode is off
Block-write mode is on
Write mode is off
Write mode is on
ERASE
0
0
No erase
0
1
Erase individual segment only
1
0
Erase all main memory segments
1
1
Erase all main and information memory segments
11
10
9
3
2
1
MERAS
ERASE
r0
rw−0
rw−0
Erase Cycle
8
0
Reserved
r0

Advertisement

Table of Contents
loading

Table of Contents