English
Language : 

MC9S12XEP100MAG Datasheet, PDF (866/1324 Pages) Freescale Semiconductor, Inc – Reference Manual Covers MC9S12XE Family
Chapter 24 128 KByte Flash Module (S12XFTM128K2V1)
24.4.1.4 P-Flash Commands
Table 24-31 summarizes the valid P-Flash commands along with the effects of the commands on the P-
Flash block and other resources within the Flash module.
Table 24-31. P-Flash Commands
FCMD
0x01
0x02
0x03
0x04
0x06
0x07
0x08
0x09
0x0A
0x0B
0x0C
0x0D
0x0E
Command
Erase Verify All
Blocks
Erase Verify Block
Erase Verify P-
Flash Section
Read Once
Program P-Flash
Program Once
Erase All Blocks
Erase P-Flash
Block
Erase P-Flash
Sector
Unsecure Flash
Verify Backdoor
Access Key
Set User Margin
Level
Set Field Margin
Level
Function on P-Flash Memory
Verify that all P-Flash (and D-Flash) blocks are erased.
Verify that a P-Flash block is erased.
Verify that a given number of words starting at the address provided are erased.
Read a dedicated 64 byte field in the nonvolatile information register in P-Flash block 0
that was previously programmed using the Program Once command.
Program a phrase in a P-Flash block.
Program a dedicated 64 byte field in the nonvolatile information register in P-Flash block
0 that is allowed to be programmed only once.
Erase all P-Flash (and D-Flash) blocks.
An erase of all Flash blocks is only possible when the FPLDIS, FPHDIS, and FPOPEN
bits in the FPROT register and the EPDIS and EPOPEN bits in the EPROT register are
set prior to launching the command.
Erase a single P-Flash block.
An erase of the full P-Flash block is only possible when FPLDIS, FPHDIS and FPOPEN
bits in the FPROT register are set prior to launching the command.
Erase all bytes in a P-Flash sector.
Supports a method of releasing MCU security by erasing all P-Flash (and D-Flash) blocks
and verifying that all P-Flash (and D-Flash) blocks are erased.
Supports a method of releasing MCU security by verifying a set of security keys.
Specifies a user margin read level for all P-Flash blocks.
Specifies a field margin read level for all P-Flash blocks (special modes only).
24.4.1.5 D-Flash and EEE Commands
Table 24-32 summarizes the valid D-Flash and EEE commands along with the effects of the commands
on the D-Flash block and EEE operation.
Table 24-32. D-Flash Commands
FCMD
0x01
0x02
0x08
Command
Erase Verify All
Blocks
Erase Verify Block
Erase All Blocks
Function on D-Flash Memory
Verify that all D-Flash (and P-Flash) blocks are erased.
Verify that the D-Flash block is erased.
Erase all D-Flash (and P-Flash) blocks.
An erase of all Flash blocks is only possible when the FPLDIS, FPHDIS, and FPOPEN
bits in the FPROT register and the EPDIS and EPOPEN bits in the EPROT register are
set prior to launching the command.
MC9S12XE-Family Reference Manual Rev. 1.25
866
Freescale Semiconductor