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

SM5958W44JP 参数 Datasheet PDF下载

SM5958W44JP图片预览
型号: SM5958W44JP
PDF下载: 下载PDF文件 查看货源
内容描述: SM5958\n8位微控制器\n32KB具有ISP功能的Flash\n和1KB RAM的嵌入式 [SM5958 8-Bit Micro-controller 32KB with ISP Flash & 1KB RAM embedded]
分类和应用: 微控制器
文件页数/大小: 53 页 / 1834 K
品牌: SYNCMOS [ SYNCMOS TECHNOLOGIES,INC ]
 浏览型号SM5958W44JP的Datasheet PDF文件第45页浏览型号SM5958W44JP的Datasheet PDF文件第46页浏览型号SM5958W44JP的Datasheet PDF文件第47页浏览型号SM5958W44JP的Datasheet PDF文件第48页浏览型号SM5958W44JP的Datasheet PDF文件第49页浏览型号SM5958W44JP的Datasheet PDF文件第50页浏览型号SM5958W44JP的Datasheet PDF文件第51页浏览型号SM5958W44JP的Datasheet PDF文件第53页  
SM5958  
8-Bit Micro-controller  
32KB with ISP Flash  
& 1KB RAM embedded  
= 0: Disable.  
ISPPGS[1:0]: ISP Page Selection.  
ISPPGSE, ISPPGS1,ISPPGS0  
Per page in ISP page erase operation  
000  
001  
010  
011  
100  
101  
110  
111  
512Byte  
512Byte  
512Byte  
512Byte  
512Byten  
256Byte  
128Byte  
Reserved  
ISPF [1:0]: ISP function select bit.  
ISPF[1:0]  
ISP function  
Byte program  
Chip protect  
Page erase  
Chip erase  
00  
01  
10  
11  
The choice ISP function will start to execute once the software write data to ISPC register.  
To perform byte program/page erases ISP function, user need to specify flash address at first. When  
performing page erase function, SM5958 will erase entire page which flash address indicated by ISPFAH &  
ISPFAL registers located within the page.  
To perform the chip erase ISP function, SM5958 will erase all the flash program memory except the ISP  
service program space. To perform chip protect ISP function, the SM5958 flash memory content will be read  
#00H. The program will miss the interrupt if it happens during the ISP funtion.  
e.g. ISP service program to do the byte program - to program #22H to the address $1005H  
CLR EA  
;disable interrupt  
MOV ISPFD, #55h  
MOV ISPFD, #0AAh  
MOV ISPFD, #55h ; enable ISPE write attribute  
ORL SCONF, #04H ; enable ISP function  
MOV ISPFAH, #10H ; set flash address-high, 10H  
MOV ISPFAL, #05H ; set flash address-low, 05H  
MOV ISPFD, #22H ; set flash data to be programmed, data = 22H  
MOV ISPC, #80H ; start to program #22H to the flash address $1005H  
ANL SCONF, #0FBH ; disable ISP function  
SETB EA  
; enable interrupt  
Specifications subject to change without notice contact your sales representatives for the most recent information.  
ISSFD-M089 Ver A SM5958 3/19/2014  
- 52 -