user manual
Block Guide — S12EETX4KV0 V00.04
21
The CCIF flag indicates that there are no more commands pending. The CCIF flag is cleared when
CBEIF is clear and sets automatically upon completion of all active and pending commands. The CCIF
flag does not set when an active commands completes and a pending command is fetched from the
command buffer. Writing to the CCIF flag has no effect on CCIF. The CCIF flag is used together with
the CCIE bit in the ECNFG register to generate an interrupt request (see Figure 4-8).
1 = All commands are completed.
0 = Command in progress.
PVIOL — Protection Violation Flag.
The PVIOL flag indicates an attempt was made to program or erase an address in a protected area of
the EEPROM memory during a command write sequence. The PVIOL flag is cleared by writing a “1”
to PVIOL. Writing a “0” to the PVIOL flag has no effect on PVIOL. While PVIOL is set, it is not
possible to launch a command or start a command write sequence.
1 = A protection violation has occurred.
0 = No failure.
ACCERR — Access Error Flag.
The ACCERR flag indicates an illegal access has occurred to the EEPROM memory caused by either
a violation of the command write sequence (see section 4.1.2), issuing an illegal EEPROM command
(see Table 3-4), launching the sector erase abort command terminating a sector erase operation early
(see section 4.1.3.5) or the execution of a CPU STOP instruction while a command is executing
(CCIF=0). The ACCERR flag is cleared by writing a “1” to ACCERR. Writing a “0” to the ACCERR
flag has no effect on ACCERR. While ACCERR is set, it is not possible to launch a command or start
a command write sequence. If ACCERR is set by an erase verify operation, any buffered command
will not launch.
1 = Access error has occurred.
0 = No access error detected.
BLANK — Flag indicating the erase verify operation status.
When the CCIF flag is set after completion of an erase verify command, the BLANK flag indicates the
result of the erase verify operation. The BLANK flag is cleared by the EEPROM module when CBEIF
is cleared as part of a new valid command write sequence. Writing to the BLANK flag has no effect
on BLANK.
1 = EEPROM block verified as erased.
0 = EEPROM block verified as not erased.
3.3.7 ECMD — EEPROM Command Register
The ECMD register is the EEPROM command register.
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...