English
Language : 

W78E516B Datasheet, PDF (10/26 Pages) Winbond – 8-BIT MICROCONTROLLER
W78E516B
The Algorithm of In-System Programming
START
Part 1:64KB 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
- 10 -