Chapter 19 Flash Module (S12ZFTMRZ)MC9S12ZVMB Family Reference Manual Rev. 1.3NXP Semiconductors 64119.3.2.13.1 FCCOB - NVM Command ModeNVM command mode uses the FCCOB registers to provide a command code and its relevant parametersto the Memory Controller. The user first sets up all required FCCOB fields and then initiates thecommand’s execution by writing a 1 to the CCIF bit in the FSTAT register (a 1 written by the user clearsthe CCIF command completion flag to 0). When the user clears the CCIF bit in the FSTAT register allFCCOB parameter fields are locked and cannot be changed by the user until the command completes (asevidenced by the Memory Controller returning CCIF to 1). Some commands return information to theFCCOB register array.The generic format for the FCCOB parameter fields in NVM command mode is shown in Table 19-27.The return values are available for reading after the CCIF flag in the FSTAT register has been returned to1 by the Memory Controller. The value written to the FCCOBIX field must reflect the amount of CCOBwords loaded for command execution.Table 19-27 shows the generic Flash command format. The high byte of the first word in the CCOB arraycontains the command code, followed by the parameters for this specific Flash command. For details onthe FCCOB settings required by each command, see the Flash command descriptions in Section 19.4.7.Offset Module Base + 0x00167 6 5 4 3 2 1 0R CCOB[15:8]WReset 0 0 0 0 0 0 0 0Figure 19-28. Flash Common Command Object 5 High Register (FCCOB5HI)Offset Module Base + 0x00177 6 5 4 3 2 1 0R CCOB[7:0]WReset 0 0 0 0 0 0 0 0Figure 19-29. Flash Common Command Object 5 Low Register (FCCOB5LO)Table 19-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 commandLO 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]