User`s guide

Rev. 1.10 20 November 14, 2014 Rev. 1.10 21 November 14, 2014
HT66FW2230
Wireless Charger A/D Flash 8-Bit MCU
In Circuit Programming – ICP
TheprovisionofFlashtypeProgramMemoryprovidestheuserwithameansofconvenientandeasy
upgradesandmodications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 Write Pins MCU Programming Pins Function
ICPDA PA0
Programming Serial Data/Address
ICPCK PA2 Programming Clock
VDD VDD Power Supply
VSS VSS Ground
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/parallelonseveralpins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isbeyondthescopeofthisdocumentand
willbesuppliedinsupplementaryliterature.
Duringtheprogrammingprocess,the ICPDAandICPCKpinsfordataandclockprogramming
purposes.Theusermusttheretakecaretoensurethatnootheroutputsareconnectedtothesetwo
pins.
* *
Writer_VDD
IC PDA
IC PCK
Writer_ VSS
To o th er C ir cuit
PA2
VSS
PA0
VDD
Writer C onnector
Signals
MCU Prog ra mmin g
Pins
Note:*mayberesistororcapacitor.Theresistanceof*mustbegreaterthan1korthecapacitance
of*mustbelessthan1nF.