HT45FH4M
Lithium Battery Backup Power ASSP MCU
In Circuit Programming
TheꢀprovisionꢀofꢀFlashꢀtypeꢀProgramꢀMemoryꢀprovidesꢀtheꢀuserꢀwithꢀaꢀmeansꢀofꢀconvenientꢀandꢀeasyꢀ
upgradesꢀandꢀmodificationsꢀtoꢀtheirꢀprogramsꢀonꢀtheꢀsameꢀdevice.ꢀAsꢀanꢀadditionalꢀconvenience,ꢀ
Holtekꢀhasꢀprovidedꢀaꢀmeansꢀofꢀprogrammingꢀtheꢀmicrocontrollerꢀin-circuitꢀusingꢀaꢀ4-pinꢀinterface.ꢀ
Thisꢀprovidesꢀmanufacturersꢀwithꢀtheꢀpossibilityꢀofꢀmanufacturingꢀtheirꢀcircuitꢀboardsꢀcompleteꢀwithꢀ
aꢀprogrammedꢀorꢀun-programmedꢀmicrocontroller,ꢀandꢀthenꢀprogrammingꢀorꢀupgradingꢀtheꢀprogramꢀ
atꢀaꢀlaterꢀstage.ꢀThisꢀenablesꢀproductꢀmanufacturersꢀtoꢀeasilyꢀkeepꢀtheirꢀmanufacturedꢀproductsꢀ
suppliedꢀwithꢀtheꢀlatestꢀprogramꢀreleasesꢀwithoutꢀremovalꢀandꢀre-insertionꢀofꢀtheꢀdevice.
TheꢀHoltekꢀFlashꢀMCUꢀtoꢀWriterꢀProgrammingꢀPinꢀcorrespondenceꢀtableꢀisꢀasꢀfollows:
Holtek Writer Pins
MCU Programming Pins
Pin Description
Pꢁogꢁamming Seꢁial Data/Addꢁess
Pꢁogꢁamming Clock
Poweꢁ Sꢀpplꢂ
ICPDA
ICPCK
VDD
PA6
PA7
VDD
VSS
VSS
Gꢁoꢀnd
Duringꢀtheꢀprogrammingꢀprocess,ꢀtheꢀuserꢀmustꢀthereꢀtakeꢀcareꢀtoꢀensureꢀthatꢀnoꢀotherꢀoutputsꢀareꢀ
connectedꢀtoꢀtheseꢀtwoꢀpins.
TheꢀProgramꢀMemoryꢀandꢀEEPROMꢀdataꢀmemoryꢀcanꢀbothꢀbeꢀprogrammedꢀseriallyꢀin-circuitꢀusingꢀ
thisꢀ4-wireꢀinterface.ꢀDataꢀisꢀdownloadedꢀandꢀuploadedꢀseriallyꢀonꢀaꢀsingleꢀpinꢀwithꢀanꢀadditionalꢀ
lineꢀforꢀtheꢀclock.ꢀTwoꢀadditionalꢀlinesꢀareꢀrequiredꢀforꢀtheꢀpowerꢀsupply.ꢀTheꢀtechnicalꢀdetailsꢀ
regardingꢀtheꢀin-circuitꢀprogrammingꢀofꢀtheꢀdeviceꢀareꢀbeyondꢀtheꢀscopeꢀofꢀthisꢀdocumentꢀandꢀwillꢀ
beꢀsuppliedꢀinꢀsupplementaryꢀliterature.
W
i
r
e
t
r
C
o
n
c
n
o
t
e
r
M
U
C
P
o
r
r
g
m
a
m
i
g
n
S
g
i
n
s
a
l
P
n
i
s
W
i
r
e
t
r
D
_
D
V
V
D
D
P
A
6
I
P
C
A
D
P
A
7
I
P
C
K
C
W
i
r
e
t
r
S
_
S
V
V
S
S
*
*
T
o
o
e
t
r
h
C
i
c
r
i
u
t
Note:ꢀ*ꢀmayꢀbeꢀresistorꢀorꢀcapacitor.ꢀTheꢀresistanceꢀofꢀ*ꢀmustꢀbeꢀgreaterꢀthanꢀ1kꢀorꢀtheꢀcapacitanceꢀ
ofꢀ*ꢀmustꢀbeꢀlessꢀthanꢀ1nF.
Rev. 1.10
ꢅ0
�anꢀaꢁꢂ 1ꢃꢄ ꢅ01ꢆ