English
Language : 

W78LE58_06 Datasheet, PDF (15/34 Pages) Winbond – 8-BIT MICROCONTROLLER
W78LE58/W78L058A
The Algorithm of In-System Programming
START
Part 1:32KB APROM
procedure of entering
In-System Programming Mode
Enter In-System
No
Programming Mode ?
(conditions depend on
user's application)
Yes
Setting control registers
MOV CHPENR,#87H
MOV CHPENR,#59H
MOV CHPCON,#03H
Execute the normal application
program
Setting Timer (about 1.5 us)
and enable timer interrupt
Start Timer and enter idle Mode.
(CPU will be wakened from idle mode
by timer interrupt, then enter In-System
Programming mode)
END
CPU will be wakened by interrupt and
re-boot from 4KB LDROM to execute
the loader program.
Go
- 15 -
Publication Release Date: December 4, 2006
Revision A6