NVM_FSTAT field descriptions (continued)
Field
Description
0
No access error detected.
1
Access error detected.
4
FPVIOL
Flash Protection Violation Flag
The FPVIOL bit indicates an attempt was made to program or erase an address in a protected area of
flash or EEPROM memory during a command write sequence. The FPVIOL bit is cleared by writing a 1 to
FPVIOL. Writing a 0 to the FPIOL bit has no effect on FPIOL. While FPIOL is set, it is not possible to
launch a command or start a command write sequence.
0
No protection violation detected.
1
Protection violation detected.
3
MGBUSY
Memory Controller Busy Flag
The MGBUSY flag 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
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
MGSTAT
Memory Controller Command Completion Status Flag
One or more MGSTAT flag bits are set if an error is detected during execution of a flash command or
during the flash reset sequence.
NOTE: Reset value can deviate from the value shown if a double bit fault is detected during the reset
sequence.
4.6.7 Flash Error Status Register (NVM_FERSTAT)
The FERSTAT register reflects the error status of internal flash and EEPROM
operations.
Address: 3020h base + 7h offset = 3027h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
NVM_FERSTAT field descriptions
Field
Description
7–2
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
1
DFDIF
Double Bit Fault Detect Interrupt Flag
The setting of the DFDIF flag indicates that a double bit fault was detected in the stored parity and data
bits during a flash array read operation or that a flash array read operation returning invalid data was
Table continues on the next page...
Chapter 4 Memory map
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
NXP Semiconductors
91
Summary of Contents for MC9S08PA4
Page 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Page 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Page 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Page 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Page 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Page 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Page 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Page 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Page 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Page 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Page 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Page 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...