English
Language : 

W77LE516 Datasheet, PDF (22/89 Pages) Winbond – 8-BIT MICROCONTROLLER
W77LE516/W77L516A
In ISP mode, read/write a specific byte ROM content must go through SFRFD register.
ISP OPERATION MODES
Bit:
7
6
5
4
3
2
1
0
- WFWIN NOE NCE CTRL3 CTRL2 CTRL1 CTRL0
Mnemonic: SFRCN
Address: AFh
WFWIN: Destenation ROM bank for programming, erasure and read. 0 = APFLASH, 1 = LDFLASH.
NOE: Flash EPROM output enable.
NCE: Flash EPROM chip enable.
CTRL[3:0]: Mode Selection.
ISP MODE
Erase 4KB LDFLASH
Erase 64K APFLASH
Program 4KB LDFLASH
Program 64KB
APFLASH
Read 4KB LDFLASH
Read 64KB APFLASH
WFWIN
1
0
1
0
1
0
NOE
1
1
1
1
0
0
NCE
0
0
0
CTRL<3:0>
0010
0010
0001
SFRAH, SFRAL
X
X
Address in
SFRFD
X
X
Data in
0
0001
Address in
Data in
0
0000
0
0000
Address in
Address in
Data out
Data out
PORT 3
Bit:
7
6
5
4
3
2
1
0
P3.7 P3.6 P3.5 P3.4 P3.3 P3.2 P3.1 P3.0
Mnemonic: P3
Address: B0h
P3.7-0: General purpose I/O port. Each pin also has an alternate input or output function. The
alternate functions are described below.
P3.7 RD Strobe for read from external RAM
P3.6 WR Strobe for write to external RAM
P3.5 T1 Timer/counter 1 external count input
P3.4 T0 Timer/counter 0 external count input
P3.3 INT1 External interrupt 1
P3.2
P3.1
P3.0
INT0
TxD
RxD
External interrupt 0
Serial port 0 output
Serial port 0 input
- 22 -