
Preliminary W79E648
Publication Release Date: 05/31/2004
- 21 - Revision A1
ISP Operation Modes
Bit:
7
6
5
4
3
2
1
0
BANK WFWIN
NOE
NCE
CTRL3
CTRL2 CTRL1 CTRL0
Mnemonic: SFRCN
Address: AFh
BANK: Select APFlash banks for ISP. Set it 1 access to APFlash1, clear it to APFlash0.
WFWIN: Destenation ROM bank for programming, erasure and read. 0 = APFlashx, 1 = LDFlash.
NOE: Flash EPROM output enable.
NCE: Flash EPROM chip enable.
CTRL[3:0]: Mode Selection.
ISP Mode
BANK
WFWIN
NOE
NCE
CTRL<3:0>
SFRAH,
SFRAL
SFRFD
Erase 4KB LDFlash
0
1
1
0
0010
X
X
Erase 64K APFlash0
0
0
1
0
0010
X
X
Erase 64K APFlash1
1
0
1
0
0010
X
X
Program 4KB LDFlash
0
1
1
0
0001
Address in
Data in
Program 64KB APFlash0
0
0
1
0
0001
Address in
Data in
Program 64KB APFlash1
1
0
1
0
0001
Address in
Data in
Read 4KB LDFlash
0
1
0
0
0000
Address in
Data out
Read 64KB APFlash0
0
0
0
0
0000
Address in
Data out
Read 64KB APFlash1
1
0
0
0
0000
Address in
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
P3.6
P3.5
P3.4
P3.3
P3.2
P3.1
P3.0
RD
WR
T1
T0
INT1
INT0
External interrupt 0
TxD
Serial port 0 output
RxD
Serial port 0 input
Strobe for read from external RAM
Strobe for write to external RAM
Timer/counter 1 external count input
Timer/counter 0 external count input
External interrupt 1