所需E币: 4
时间: 2019-12-24 19:15
大小: 71.67KB
Manyapplicationsrequirethemicrocontrollertocal-culateachecksumontheprogrammemorytodeter-mineifthecontentshavebeencorrupted.Untilnow,theonlyfamilyofPICmicro®microcontrollerstohavethecapabilitytoreadfromprogrammemoryarethePIC17CXXXdevices.ThePIC16F87Xdevicesarethefirst14-bitcorePICmicromicrocontrollersthatareabletoaccessprogrammemoryinthesamefashionasusedwithdataEEPROMmemory.ThesedevicesareFLASHextensionsofthepopularPIC16C7Xfamily.Table1showsacomparisonbetweenthetwoPICmicromicrocontrollerfamilies.MCalculatingProgramMemoryChecksumsUsingaPIC16F87XTB026ACCESSINGMEMORYAuthor:RodgerRicheyMicrochipTechnologyInc.ThedataEEPROMandFLASHProgrammemoryarebothaccessedusingthesamemethod.Anaddressand/ordatavaluearestoredinSpecialFunctionReg-isters(SFR)andthenmemoryisaccessedusingcon-INTRODUCTIONtrolbitsinotherSFRs.TherearesixSFRsrequiredtoMany……