English
Language : 

S12FTS128KV1 Datasheet, PDF (27/46 Pages) Freescale Semiconductor, Inc – 128k byte Flash (Non-Volatile) Memory
Freescale Semiconductor, InBlcoc.k Guide — FTS128K V01.03
ACCERR — Flash Access Error.
The ACCERR flag indicates an illegal access to the selected Flash array. This can be either a violation
of the command sequence, issuing an illegal command (illegal combination of the CMDBx bits in the
FCMD register) 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 in either of the FSTAT registers it is not possible to launch
another command in either of the Flash blocks.
1 = Access error has occurred.
0 = No failure.
BLANK — Array has been verified as erased.
The BLANK flag indicates that an Erase Verify command has checked the Flash block and found it to
be blank. The BLANK flag is cleared by hardware when CBEIF is cleared as part of a new valid
command sequence. Writing to the BLANK flag has no effect on BLANK.
1 = Flash block verifies as erased.
0 = If an Erase Verify command has been requested, and the CCIF flag is set, then a zero in BLANK
indicates the block is not erased.
3.3.7 FCMD — Flash Command Register
The FCMD register defines the Flash commands. This register is banked.
Register address BASE + $106
7
6
5
4
R
0
CMDB6 CMDB5
0
W
Reset: 0
0
0
0
3
2
1
0
0
CMDB2
0
CMDB0
0
0
0
0
Figure 3-8 Flash Command Buffer and Register (FCMD)
Bits 7, 4, 3 and 1 read zero and are not writable. Bits CMDB6, CMDB5, CMDB2 and CMDB0 are readable
and writable during a command sequence.
CMDB — Valid NVM User mode commands are shown in Table 3-9. Any commands other than those
mentioned in Table 3-9 sets the ACCERR bit in the FSTAT register (3.3.6).
Table 3-9 FCMD NVM User Mode Commands
Command
$05
$20
$40
$41
Meaning
Erase Verify
Byte Program
Sector Erase
Mass Erase
27
For More Information On This Product,
Go to: www.freescale.com