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

W78E516BP-24 参数 Datasheet PDF下载

W78E516BP-24图片预览
型号: W78E516BP-24
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-BIT MICROCONTROLLER]
分类和应用: 微控制器和处理器外围集成电路时钟
文件页数/大小: 26 页 / 223 K
品牌: WINBOND [ WINBOND ]
 浏览型号W78E516BP-24的Datasheet PDF文件第3页浏览型号W78E516BP-24的Datasheet PDF文件第4页浏览型号W78E516BP-24的Datasheet PDF文件第5页浏览型号W78E516BP-24的Datasheet PDF文件第6页浏览型号W78E516BP-24的Datasheet PDF文件第8页浏览型号W78E516BP-24的Datasheet PDF文件第9页浏览型号W78E516BP-24的Datasheet PDF文件第10页浏览型号W78E516BP-24的Datasheet PDF文件第11页  
W78E516B  
Port 4 (D8H)  
BIT  
7
NAME  
FUNCTION  
-
-
Reserve  
Reserve  
Reserve  
Reserve  
6
5
-
4
-
3
P43  
P42  
P41  
P40  
Port 4 Data bit which outputs to pin P4.3.  
Port 4 Data bit. which outputs to pin P4.2.  
Port 4 Data bit. which outputs to pin P4.1.  
Port 4 Data bit which outputs to pin P4.0.  
2
1
0
In-System Programming (ISP) Mode  
The W78E516B equips one 64K byte of main MTP-ROM bank for application program (called  
APROM) and one 4K byte of auxiliary MTP-ROM bank for loader program (called LDROM). In the  
normal operation, the microcontroller executes the code in the APROM. If the content of APROM  
needs to be modified, the W78E516B allows user to activate the In-System Programming (ISP) mode  
The CHPCON is read-only by default, software must write two  
by setting the CHPCON register.  
specific values 87H, then 59H sequentially to the CHPENR register to enable the CHPCON  
write attribute. Writing CHPENR register with the values except 87H and 59H will close  
CHPCON register write attribute.  
The W78E516B achieves all in-system programming operations  
including enter/exit ISP Mode, program, erase, read ... etc, during device in the idle mode. Setting the  
bit CHPCON.0 the device will enter in-system programming mode after a wake-up from idle mode.  
Because device needs proper time to complete the ISP operations before awaken from idle mode,  
software may use timer interrupt to control the duration for device wake-up from idle mode. To  
perform ISP operation for revising contents of APROM, software located at APROM setting the  
CHPCON register then enter idle mode, after awaken from idle mode the device executes the  
corresponding interrupt service routine in LDROM. Because the device will clear the program counter  
while switching from APROM to LDROM, the first execution of RETI instruction in interrupt service  
routine will jump to 00H at LDROM area. The device offers a software reset for switching back to  
Setting CHPCON register bit 0,  
APROM while the content of APROM has been updated completely.  
1 and 7 to logic-1 will result a software reset to reset the CPU  
. The software reset serves as a  
external reset. This in-system programming feature makes the job easy and efficient in which the  
application needs to update firmware frequently. In some applications, the in-system programming  
feature make it possible to easily update the system firmware without opening the chassis.  
SFRAH, SFRAL:  
The objective address of on-chip MTP-ROM in the in-system programming mode.  
SFRFAH contains the high-order byte of address, SFRFAL contains the low-order  
byte of address.  
SFRFD:  
SFRCN:  
The programming data for on-chip MTP-ROM in programming mode.  
The control byte of on-chip MTP-ROM programming mode.  
Publication Release Date: February 2000  
- 7 -  
Revision A3  
 复制成功!