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

C8051F530-IM 参数 Datasheet PDF下载

C8051F530-IM图片预览
型号: C8051F530-IM
PDF下载: 下载PDF文件 查看货源
内容描述: 8/4/2 KB ISP功能的Flash MCU系列 [8/4/2 kB ISP Flash MCU Family]
分类和应用:
文件页数/大小: 220 页 / 2701 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F530-IM的Datasheet PDF文件第108页浏览型号C8051F530-IM的Datasheet PDF文件第109页浏览型号C8051F530-IM的Datasheet PDF文件第110页浏览型号C8051F530-IM的Datasheet PDF文件第111页浏览型号C8051F530-IM的Datasheet PDF文件第113页浏览型号C8051F530-IM的Datasheet PDF文件第114页浏览型号C8051F530-IM的Datasheet PDF文件第115页浏览型号C8051F530-IM的Datasheet PDF文件第116页  
C8051F52x-53x  
13.3. Non-volatile Data Storage  
The Flash memory can be used for non-volatile data storage as well as program code. This allows data  
such as calibration coefficients to be calculated and stored at run time. Data is written using the MOVX  
write instruction and read using the MOVC instruction. Note: MOVX read instructions always target XRAM.  
13.4. 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 example below.  
Security Lock Byte:  
1’s Complement:  
11111101b  
00000010b  
Flash pages locked:  
3 (First two Flash pages + Lock Byte Page)  
0x0000 to 0x03FF (first two Flash pages)  
0x1C00 to 0x1DFF in C8051F520/1 and ‘F530/1  
0x0C00 to 0x0FFF in C8051F523/4 and ‘F533/4 and  
0x0600 to 0x07FF in C8051F526/7 and ‘F536/7  
Addresses locked:  
C8051F520/1 and ‘F530/1  
C8051F523/4 and ‘F533/4  
Reserved  
C8051F526/7 and ‘F536/7  
Reserved  
Reserved  
Lock Byte  
0x1E00  
0x1DFF  
0x1DFE  
0x1C00  
0x0FFF  
0x0FFE  
0x0E00  
0x07FF  
0x07FE  
0x0600  
Lock Byte  
Lock Byte  
Locked when  
any other Flash  
pages are  
locked  
Access limit  
set according  
to the Flash  
security lock  
byte  
Unlocked Flash Pages  
Unlocked Flash Pages  
Unlocked Flash Pages  
0x0000  
0x0000  
0x0000  
Figure 13.1. Flash Program Memory Map  
112  
Rev. 0.3  
 复制成功!