Information
Table 29-2. EzPort commands (continued)
Command Description Code
Address
Bytes
Data Bytes
Accepted when
secure?
RESET Reset Chip 0xB9 0 0 Yes
WRFCCOB Write FCCOB Registers 0xBA 0 12 Yes
6
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. A section is defined as the smaller of either half the size of FlexRAM or the flash sector 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.
29.3.1 Command descriptions
This section describes the module commands.
29.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.
29.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.
29.3.1.3 Read Status Register
The Read Status Register (RDSR) command returns the contents of the EzPort status
register.
Chapter 29 EzPort
K20 Sub-Family Reference Manual, Rev. 2, Feb 2012
Freescale Semiconductor, Inc. 563
