![](http://datasheet.mmic.net.cn/370000/P9S12XEP100J1VVLR_datasheet_16728329/P9S12XEP100J1VVLR_912.png)
Chapter 23 1024 KByte Flash Module (S12XFTM1024K5V2)
MC9S12XE-Family Reference Manual , Rev. 1.07
912
Freescale Semiconductor
23.5.1.2
MCU Special Operating Modes
In MCU special operating modes with the Flash module unsecure, NVM command mode allows all Flash
commands described in
Section 23.4.2
to execute.
The FPROT register is loaded from the Flash protection byte during the reset sequence. Writes to the
FPROT register are not restricted. The Program P-Flash (0x06), Erase All Blocks (0x08), Erase P-Flash
Block (0x09), and Erase P-Flash Sector (0x0A) commands will cause a protection violation if the
command will attempt to alter data in a protected area.
The EPROT register is loaded from the EEE protection byte during the reset sequence. Writes to the
EPROTregisterarenotrestricted.AllwritestoaprotectedareaofthebufferRAMEEEpartitionwillresult
in a protection violation.
23.5.2
Flash Module Operation while Secure
23.5.2.1
MCU Normal Operating Modes
In MCU normal modes with the Flash module secure, NVM command mode allows the following Flash
commands:
0x01 - Erase Verify All Blocks
0x02 - Erase Verify Block
0x03 - Erase Verify P-Flash Section (normal single chip mode only)
0x04 - Read Once (normal single chip mode only)
0x05 - Load Data Field (normal single chip mode only)
0x06 - Program P-Flash (normal single chip mode only)
0x07 - Program Once (normal single chip mode only)
0x09 - Erase P-Flash Block (normal single chip mode only)
0x0A - Erase P-Flash Sector (normal single chip mode only)
0x0C - Verify Backdoor Access Key (normal single chip mode only)
0x0D - Set User Margin Level (normal single chip mode only)
0x10 - Erase Verify D-Flash Section (normal single chip mode only)
0x11 - Program D-Flash (normal single chip mode only)
0x12 - Erase D-Flash Sector (normal single chip mode only)
0x13 - Enable EEPROM Emulation
0x14 - Disable EEPROM Emulation
0x15 - EEPROM Emulation Query
0x20 - Partition D-Flash
The FPROT register (see
Section 23.3.2.9
) is loaded from the Flash protection byte during the reset
sequence. Writes to the FPROT register are restricted to specific scenarios in MCU normal operating
modes. The Program P-Flash (0x06), Erase P-Flash Block (0x09), and Erase P-Flash Sector (0x0A)
commands will cause a protection violation if the command will attempt to alter data in a protected area.