w78le58 Winbond Electronics Corp America, w78le58 Datasheet - Page 16

no-image

w78le58

Manufacturer Part Number
w78le58
Description
8-bit Microcontroller
Manufacturer
Winbond Electronics Corp America
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
w78le58F-24
Manufacturer:
WINBOND
Quantity:
664
Part Number:
w78le58P-24
Quantity:
20
Timer Interrupt Service Routine:
Setting Timer and enable Timer
Setting erase operation mode:
Stop Timer & disable interrupt
(15 ms for erasing operation)
Start Timer and enter IDLE
(Erase 32KB 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
- 16 -
End of Programming ?
interrupt for wake-up .
other interfaces.
programming:
PGM
No
Preliminary W78LE58
Yes
Part 2: 4KB LDROM
Procedure of Updating
the 32KB APROM
Software reset CPU and
re-boot from the 32KB
APROM.
00H in the 32KB APROM.
MOV CHPENR,#87H
MOV CHPENR,#59H
MOV CHPCON,#83H
F04KBOOT Mode ?
Executing new code
Is currently in the
from address
END
No
invalid in F04KBOOT
new 32 KB APROM.
Yes
Hardware Reset
to re-boot from
(S/W reset is
Mode)

Related parts for w78le58