12.2.16 Flash Configuration Register 2 (SIM_FCFG2)
Address: 4004_7000h base + 1050h offset = 4004_8050h
Bit
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
R
W
Reset
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
W
Reset
* Notes:
Reset value loaded during System Reset from Flash IFR.
•
SIM_FCFG2 field descriptions
Field
Description
31
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
30–24
MAXADDR0
Max address block 0
This field concatenated with 13 trailing zeros indicates the first invalid address of each program flash
block.
For example, if MAXADDR0 = 0x20 the first invalid address of flash block 0 is 0x0004_0000. This would
be the MAXADDR0 value for a device with 256 KB program flash in flash block 0.
23
Reserved
This field is reserved.
This read-only field is reserved and always has the value 1.
22–16
MAXADDR1
Max address block 1
This field equals zero if there is only one program flash block, otherwise it equals the value of the
MAXADDR0 field.
For example, with MAXADDR0 = MAXADDR1 = 0x20 the first invalid address of flash block 1 is 0x4_0000
+ 0x4_0000. This would be the MAXADDR1 value for a device with 512 KB program flash memory across
two flash blocks and no FlexNVM.
15–0
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
Memory map and register definition
K22F Sub-Family Reference Manual , Rev. 3, 7/2014
276
Freescale Semiconductor, Inc.