Chapter 21 64 KB Flash Module (S12ZFTMRZ64K2KV2)
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
714
Freescale Semiconductor
21.3.2.13.1 FCCOB - NVM Command Mode
NVM command mode uses the FCCOB registers to provide a command code and its relevant parameters
to the Memory Controller. The user first sets up all required FCCOB fields and then initiates the
command’s execution by writing a 1 to the CCIF bit in the FSTAT register (a 1 written by the user clears
the CCIF command completion flag to 0). When the user clears the CCIF bit in the FSTAT register all
FCCOB parameter fields are locked and cannot be changed by the user until the command completes (as
evidenced by the Memory Controller returning CCIF to 1). Some commands return information to the
FCCOB register array.
The generic format for the FCCOB parameter fields in NVM command mode is shown in
.
The return values are available for reading after the CCIF flag in the FSTAT register has been returned to
1 by the Memory Controller. The value written to the FCCOBIX field must reflect the amount of CCOB
words loaded for command execution.
shows the generic Flash command format. The high byte of the first word in the CCOB array
contains the command code, followed by the parameters for this specific Flash command. For details on
the FCCOB settings required by each command, see the Flash command descriptions in
.
Offset Module Base + 0x0016
7
6
5
4
3
2
1
0
R
CCOB[15:8]
W
Reset
0
0
0
0
0
0
0
0
Figure 21-28. Flash Common Command Object 5 High Register (FCCOB5HI)
Offset Module Base + 0x0017
7
6
5
4
3
2
1
0
R
CCOB[7:0]
W
Reset
0
0
0
0
0
0
0
0
Figure 21-29. Flash Common Command Object 5 Low Register (FCCOB5LO)
Table 21-27. FCCOB - NVM Command Mode (Typical Usage)
CCOBIX[2:0]
Register
Byte
FCCOB Parameter Fields (NVM Command Mode)
000
FCCOB0
HI
FCMD[7:0] defining Flash command
LO
Global address [23:16]
001
FCCOB1
HI
Global address [15:8]
LO
Global address [7:0]
010
FCCOB2
HI
Data 0 [15:8]
LO
Data 0 [7:0]