Freescale Semiconductor Tower System Eval Kit for MC9S12GN32 TWR-S12GN32-KIT TWR-S12GN32-KIT Hoja De Datos

Los códigos de productos
TWR-S12GN32-KIT
Descargar
Página de 1292
16 KByte Flash Module (S12FTMRG16K1V1)
MC9S12G Family Reference Manual, Rev.1.23
Freescale Semiconductor
803
24.4
Functional Description
24.4.1
Modes of Operation
The FTMRG16K1 module provides the modes of operation normal and special  . The operating mode is
determined by module-level inputs and affects the FCLKDIV, FCNFG, and EEPROT registers  (see
).
24.4.2
IFR Version ID Word
The version ID word is stored in the IFR at address 0x0_40B6. The contents of the word are defined in
.
VERNUM: Version number. The first version is number 0b_0001 with both 0b_0000 and 0b_1111
meaning ‘none’.
24.4.3
Internal NVM resource (NVMRES)
IFR is an internal NVM resource readable by CPU , when NVMRES is active. The IFR fields are shown
in
The NVMRES global address map is shown in
.
24.4.4
Flash Command Operations
Flash command operations are used to modify Flash memory contents.
The next sections describe:
How to write the FCLKDIV register that is used to generate a time base (FCLK) derived from
BUSCLK for Flash program and erase command operations
The command write sequence used to set Flash command parameters and launch execution
Valid Flash commands available for execution, according to MCU functional mode and MCU
security state.
24.4.4.1
Writing the FCLKDIV Register
Prior to issuing any Flash program or erase command after a reset, the user is required to write the
FCLKDIV register to divide BUSCLK down to a target FCLK of 1 MHz.
shows recommended
values for the FDIV field based on BUSCLK frequency.
Table 24-24. IFR Version ID Fields
[15:4]
[3:0]
Reserved
VERNUM