Thisapplicationnotedescribestheconstructionofa
lowcostserialprogrammerwhichusesaPCwithapar-
allel(Centronixprinter)porttocontrolaPIC16C84.
Thisprogrammerhasthecapabilityofprogramminga
PIC16C84microcontroller,andreadingbackinternal
datawithoutremovingthedevicefromthetargetcircuit.
Thisfeatureisveryusefulinapplicationswhere
changesinprogramcodeorprogramconstantsare
necessarytocompensateforothersystemfeatures.
Forexample,anembeddedcontrolsystemmayhaveto
compensateforvariancesinamechanicalactuator’s
performanceorloading.Thebasicprogramcanbepro-
grammedandtestedduringdesignphase.Thefinal
programandcontrolconstantscanbeeasilyadded
laterintheproductionphasewithoutremovingthe
microcontrollerfromthecircuit.
Automaticsoftwareandperformanceupgradescan
alsobeimplementedin-system.Uponreceivingnew
systemsoftwareviadiskormodem,acontrol
processorwiththeincludedprogrammingcodecould
performin-circuitreprogrammingofother
microcontrollersinthesystem.
Thisprogrammercanloadprogramcode,part
configuration,andEEPROMdataintothePIC16C84.
Inreadbackmode,itcanverifyalldataentries.MAPC-BasedDevelopmentProgrammerforthePIC16C84AN589Afterenteringprogrammingmode,RB7isusedtoAuthor:RobertSpurseriallyenterprogrammingmodesanddataintotheAnalogDesignSpecialist,Inc.part.AhightolowtransitiononRB6,theclockinput,qualieseachbitofthedataappliedonRB7.PleaseINTRODUCTIONrefertothePIC16C84ProgrammingSpecication(DS30189)fordetailsonthegures.Th
暂无评论