w78l365a Winbond Electronics Corp America, w78l365a Datasheet - Page 23

no-image

w78l365a

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
w78l365a24DL
Manufacturer:
WINBOND/华邦
Quantity:
20 000
Part Number:
w78l365a24FL
Manufacturer:
Nuvoton Technology Corporation of America
Quantity:
10 000
Part Number:
w78l365a24PL
Manufacturer:
Nuvoton Technology Corporation of America
Quantity:
10 000
Part Number:
w78l365a24PL
Manufacturer:
WINBOND/华邦
Quantity:
20 000
Timer Interrupt Service Routine:
Setting Timer and enable Timer
Stop Timer & disable interrupt
(15 ms for erasing operation)
Setting erase operation mode:
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
End of Programming ?
interrupt for wake-up .
- 23 -
other interfaces.
programming:
PGM
No
W78LE365/W78L365A
Publication Release Date: April 28, 2008
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
Executing new code
F04KBOOT Mode ?
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)
Revision A8

Related parts for w78l365a