Information

Table 30-2. EzPort commands (continued)
Command Description Code
Address
Bytes
Data Bytes
Accepted when
secure?
FAST_RDFCCOB
Read FCCOB registers at high
speed
0xBB 0 1 - 12
2
No
WRFLEXRAM Write FlexRAM 0xBC 3
1
4 No
RDFLEXRAM Read FlexRAM 0xBD 3
1
1+ No
FAST_RDFLEXRAM Read FlexRAM at high speed 0xBE 3
1
1+
2
No
1. Address must be 32-bit aligned (two LSBs must be zero).
2. One byte of dummy data must be shifted in before valid data is shifted out.
3. Address must be 64-bit aligned (three LSBs must be zero).
4. Please see the Flash Memory chapter for a definition of section size. Total number of data bytes programmed must be a
multiple of 8.
5. Bulk Erase is accepted when security is set and only when the BEDIS status field is not set.
6. The flash will be in NVM Special mode, restricting the type of commands that can be executed through WRITE_FCCOB
when security is enabled.
30.3.1 Command descriptions
This section describes the module commands.
30.3.1.1 Write Enable
The Write Enable (WREN) command sets the write enable register field in the EzPort
status register. The write enable field must be set for a write command (SP, SE, BE,
WRFCCOB, or WRFLEXRAM) to be accepted. The write enable register field clears on
reset, on a Write Disable command, and at the completion of write command. This
command must not be used if a write is already in progress.
30.3.1.2 Write Disable
The Write Disable (WRDI) command clears the write enable register field in the status
register. This command must not be used if a write is already in progress.
30.3.1.3 Read Status Register
The Read Status Register (RDSR) command returns the contents of the EzPort status
register.
Chapter 30 EzPort
K20 Sub-Family Reference Manual, Rev. 1.1, Dec 2012
Freescale Semiconductor, Inc.
Preliminary
693
General Business Information