所需E币: 3
时间: 2019-12-24 21:22
大小: 108.46KB
ThisapplicationnotedescribestheconstructionofalowcostserialprogrammerwhichusesaPCwithapar-allel(Centronixprinter)porttocontrolaPIC16C84.ThisprogrammerhasthecapabilityofprogrammingaPIC16C84microcontroller,andreadingbackinternaldatawithoutremovingthedevicefromthetargetcircuit.Thisfeatureisveryusefulinapplicationswherechangesinprogramcodeorprogramconstantsarenecessarytocompensateforothersystemfeatures.Forexample,anembeddedcontrolsystemmayhavetocompensateforvariancesinamechanicalactuator’sperformanceorloading.Thebasicprogramcanbepro-grammedandtestedduringdesignphase.Thefinalprogramandcontrolconstantscanbeeasilyaddedlaterintheproductionphasewithoutremovingthemicrocontrollerfromthecircuit.Automaticsoftwareandperformanceupgradescanalsobeimplementedin-system.Uponreceivingnewsystemsoftwareviadiskormodem,acontrolprocessorwiththeincludedprogrammingcodecouldperformin-circuitreprogrammingofothermicrocontrollersinthesystem.Thisprogrammercanloadprogramcode,partconfiguration,andEEPROMdataintothePIC16C84.Inreadbackmode,itcanverifyalldataentries.MAPC-BasedDevelopmentProgrammerforthePIC16C84AN589Afterenteringprogrammingmode,RB7isusedtoAuthor:RobertSpurseriallyenterprogrammingmodesanddataintotheAnalogDesignSpecialist,Inc.part.AhightolowtransitiononRB6,theclockinput,qualieseachbitofthedataappliedonRB7.PleaseINTRODUCTIONrefertothePIC16C84ProgrammingSpecication(DS30189)fordetailsonthegures.Th……