Manyapplicationsrequirethemicrocontrollertocal-
culateachecksumontheprogrammemorytodeter-
mineifthecontentshavebeencorrupted.Untilnow,
theonlyfamilyofPICmicro
®
microcontrollerstohave
thecapabilitytoreadfromprogrammemoryarethe
PIC17CXXXdevices.ThePIC16F87Xdevicesare
thefirst14-bitcorePICmicromicrocontrollersthat
areabletoaccessprogrammemoryinthesame
fashionasusedwithdataEEPROMmemory.These
devicesareFLASHextensionsofthepopular
PIC16C7Xfamily.Table1showsacomparison
betweenthetwoPICmicromicrocontrollerfamilies.MCalculatingProgramMemoryChecksumsUsingaPIC16F87XTB026ACCESSINGMEMORYAuthor:RodgerRicheyMicrochipTechnologyInc.ThedataEEPROMandFLASHProgrammemoryarebothaccessedusingthesamemethod.Anaddressand/ordatavaluearestoredinSpecialFunctionReg-isters(SFR)andthenmemoryisaccessedusingcon-INTRODUCTIONtrolbitsinotherSFRs.TherearesixSFRsrequiredtoMany
暂无评论