FTFA_FCCOBn field descriptions (continued)
Field
Description
NOTE: The command parameter table is written in terms of FCCOB Number (which is equivalent to the
byte number). This number is a reference to the FCCOB register name and is not the register
address.
FCCOB Number
Typical Command Parameter Contents [7:0]
0
FCMD (a code that defines the flash command)
1
Flash address [23:16]
2
Flash address [15:8]
3
Flash address [7:0]
4
Data Byte 0
5
Data Byte 1
6
Data Byte 2
7
Data Byte 3
8
Data Byte 4
9
Data Byte 5
A
Data Byte 6
B
Data Byte 7
FCCOB Endianness and Multi-Byte Access :
The FCCOB register group uses a big endian addressing convention. For all command parameter fields
larger than 1 byte, the most significant data resides in the lowest FCCOB register number. The FCCOB
register group may be read and written as individual bytes, aligned words (2 bytes) or aligned longwords
(4 bytes).
24.3.3.6 Program Flash Protection Registers (FTFA_FPROTn)
The FPROT registers define which logical program flash regions are protected from
program and erase operations. Protected flash regions cannot have their content changed;
that is, these regions cannot be programmed and cannot be erased by any flash command.
Unprotected regions can be changed by program and erase operations.
The four FPROT registers allow up to 32 protectable regions. Each bit protects a 1/32
region of the program flash memory except for memory configurations with less than 32
KB of program flash where each assigned bit protects 1 KB . For configurations with 24
KB of program flash memory or less, FPROT0 is not used. For configurations with 16
KB of program flash memory or less, FPROT1 is not used. For configurations with 8 KB
of program flash memory, FPROT2 is not used. The bitfields are defined in each register
as follows:
Chapter 24 Flash Memory Module (FTFA)
KL02 Sub-Family Reference Manual, Rev. 2.1, July 2013
Freescale Semiconductor, Inc.
313