欢迎访问ic37.com |
会员登录 免费注册
发布采购

C8051F310 参数 Datasheet PDF下载

C8051F310图片预览
型号: C8051F310
PDF下载: 下载PDF文件 查看货源
内容描述: 8/16 KB ISP功能的Flash MCU系列 [8/16 kB ISP Flash MCU Family]
分类和应用: 微控制器和处理器
文件页数/大小: 228 页 / 2504 K
品牌: SILABS [ SILICON LABORATORIES ]
 浏览型号C8051F310的Datasheet PDF文件第109页浏览型号C8051F310的Datasheet PDF文件第110页浏览型号C8051F310的Datasheet PDF文件第111页浏览型号C8051F310的Datasheet PDF文件第112页浏览型号C8051F310的Datasheet PDF文件第114页浏览型号C8051F310的Datasheet PDF文件第115页浏览型号C8051F310的Datasheet PDF文件第116页浏览型号C8051F310的Datasheet PDF文件第117页  
C8051F310/1/2/3/4/5/6/7
10.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
software 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. The Flash security
mechanism allows the user to lock
n
512-byte Flash pages, starting at page 0 (addresses 0x0000 to
0x01FF), where
n
is the 1’s complement number represented by the Security Lock Byte.
Note that 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’).
See the example below.
Security Lock Byte:
1’s Complement:
Flash pages locked:
Addresses locked:
11111101b
00000010b
3 (First two Flash pages + Lock Byte Page)
0x0000 to 0x03FF (first two Flash pages)
and 0x3C00 to 0x3DFF or 0x1E00 to 0x1FFF (Lock Byte Page)
C8051F310/1/6/7
C8051F312/3/4/5
Reserved
0x3E00
Reserved
0x2000
0x3DFF
Locked when any
other FLASH pages
are locked
Lock Byte
Lock Byte
0x1FFF
0x3DFE
0x1FFE
0x1E00
0x3C00
Unlocked FLASH Pages
Access limit set
according to the
FLASH security lock
byte
Unlocked FLASH Pages
FLASH memory
organized in 512-byte
pages
0x0000
0x0000
Figure 10.1. Flash Program Memory Map
Rev. 1.7
113