128 KByte Flash Module (S12XFTMR128K1V1)
S12XS Family Reference Manual, Rev. 1.13
Freescale Semiconductor
561
19.3.1
Module Memory Map
The S12X architecture places the P-Flash memory between global addresses 0x7E_0000 and 0x7F_FFFF
as shown in
. The P-Flash memory map is shown in
.
The FPROT register, described in
, can be set to protect regions in the Flash memory from
accidental program or erase. Three separate memory regions, one growing upward from global address
0x7F_8000 in the Flash memory (called the lower region), one growing downward from global address
0x7F_FFFF in the Flash memory (called the higher region), and the remaining addresses in the Flash
memory, can be activated for protection. The Flash memory addresses covered by these protectable regions
are shown in the P-Flash memory map. The higher address region is mainly targeted to hold the boot loader
code since it covers the vector space. Default protection settings as well as security information that allows
the MCU to restrict access to the Flash module are stored in the Flash configuration field as described in
.
Table 19-2. P-Flash Memory Addressing
Global Address
Size
(Bytes)
Description
0x7E_0000 – 0x7F_FFFF
128 K
P-Flash Block 0
Contains Flash Configuration Field
(see
Table 19-3. Flash Configuration Field
1
1
Older versions may have swapped protection byte addresses
Global Address
Size
(Bytes)
Description
0x7F_FF00 – 0x7F_FF07
8
Backdoor Comparison Key
Refer to
Section 19.4.2.11, “Verify Backdoor Access Key Command
,” and
Section 19.5.1, “Unsecuring the MCU using Backdoor Key Access
0x7F_FF08 – 0x7F_FF0B
2
2
0x7FF08 - 0x7F_FF0F form a Flash phrase and must be programmed in a single command write sequence. Each byte in
the 0x7F_FF08 - 0x7F_FF0B reserved field should be programmed to 0xFF.
4
Reserved
0x7F_FF0C
1
P-Flash Protection byte
.
Refer to
Section 19.3.2.9, “P-Flash Protection Register (FPROT)”
0x7F_FF0D
1
D-Flash Protection byte
.
Refer to
Section 19.3.2.10, “D-Flash Protection Register (DFPROT)”
0x7F_FF0E
1
Flash Nonvolatile byte
Refer to
Section 19.3.2.15, “Flash Option Register (FOPT)”
1
Flash Security byte
Refer to
Содержание MC9S12XS128
Страница 4: ...S12XS Family Reference Manual Rev 1 13 4 Freescale Semiconductor ...
Страница 58: ...Device Overview S12XS Family S12XS Family Reference Manual Rev 1 13 58 Freescale Semiconductor ...
Страница 150: ...Memory Mapping Control S12XMMCV4 S12XS Family Reference Manual Rev 1 13 150 Freescale Semiconductor ...
Страница 168: ...Interrupt S12XINTV2 S12XS Family Reference Manual Rev 1 13 168 Freescale Semiconductor ...
Страница 194: ...Background Debug Module S12XBDMV2 S12XS Family Reference Manual Rev 1 13 194 Freescale Semiconductor ...
Страница 364: ...Periodic Interrupt Timer S12PIT24B4CV1 S12XS Family Reference Manual Rev 1 13 364 Freescale Semiconductor ...
Страница 396: ...Pulse Width Modulator S12PWM8B8CV1 S12XS Family Reference Manual Rev 1 13 396 Freescale Semiconductor ...
Страница 506: ...Voltage Regulator S12VREGL3V3V1 S12XS Family Reference Manual Rev 1 13 506 Freescale Semiconductor ...
Страница 736: ...Ordering Information S12XS Family Reference Manual Rev 1 13 736 Freescale Semiconductor ...
Страница 737: ......