AmongthemanyfeaturesbuiltintoMicrochip’s
EnhancedFLASHMicrocontrollerdevicesisthecapa-
bilityoftheprogrammemorytoself-program.Thisvery
usefulfeaturehasbeendeliberatelyincludedtogive
theusertheabilitytoperformbootloadingoperations.
DeviceslikethePIC18F452aredesignedwithadesig-
nated“bootblock”,asmallsectionofprotectablepro-
grammemoryallocatedspecificallyforbootload
firmware.
Thisapplicationnotedemonstratesaverypowerful
bootloaderimplementationforthePIC16F87XAand
PIC18Ffamiliesofmicrocontrollers.Thecodingforthe
twodevicefamiliesisslightlydifferent;however,the
functionalityisessentiallythesame.Thegoalsofthis
implementationstressamaximumperformanceand
functionality,whilerequiringaminimumofcodespace.AN851AFLASHBootloaderforPIC16andPIC18DevicesAuthor:RossM.FoslerandFIGURE1:BOOTLOADERFUNCTIONALRodgerRicheyBLOCKDIAGRAMMicrochipTechnologyInc.BootloaderFirmwareRXTXINTRODUCTION
暂无评论