Datasheet

Table Of Contents
Flash EEPROM 256K
Register Descriptions
MC9S12DP256 — Revision 1.1
Flash EEPROM 256K
PROG — Word programming
Trying to program a word located in a protected area will result in a
protection error indicated by PVIOL set.
1 = Program memory
0 = -
ERVER — Enable Erase Verify
Verifies the flash block is fully erased. A successful verification will set
the BLANK bit in the FSTAT register.
1 = Perform an erase verify after mass erase.
0 = -
MASS — Enables Mass Erase
Perform a mass erase of the selected 64K byte block. This bit works
in conjunction with the ERASE bit. If any protection is active on the
selected block, mass erase has no effect and the PVIOL bit in the
FSTAT register is set.
Write at anytime.
1 = Perform a mass erase of the whole block.
0 = Perform sector erase.
The registers $107–$10B are reserved for factory testing and are not
available to the user.
Table 34 Valid Commands
Command Meaning Remarks
$20 Memory Program Program 1 word (2 bytes)
$40 Sector Erase Erase 512 bytes
$41 Mass Erase Erase all 64K bytes
$05 Erase Verify
Verify all 64K bytes are
erased
other Illegal Generate an access error
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...