Electronic Components Datasheet Search
  English  ▼

X  

TB026 Datasheet(PDF) 1 Page - Microchip Technology

Part # TB026
Description  Calculating Program Memory Checksums Using a PIC16F87X
PDF  6 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

TB026 Datasheet(HTML) 1 Page - Microchip Technology

  TB026 Datasheet HTML 1Page - Microchip Technology TB026 Datasheet HTML 2Page - Microchip Technology TB026 Datasheet HTML 3Page - Microchip Technology TB026 Datasheet HTML 4Page - Microchip Technology TB026 Datasheet HTML 5Page - Microchip Technology TB026 Datasheet HTML 6Page - Microchip Technology  
Zoom Inzoom in Zoom Outzoom out
 1 / 6 page
background image
© 1998 Microchip Technology Inc.
DS91026A-page 1
M
INTRODUCTION
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.
TABLE 1:
PIC16C7X vs. PIC16F87X
ACCESSING MEMORY
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-
trol bits in other SFRs. There are six SFRs required to
access memory:
• EECON1
• EECON2
• EEDATA
• EEDATH
• EEADR
• EEADRH
When interfacing to data EEPROM memory, the
address is stored in the EEADR register and the data is
accessed using the EEDATA register. The operation is
controlled using the EECON1 and EECON2 registers. The
register map for EECON1 is shown in Figure 1. EECON2
is not a physical register. Reading it will result in all '0's.
This register is used exclusively in the EEPROM and
FLASH write sequences.
When interfacing to FLASH program memory, the
address is stored in the EEADRH:EEADR registers and
the data is accessed using the EEDATH:EEDATA regis-
ters. Since the same set of control registers are used
to access data and program memory, the EEPGD bit
(EECON1<7>)
is used to indicate to the microcontroller
whether the operation is going to be on data memory
(EEPGD = 0) or program memory (EEPGD = 1). Refer to
Section 7.0 in the PIC16F87X data sheet (DS30292)
for more information about using the EEPROM and
FLASH memories.
Feature
PIC16C7X
PIC16C87X
Pins
28 or 40
28 or 40
Timers
33
Interrupts
11 or 12
13 or 14
Communica-
tion
PSP, USART,
SSP (SPI or I2C
Slave)
PSP, USART,
SSP( SPI or I2C
Master/Slave)
Frequency
20 MHz
20 MHz
A/D
8-bit
10-bit
CCP
22
Program Mem. 4K or 8K EPROM
4K or 8K FLASH
RAM
192 or 368 bytes
192 or 368 bytes
Data EEPROM
None
128 or 256 bytes
Other
---
In-Circuit Debugger
Author:
Rodger Richey
Microchip Technology Inc.
TB026
Calculating Program Memory Checksums Using a PIC16F87X


Similar Part No. - TB026

ManufacturerPart #DatasheetDescription
logo
TAI-SAW TECHNOLOGY CO.,...
TB0260A TAI-SAW-TB0260A Datasheet
819Kb / 8P
IF SAW Filter 168.5 MHz
logo
Golledge Electronics Lt...
TB0260A GOLLEDGE-TB0260A Datasheet
273Kb / 6P
SAW Filter 168.5.0MHz
logo
TAI-SAW TECHNOLOGY CO.,...
TB0261A TAI-SAW-TB0261A Datasheet
550Kb / 6P
SAW IF Filter 403.5MHz (SMD 3.8횞3.8 mm)
logo
Golledge Electronics Lt...
TB0261A GOLLEDGE-TB0261A Datasheet
169Kb / 8P
SAW Filter 403.50MHz
logo
TAI-SAW TECHNOLOGY CO.,...
TB0261B TAI-SAW-TB0261B Datasheet
620Kb / 7P
SAW Filter 403.5MHz (SMD 3.8횞3.8 mm)
More results

Similar Description - TB026

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
AT87F51 ATMEL-AT87F51_14 Datasheet
139Kb / 16P
Three-Level Program Memory Lock
AT87F52 ATMEL-AT87F52_14 Datasheet
192Kb / 24P
Three-Level Program Memory Lock
AT90LS4433 ATMEL-AT90LS4433_14 Datasheet
1Mb / 126P
Data and Non-volatile Program Memory
AT90S2323 ATMEL-AT90S2323_14 Datasheet
1Mb / 64P
Data and Nonvolatile Program Memory
AT90S4433 ATMEL-AT90S4433_14 Datasheet
1Mb / 126P
Data and Non-volatile Program Memory
AT89LP3240 ATMEL-AT89LP3240_14 Datasheet
5Mb / 200P
Nonvolatile Program and Data Memory
AT83C5103 ATMEL-AT83C5103_14 Datasheet
580Kb / 2P
12K Bytes ROM/OTP Program Memory
logo
SyncMOS Technologies,In...
SM39R16A3 SYNCMOS-SM39R16A3 Datasheet
1Mb / 87P
16KB on-chip program memory
logo
PHOENIX CONTACT
1043501 PHOENIX-1043501 Datasheet
500Kb / 3P
Program / configuration memory - SD FLASH 2GB PLCNEXT MEMORY
1061701 PHOENIX-1061701 Datasheet
217Kb / 5P
Program / configuration memory - SD FLASH 8GB PLCNEXT MEMORY
Dec 7, 2022
More results


Html Pages

1 2 3 4 5 6


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com