will be loaded during the reset sequence, the flash sector containing the EEPROM
protection byte must be unprotected. Then the EEPROM protection byte must be
programmed.
Trying to alter data in any protected area in the EEPROM memory will result in a
protection violation error and the FPVIOL bit will be set in the FSTAT register. Block
erase of the EEPROM memory is not possible if any of the EEPROM sectors are
protected.
Address: 3020h base + 9h offset = 3029h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
* Notes:
x = Undefined at reset.
•
NVM_EEPROT field descriptions
Field
Description
7
DPOPEN
EEPROM Protection Control
0
Enables EEPROM memory protection from program and erase with protected address range defined
by DPS bits.
1
Disables EEPROM memory protection from program and erase.
6–2
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
DPS
EEPROM Protection Size
These bits determine the size of the protected area in the EEPROM memory.
4.6.10 Flash Common Command Object Register:High
(NVM_FCCOBHI)
The FCCOB is an array of six words addressed via the CCOBIX index found in the
FCCOBIX register. Byte-wide reads and writes are allowed to the FCCOB register.
Address: 3020h base + Ah offset = 302Ah
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
Flash and EEPROM registers descriptions
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
94
NXP Semiconductors
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 ...