MC96FR116C
192
November, 2018 Rev.1.8
void flash_program_exit()
{
FCR = 0x31;
}
15.6.3 Summary of FLASH Program/Erase Mode
Flash Operation
Description
FLASH read
Read cell by byte.
FLASH write
Write cell by bytes or page.
FLASH page erase
Erase cell by page.
FLASH bulk erase
Erase the whole cells.
FLASH program verify
Read cell in verify mode after programming.
FLASH erase verify
Read cell in verify mode after erase.
FLASH page buffer load
Load data to page buffer.
Table 15-3 FLASH operating mode
15.7 Security
The MC96FR116C provides one LOCKF bit to protect memory contents from illegal attempt to read.
The LOCKF bit can be erased only by bulk erase operation.
LOCKF
USER MODE
OCD(ISP) / PMODE
FLASH
OTP
FLASH
OTP
R
W
PE
BE
R
W
PE
BE
R
W
PE
BE
R
W
PE
BE
0
O
O
O
X
X
X
X
X
O
O
O
O
O
O
O
O
1
O
O
O
X
X
X
X
X
X
X
X
O
O
X
X
O
Table 15-4 Memory protection by lock bit
•
LOCKF : Lock bit of FLASH memory
•
R : Read
•
W : Write
•
PE : Page Erase
•
BE : Bulk Erase
•
O : Operation is possible.
•
X : Operation is impossible.