Information

This command is not accepted if the WEF, WIP, or FS bit is set or if the WEN bit is not
set in the EzPort status register.
30.3.1.7 Sector Erase
The Sector Erase (SE) command erases the contents of one sector of flash memory. The
three byte address sent after the command byte can be any address within the sector to
erase, but must be a 64-bit aligned address (the three LSBs must be zero). Attempts to
erase from an initial address which does not fall within the valid address range (see Flash
Memory Map for EzPort Access) for the flash results in the WEF flag being set.
This command is not accepted if the WEF, WIP or FS bit is set or if the WEN bit is not
set in the EzPort status register.
30.3.1.8 Bulk Erase
The Bulk Erase (BE) command erases the entire contents of flash memory, ignoring any
protected sectors or flash security. Flash security is disabled upon successful completion
of the BE command.
Attempts to issue a BE command while the BEDIS and FS bits are set results in the WEF
flag being set in the EzPort status register. Also, this command is not accepted if the
WEF or WIP bit is set or if the WEN bit is not set in the EzPort status register.
30.3.1.9 EzPort Reset Chip
The Reset Chip (RESET) command forces the chip into the reset state. If the EzPort chip
select (EZP_CS) pin is asserted at the end of the reset period then EzPort is enabled;
otherwise, it is disabled. This command allows the chip to boot up from flash memory
after it has been programmed by an external source.
This command is not accepted if the WIP bit is set in the EzPort status register.
30.3.1.10 Write FCCOB Registers
The Write FCCOB Registers (WRFCCOB) command allows the user to write to the flash
common command object registers and execute any command allowed by the flash.
Command Definition
K20 Sub-Family Reference Manual, Rev. 6, Nov 2011
706 Freescale Semiconductor, Inc.