English
Language : 

K60P100M100SF2RM Datasheet, PDF (746/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Command Definition
Table 30-3. EzPort Status Register
7
6
5
R
FS
WEF
W
Reset:
0/11
0
0
4
3
2
1
0
FLEXRAM BEDIS
WEN
WIP
0
0/12
0/13
0
14
1. Reset value reflects the status of flash security out of reset.
2. Reset value reflects FlexNVM flash partitioning. If FlexNVM flash has been paritioned for EEPROM, this bit is set
immediately after reset. Note that FLEXRAM is cleared after the EzPort initialization sequence completes, as indicated by
clearing of WIP.
3. Reset value reflects if bulk erase is enabled or disabled out of reset
4. Initial value of WIP is 1, but the value clears to 0 after EzPort initialization is complete
Table 30-4. EzPort Status Register Field Descriptions
Field
0
WIP
1
WEN
2
BEDIS
3
FLEXRAM
Description
Write in progress.
Status flag that sets after a write command (SP, SE, BE, WRFCCOB, or WRFLEXRAM) is accepted and
clears once the flash memory has completed all operations associated with that command as indicated by
the Command Complete Interrupt Flag (CCIF) inside the Flash. Also asserted on reset and clears when
EzPort initialization is complete. Only the Read Status Register (RDSR) command is accepted while a
write is in progress.
0 = Write is not in progress. Accept any command.
1 = Write is in progress. Only accept RDSR command.
Write enable
Control bit that must be set before a write command (SP, SE, BE, WRFCCOB, or WRFLEXRAM) is
accepted. Is set by the Write Enable (WREN) command and cleared by reset or a Write Disable (WRDI)
command. It also clears when the flash memory has completed all operations associated with the
command.
0 = Disables the following write command.
1 = Enables the following write command.
Bulk erase disable
Status flag which indicates if bulk erase (BE) is disabled when Flash is secure.
0 = Bulk Erase is enabled.
1 = Bulk Erase is disabled if the FS bit is also set. Attempts to issue a BE command will result in the WEF
flag being set.
For devices with FlexRAM: FlexRAM mode
Status flag that indicates the current mode of the FlexRAM. Only valid when the WIP bit is cleared.
0 = FlexRAM is in RAM mode. RD/WRFLEXRAM command can be used to read/write data in FlexRAM.
1 = FlexRAM is in EEPROM mode. SP command is not accepted. RD/WRFLEXRAM command can be
used to read/write data in the FlexRAM.
Table continues on the next page...
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
746
Freescale Semiconductor, Inc.