Flash Status Register (Ftmrh_Fstat) - NXP Semiconductors MC9S08SU16 Reference Manual

Table of Contents

Advertisement

Memory map and register definition

11.4.5 Flash Status Register (FTMRH_FSTAT)

The FSTAT register reports the operational status of the flash module.
Address: 1830h base + 6h offset = 1836h
Bit
7
Read
CCIF
Write
Reset
1
Field
7
Command Complete Interrupt Flag
CCIF
Indicates that a flash command has completed. The CCIF flag is cleared by writing a 1 to CCIF to launch a
command and CCIF will stay low until command completion or command violation.
0
Flash command is in progress.
1
Flash command has completed.
6
This field is reserved.
Reserved
This read-only field is reserved and always has the value 0.
5
Flash Access Error Flag
ACCERR
Indicates an illegal access has occurred to the flash memory caused by either a violation of the command
write sequence or issuing an illegal flash command. While ACCERR is set, the CCIF flag cannot be
cleared to launch a command. Writing 1 to this field clears it while writing a 0 to this field has no effect.
0
No access error is detected.
1
Access error is detected.
4
Flash Protection Violation Flag
FPVIOL
Indicates an attempt was made to program or erase an address in a protected area of flash memory
during a command write sequence. Writing 1 to FPVIOL clears this field while writing 0 to this field has no
effect. While FPIOL is set, it is not possible to launch a command or start a command write sequence.
0
No protection violation is detected.
1
Protection violation is detected.
3
Memory Controller Busy Flag
MGBUSY
Reflects the active state of the memory controller.
0
Memory controller is idle.
1
Memory controller is busy executing a flash command (CCIF = 0).
2
This field is reserved.
Reserved
This read-only field is reserved and always has the value 0.
MGSTAT
Memory Controller Command Completion Status Flag
184
6
5
0
ACCERR
FPVIOL
0
0
FTMRH_FSTAT field descriptions
Table continues on the next page...
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
4
3
MGBUSY
0
0
Description
2
1
0
MGSTAT
0
0
NXP Semiconductors
0
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents