Datasheet

Chapter 2 256 Kbyte Flash Module (S12FTS256K2V1)
MC9S12E256 Data Sheet, Rev. 1.10
Freescale Semiconductor 87
The Flash module also contains a set of 16 control and status registers located in address space module
base + 0x0000 to module base + 0x000F. In order to accommodate more than one Flash block with a
minimum register address space, a set of registers located from module base + 0x0004 to module
base + 0x000B are repeated in all banks. The active register bank is selected by the BKSEL bits in the
unbanked Flash configuration register (FCNFG). A summary of these registers is given in Table 2-4 while
their accessibility in normal and special modes is detailed in Section 2.3.2, “Register Descriptions”.
Table 2-4. Flash Register Map
Module
Base +
Register Name
Normal Mode
Access
0x0000 Flash Clock Divider Register (FCLKDIV) R/W
0x0001 Flash Security Register (FSEC) R
0x0002 Flash Test Mode Register (FTSTMOD)
1
1
Intended for factory test purposes only.
R
0x0003 Flash Configuration Register (FCNFG) R/W
0x0004 Flash Protection Register (FPROT) R/W
0x0005 Flash Status Register (FSTAT) R/W
0x0006 Flash Command Register (FCMD) R/W
0x0007 Flash Control Register (FCTL) R
0x0008 Flash High Address Register (FADDRHI)
1
R
0x0009 Flash Low Address Register (FADDRLO)
1
R
0x000A Flash High Data Register (FDATAHI) R
0x000B Flash Low Data Register (FDATALO) R
0x000C RESERVED1
1
R
0x000D RESERVED2
1
R
0x000E RESERVED3
1
R
0x000F RESERVED4
1
R