首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 嵌入式系统 > 计算使用PIC16F87X的程序存储器校验

计算使用PIC16F87X的程序存储器校验

资料介绍
Many applications require the microcontroller to cal-
culate a checksum on the program memory to deter-
mine if the contents have been corrupted. Until now,
the only family of PICmicro
®
microcontrollers to have
the capability to read from program memory are the
PIC17CXXX devices. The PIC16F87X devices are
the first 14-bit core PICmicro microcontrollers that
are able to access program memory in the same
fashion as used with data EEPROM memory. These
devices are FLASH extensions of the popular
PIC16C7X family. Table 1 shows a comparison
between the two PICmicro microcontroller families.
M Calculating Program Memory Checksums Using a PIC16F87X
TB026

ACCESSING MEMORY
Author: Rodger Richey
Microchip Technology Inc. The data EEPROM and FLASH Program memory are
both accessed using the same method. An address
and/or data value are stored in Special Function Reg-
isters (SFR) and then memory is accessed using con-
INTRODUCTION trol bits in other SFRs. There are six SFRs required to
Many
计算使用PIC16F87X的程序存储器校验
本地下载

评论