7.3.7 FMC2 Register (Offset = 0x20) [reset = 0x0]
Flash Memory Control 2 (FMC2)
When this register is written, the Flash memory controller initiates the appropriate access cycle for the location specified by the Flash Memory Address (FMA) register (see Section 7.3.1). If the access is a write access, the data contained in the Flash Write Buffer (FWB) registers is written.
This register must be the final register written as it initiates the memory operation.
FMC2 is shown in Figure 7-15 and described in Table 7-14.
Return to Summary Table.
Figure 7-15 FMC2 Register
31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
WRKEY |
W-0x0 |
|
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
WRKEY |
W-0x0 |
|
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
RESERVED |
R-0x0 |
|
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
RESERVED |
WRBUF |
R-0x0 |
R/W-0x0 |
|
Table 7-14 FMC2 Register Field Descriptions
Bit |
Field |
Type |
Reset |
Description |
31-16 |
WRKEY |
W |
0x0 |
Flash Memory Write Key
This field contains a write key, which is used to minimize the incidence of accidental Flash memory writes.
There are two options for the WRKEY value: If the KEY value in the BOOTCFG register is 0x1 at reset, the value 0xA442 is used as a key enable to initiate the appropriate access cycle for the location specified by the address in the FMA register.
If the KEY value in the BOOTCFG register is 0x0 at reset, the value programmed in the FLPEKEY register is used as a key enable to initiate the appropriate access cycle for the location specified by the address in the FMA register.
Writes to the FMC2 register without this WRKEY value are ignored.
A read of this field returns the value 0. |
15-1 |
RESERVED |
R |
0x0 |
|
0 |
WRBUF |
R/W |
0x0 |
Buffered Flash Memory Write
This bit is used to start a buffered write to Flash memory.
For information on programming time, see .
0x0 = A write of 0 has no effect on the state of this bit.When read, a 0 indicates that the previous buffered Flash memory write access is complete.
0x1 = Set this bit to write the data stored in the FWBn registers to the location specified by the contents of the FMA register.When read, a 1 indicates that the previous buffered Flash memory write access is not complete.
|