|
S9S12G128F0CLF Datasheet, PDF (943/1158 Pages) Freescale Semiconductor, Inc – MC9S12G Family Reference Manual | |||
|
◁ |
128 KByte Flash Module (S12FTMRG128K1V1)
FCMD
0x08
0x09
0x0B
0x0D
0x0E
0x10
0x11
0x12
Table 26-29. EEPROM Commands
Command
Erase All Blocks
Erase Flash Block
Unsecure Flash
Set User Margin
Level
Set Field Margin
Level
Erase Verify
EEPROM Section
Program
EEPROM
Erase EEPROM
Sector
Function on EEPROM Memory
Erase all EEPROM (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 DPOPEN bit in the DFPROT register are set prior to
launching the command.
Erase a EEPROM (or P-Flash) block.
An erase of the full EEPROM block is only possible when DPOPEN bit in the DFPROT
register is set prior to launching the command.
Supports a method of releasing MCU security by erasing all EEPROM (and P-Flash)
blocks and verifying that all EEPROM (and P-Flash) blocks are erased.
Speciï¬es a user margin read level for the EEPROM block.
Speciï¬es a ï¬eld margin read level for the EEPROM block (special modes only).
Verify that a given number of words starting at the address provided are erased.
Program up to four words in the EEPROM block.
Erase all bytes in a sector of the EEPROM block.
26.4.5 Allowed Simultaneous P-Flash and EEPROM Operations
Only the operations marked âOKâ in Table 26-30 are permitted to be run simultaneously on the Program
Flash and EEPROM blocks. Some operations cannot be executed simultaneously because certain hardware
resources are shared by the two memories. The priority has been placed on permitting Program Flash reads
while program and erase operations execute on the EEPROM, providing read (P-Flash) while write
(EEPROM) functionality.
Table 26-30. Allowed P-Flash and EEPROM Simultaneous Operations
EEPROM
Program Flash Read
Margin
Read1
Program
Sector
Erase
Mass
Erase2
Read
OK
OK
OK
Margin Read1
Program
Sector Erase
Mass Erase2
OK
1 A âMargin Readâ is any read after executing the margin setting commands
âSet User Margin Levelâ or âSet Field Margin Levelâ with anything but the
ânormalâ level speciï¬ed. See the Note on margin settings in Section 26.4.6.12
and Section 26.4.6.13.
2 The âMass Eraseâ operations are commands âErase All Blocksâ and âErase
Flash Blockâ
MC9S12G Family Reference Manual, Rev.1.10
Freescale Semiconductor
943
|
▷ |