Flash Memory Registers
6-25
Flash Memory Controller
FCTL3, Flash Memory Control Register FCTL3
15
14
13
12
11
10
9
8
FWKEYx, Read as 096h
Must be written as 0A5h
7
6
5
4
3
2
1
0
FAIL
†
LOCKA
†
EMEX
LOCK
WAIT
ACCVIFG
KEYV
BUSY
r(w)−0
r(w)−1
rw-0
rw-1
r-1
rw−0
rw-(0)
r(w)−0
†
MSP430F47x devices only. Reserved with r0 access on all other devices.
FWKEYx
Bits
15-8
FCTLx password. Always read as 096h. Must be written as 0A5h or a PUC
will be generated.
FAIL
Bit 7
Operation failure. This bit is set if the f
FTG
clock source fails, or a flash
operation is aborted from an interrupt when EEIEX = 1. FAIL must be reset
with software.
0
No failure
1
Failure
LOCKA
Bit 6
SegmentA and Info lock. Write a 1 to this bit to change its state. Writing 0 has
no effect.
0
Segment A unlocked and all information memory is erased during a
mass erase.
1
Segment A locked and all information memory is protected from erasure
during a mass erase.
EMEX
Bit 5
Emergency exit
0
No emergency exit
1
Emergency exit
LOCK
Bit 4
Lock. This bit unlocks the flash memory for writing or erasing. The LOCK bit
can be set anytime during a byte/word write or erase operation and the
operation will complete normally. In the block write mode if the LOCK bit is set
while BLKWRT=WAIT=1, then BLKWRT and WAIT are reset and the mode
ends normally.
0
Unlocked
1
Locked
WAIT
Bit 3
Wait. Indicates the flash memory is being written to.
0
The flash memory is not ready for the next byte/word write
1
The flash memory is ready for the next byte/word write
ACCVIFG
Bit 2
Access violation interrupt flag
0
No interrupt pending
1
Interrupt pending
Summary of Contents for MSP430x4xx Family
Page 1: ...MSP430x4xx Family 2007 Mixed Signal Products User s Guide SLAU056G ...
Page 2: ......
Page 6: ...vi ...
Page 114: ...3 76 RISC 16 Bit CPU ...
Page 304: ...5 20 FLL Clock Module ...
Page 340: ...7 8 Supply Voltage Supervisor ...
Page 348: ...8 8 16 Bit Hardware Multiplier ...
Page 372: ...9 24 32 Bit Hardware Multiplier ...
Page 400: ...10 28 DMA Controller ...
Page 428: ...13 10 Basic Timer1 ...
Page 466: ...15 24 Timer_A ...
Page 522: ...17 30 USART Peripheral Interface UART Mode ...
Page 544: ...18 22 USART Peripheral Interface SPI Mode ...
Page 672: ...23 12 Comparator_A ...
Page 692: ...24 20 LCD Controller ...
Page 746: ...26 28 ADC12 ...