C8051F987-GMR Silicon Labs, C8051F987-GMR Datasheet - Page 151

no-image

C8051F987-GMR

Manufacturer Part Number
C8051F987-GMR
Description
8-bit Microcontrollers - MCU 8kB 512B RAM
Manufacturer
Silicon Labs
Datasheet

Specifications of C8051F987-GMR

Rohs
yes
Core
8051
Processor Series
C8051
Data Bus Width
8 bit
14.3. Security Options
The CIP-51 provides security options to protect the Flash memory from inadvertent modification by soft-
ware as well as to prevent the viewing of proprietary program code and constants. The Program Store
Write Enable (bit PSWE in register PSCTL) and the Program Store Erase Enable (bit PSEE in register
PSCTL) bits protect the Flash memory from accidental modification by software. PSWE must be explicitly
set to 1 before software can modify the Flash memory; both PSWE and PSEE must be set to 1 before soft-
ware can erase Flash memory. Additional security features prevent proprietary program code and data
constants from being read or altered across the C2 interface.
A Security Lock Byte located at the last byte of Flash user space offers protection of the Flash program
memory from access (reads, writes, or erases) by unprotected code or the C2 interface. See
“10. Memory Organization” on page 127
nism allows the user to lock n 512-byte Flash pages, starting at page 0 (addresses 0x0000 to 0x01FF),
where n is the 1s complement number represented by the Security Lock Byte. The page containing the
Flash Security Lock Byte is unlocked when no other Flash pages are locked (all bits of the Lock
Byte are 1) and locked when any other Flash pages are locked (any bit of the Lock Byte is 0).
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 14.1 summarizes the Flash security
features of the C8051F99x-C8051F98x devices.
Flash pages locked:
Security Lock Byte:
ones Complement:
Figure 14.1. Flash Program Memory Map (8 kB and smaller devices)
Unlocked Flash Pages
8KB Flash Device
Lock Byte Page
Lock Byte
Reserved
for the location of the security byte. The Flash security mecha-
5 (First four Flash pages + Lock Byte Page)
Rev. 1.1
Locked when
set according
security lock
Flash pages
Access limit
to the Flash
are locked
any other
byte
C8051F99x-C8051F98x
0000 0100b
1111 1011b
4 or 2 KB Flash Device
Unlocked Flash Pages
Lock Byte Page
Lock Byte
Reserved
Section
151

Related parts for C8051F987-GMR