Cfm User Status Register (Cfmustat); Cfmustat Field Descriptions - Motorola ColdFire MCF5281 User Manual

Motorola microcontroller user's manual
Table of Contents

Advertisement

6.3.4.7

CFM User Status Register (CFMUSTAT)

The CFMUSTAT reports Flash state machine command status, array access errors,
protection violations, and blank check status.
Field
CBEIF
Reset
R/W
R/W
Address
Figure 6-11. CFM User Status Register (CFMUSTAT)
Only one CFMUSTAT bit should be cleared at a time.
Bits
Name
7
CBEIF
6
CCIF
5
PVIOL
4
ACCERR
3
MOTOROLA
7
6
5
CCIF
PVIOL ACCERR
R
Table 6-10. CFMUSTAT Field Descriptions
Command buffer empty interrupt flag. The CBEIF flag indicates that the command buffer
for the interleaved Flash physical blocks is empty and that a new command sequence can be
started. Clear CBEIF by writing it to 1. Writing a 0 to CBEIF has no effect but can be used
to abort a command sequence. The CBEIF bit can trigger an interrupt request if the CBEIE
bit is set in CFMMCR. While CBEIF is clear, the CFMCMD register is not writable.
1 Command buffer is ready to accept a new command.
0 Command buffer is full.
Command complete interrupt flag. The CCIF flag indicates that no commands are pending
for the Flash physical blocks. CCIF is set and cleared automatically upon start and
completion of a command. Writing to CCIF has no effect. The CCIF bit can trigger an
interrupt request if the CCIE bit is set in CFMCR.
1 All commands are completed
0 Command in progress
Protection violation flag. The PVIOL flag indicates an attempt was made to initiate a
program or erase operation in a Flash logical sector denoted as protected by CFMPROT.
Clear PVIOL by writing it to 1. Writing a 0 to PVIOL has no effect. While PVIOL is set in
any this register, it is not possible to launch another command.
1 A protection violation has occurred
0 No failure
Access error flag. The ACCERR flag indicates an illegal access to the CFM array or
registers caused by a bad program or erase sequence. ACCERR is cleared by writing it to 1.
Writing a 0 to ACCERR has no effect. While ACCERR is set in this register, it is not
possible to launch another command. See Section 6.4.3.4, "Flash User Mode Illegal
Operations," for details on what sets the ACCERR flag.
1 Access error has occurred
0 No failure
Reserved, should be cleared.
Chapter 6. ColdFire Flash Module (CFM)
BLANK
1100_0000
R/W
IPSBAR + 0x1D_0020
NOTE
Description
Memory Map
1
0
6-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfire mcf5282

Table of Contents