w78e516b Winbond Electronics Corp America, w78e516b Datasheet - Page 19
![no-image](/images/no-image-200.jpg)
w78e516b
Manufacturer Part Number
w78e516b
Description
8-bit Microcontroller
Manufacturer
Winbond Electronics Corp America
Datasheet
1.W78E516B.pdf
(37 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
w78e516b-24
Manufacturer:
WINBOND
Quantity:
5 120
Company:
Part Number:
w78e516b-24
Manufacturer:
SAM
Quantity:
2 000
Part Number:
w78e516b-24
Manufacturer:
WINBOND/华邦
Quantity:
20 000
Company:
Part Number:
w78e516b-40
Manufacturer:
WINBOND
Quantity:
4 130
Company:
Part Number:
w78e516b-40
Manufacturer:
WINBOND
Quantity:
4 130
Part Number:
w78e516b-40
Manufacturer:
WINBOND/华邦
Quantity:
20 000
Part Number:
w78e516b40
Manufacturer:
WINBOND/华邦
Quantity:
20 000
Part Number:
w78e516b40DL
Manufacturer:
WINBOND/华邦
Quantity:
20 000
Company:
Part Number:
w78e516b40FL
Manufacturer:
Nuvoton Technology Corporation of America
Quantity:
10 000
Company:
Part Number:
w78e516b40PL
Manufacturer:
Nuvoton Technology Corporation of America
Quantity:
10 000
Part Number:
w78e516b40PL
Manufacturer:
WINBOND/华邦
Quantity:
20 000
Timer Interrupt Service Routine:
Setting Timer and enable Timer
Stop Timer & disable interrupt
Setting erase operation mode:
(15 ms for erasing operation)
Start Timer and enter IDLE
(Erase 64KB APROM)
interrupt for wake-up .
Is F04KBOOT Mode?
MOV SFRCN,#22H
be wakened by Timer
(CHPCON.7=1)
operation. CPU will
No
(Erasing...)
End of erase
Mode.
interrupt.
PGM
Go
Yes
Reset the CHPCON Register:
MOV CHPENR,#87H
MOV CHPENR,#59H
MOV CHPCON,#03H
(50us for program operation)
Setting Timer and enable Timer
Get the parameters of new code
through I/O ports, UART or
MOV SFRAH,#ADDRESS_H
MOV SFRAL,#ADDRESS_L
MOV SFRFD,#DATA
MOV SFRCN,#21H
(Address and data bytes)
Setting control registers for
- 19 -
End of Programming ?
interrupt for wake-up .
other interfaces.
programming:
PGM
No
Publication Release Date: April 22, 2008
Yes
Part 2: 4KB LDROM
Procedure of Updating
the 64KB APROM
Software reset CPU and
re-boot from the 64KB
APROM.
00H in the 64KB APROM.
MOV CHPENR,#87H
MOV CHPENR,#59H
MOV CHPCON,#83H
Executing new code
F04KBOOT Mode ?
Is currently in the
from address
END
No
W78E516B
invalid in F04KBOOT
new 64 KB APROM.
Yes
Hardware Reset
to re-boot from
(S/W reset is
Revision A12
Mode)