English
Language : 

C8051F960-B-GM Datasheet, PDF (248/492 Pages) Silicon Laboratories – Ultra Low Power 128K, LCD MCU Family
C8051F96x
The level of flash security depends on the flash access method. The three flash access methods that can
be restricted are reads, writes, and erases from the C2 debug interface, user firmware executing on
unlocked pages, and user firmware executing on locked pages. Table 18.1 summarizes the flash security
features of the C8051F96x devices.
Table 18.1. Flash Security Summary
Action
C2 Debug
Interface
User Firmware executing from:
an unlocked page a locked page
Read, Write or Erase unlocked pages
(except page with Lock Byte)
Permitted
Permitted
Permitted
Read, Write or Erase locked pages
(except page with Lock Byte)
Not Permitted Flash Error Reset
Permitted
Read or Write page containing Lock Byte
(if no pages are locked)
Permitted
Permitted
Permitted
Read or Write page containing Lock Byte
(if any page is locked)
Not Permitted Flash Error Reset
Permitted
Read contents of Lock Byte
(if no pages are locked)
Permitted
Permitted
Permitted
Read contents of Lock Byte
(if any page is locked)
Not Permitted Flash Error Reset
Permitted
Erase page containing Lock Byte
(if no pages are locked)
Permitted Flash Error Reset Flash Error Reset
Erase page containing Lock Byte—Unlock all C2 Device Erase Flash Error Reset Flash Error Reset
pages (if any page is locked)
Only
Lock additional pages
(change 1s to 0s in the Lock Byte)
Not Permitted Flash Error Reset Flash Error Reset
Unlock individual pages
(change 0s to 1s in the Lock Byte)
Not Permitted Flash Error Reset Flash Error Reset
Read, Write or Erase Reserved Area
Not Permitted Flash Error Reset Flash Error Reset
C2 Device Erase—Erases all flash pages including the page containing the Lock Byte.
Flash Error Reset—Not permitted; Causes Flash Error Device Reset (FERROR bit in RSTSRC is '1' after
reset).
- All prohibited operations that are performed via the C2 interface are ignored (do not cause device reset).
- Locking any flash page also locks the page containing the Lock Byte.
- Once written to, the Lock Byte cannot be modified except by performing a C2 Device Erase.
- If user code writes to the Lock Byte, the Lock does not take effect until the next device reset.
248
Rev. 1.0