English
Language : 

W78E58B_06 Datasheet, PDF (14/36 Pages) Winbond – 8-BIT MICROCONTROLLER
W78E58B/W78E058B
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 ROM in the in-system programming mode.
SFRAH contains the high-order byte of address, SFRAL contains the low-order
byte of address.
SFRFD: The programming data for on-chip ROM in programming mode.
SFRCN: The control byte of on-chip ROM programming mode.
SFRCN (C7)
BIT
NAME
FUNCTION
7
-
Reserve.
On-chip ROM bank select for in-system programming.
6
WFWIN 0: 32K bytes ROM bank is selected as destination for re-programming.
1: 4K bytes ROM bank is selected as destination for re-programming.
5
OEN ROM output enable.
4
CEN ROM chip enable.
3, 2, 1, 0 CTRL [3:0] The flash control signals
MODE
Erase 32KB APROM
Program 32KB APROM
Read 32KB 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
- 14 -