W78LE58-24 Winbond, W78LE58-24 Datasheet - Page 31
![no-image](/images/manufacturer_photos/0/7/712/winbond_sml.jpg)
W78LE58-24
Manufacturer Part Number
W78LE58-24
Description
8-BIT MICROCONTROLLER
Manufacturer
Winbond
Datasheet
1.W78LE58-24.pdf
(31 pages)
READ_VERIFY_32K:
;******************************************************************************
;* PROGRAMMING COMPLETLY, SOFTWARE RESET CPU
;******************************************************************************
ERROR_32K:
CJNE R2,#0H,READ_VERIFY_32K
INC R1
MOV SFRAH,R1
MOV SFRAH,R1
MOV SFRCN,#00H
MOV SFRAL,R2
MOV TCON,#10H
MOV PCON,#01H
INC R2
MOVX A,@DPTR
INC DPTR
CJNE A,SFRFD,ERROR_32K
CJNE R1,#80H,READ_VERIFY_32K
MOV CHPENR,#87H
MOV CHPENR,#59H
MOV CHPCON,#83H
DJNZ R4,UPDATE_32K
.
.
.
.
Headquarters
Headquarters
No. 4, Creation Rd. III,
No. 4, Creation Rd. III,
Science -Based Industrial Park,
Science -Based Industrial Park,
Hsinchu, Taiwan
Hsinchu, Taiwan
TEL: 886 -3-5770066
TEL: 886 -3-5770066
FAX: 886 -3-5792766
FAX: 886 -3-5792766
http://www.winbond.com.tw/
http://www.winbond.com.tw/
Voice & Fax -on-demand: 886 -2-27197006
Voice & Fax -on-demand: 886 -2-27197006
Taipei Office
Taipei Office
11F, No. 115, Sec. 3, Min -Sheng East Rd.,
11F, No. 115, Sec. 3, Min -Sheng East Rd.,
Taipei, Taiwan
Taipei, Taiwan
TEL: 886 -2-27190505
TEL: 886 -2-27190505
FAX: 886 -2-27197502
FAX: 886 -2-27197502
Note: All data and specifications are subject to change withou t notice.
Note: All data and specifications are subject to change withou t notice.
; SFRAH, Target high address
; SFRCN = 00 (Read ROM CODE)
; SFRAL(C4H) = LOW ADDRESS
; TCON = 10H, TR0 = 1,GO
; CHPENR = 87H
; CHPENR = 59H
; CHPCON = 83H, SOFTWARE RESET.
; IF ERROR OCCURS, REPEAT 3 TIMES.
; IN-SYSTEM PROGRAMMING FAIL, USER'S PROCESS TO DEAL WITH IT.
Winbond Electronics (H.K.) Ltd.
Winbond Electronics (H.K.) Ltd.
Unit 9 -15, 22F, Millennium City,
Unit 9 -15, 22F, Millennium City,
No. 378 Kwun Tong Rd;
No. 378 Kwun Tong Rd;
Kowloon, Hong Kong
Kowloon, Hong Kong
TEL: 852 -27513100
TEL: 852 -27513100
FAX: 852 -27552064
FAX: 852 -27552064
- 31 -
Preliminary W78LE58
Winbond Electronics North America Corp.
Winbond Electronics North America Corp.
Winbond Memory Lab.
Winbond Memory Lab.
Winbond Microelectronics Corp.
Winbond Microelectronics Corp.
Winbond Systems Lab.
Winbond Systems Lab.
2727 N. First Street, San Jose,
2727 N. First Street, San Jose,
CA 95134, U.S.A.
CA 95134, U.S.A.
TEL: 408 -9436666
TEL: 408 -9436666
FAX: 408 -5441798
FAX: 408 -5441798
Publication Release Date: June 2000
Revision A1