English
Language : 

W78E516B Datasheet, PDF (8/26 Pages) Winbond – 8-BIT MICROCONTROLLER
W78E516B
SFRCN (C7)
BIT
NAME
FUNCTION
7
-
Reserve.
6
WFWIN On-chip MTP-ROM bank select for in-system programming.
= 0: 64K bytes MTP-ROM bank is selected as destination for re-programming.
= 1: 4K bytes MTP-ROM bank is selected as destination for re-programming.
5
OEN MTP-ROM output enable.
4
CEN MTP-ROM chip enable.
3, 2, 1, 0 CTRL[3:0] The flash control signals
MODE
Erase 64KB APROM
Program 64KB APROM
Read 64KB APROM
Erase 4KB LDROM
Program 4KB LDROM
Read 4KB LDROM
WFWIN
0
0
0
1
1
1
CTRL<3:0>
0010
0001
0000
0010
0001
0000
OEN
1
1
0
1
1
0
CEN
0
0
0
0
0
0
SFRAH, SFRAL
X
Address in
Address in
X
Address in
Address in
SFRFD
X
Data in
Data out
X
Data in
Data out
In-System Programming Control Register (CHPCON)
CHPCON (BFH)
BIT NAME
FUNCTION
7 SWRESET When this bit is set to 1, and both FBOOTSL and FPROGEN are set to 1. It
(F04KMODE) will enforce microcontroller reset to initial condition just like power on reset.
This action will re-boot the microcontroller and start to normal operation. To
read this bit in logic-1 can determine that the F04KBOOT mode is running.
6
-
Reserve.
5
-
Reserve.
4 ENAUXRAM 1: Enable on-chip AUX-RAM.
0: Disable the on-chip AUX-RAM
3
0
Must set to 0.
2
0
Must set to 0.
1 FBOOTSL The Program Location Select.
0: The Loader Program locates at the 64 KB APROM. 4KB LDROM is
destination for re-programming.
1: The Loader Program locates at the 4 KB memory bank. 64KB APROM is
destination for re-programming.
-8-