Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

16F874 Datasheet(PDF) 16 Page - Microchip Technology

Part # 16F874
Description  EEPROM Memory Programming Specification
PDF  22 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

16F874 Datasheet(HTML) 16 Page - Microchip Technology

Back Button 16F874 Datasheet HTML 12Page - Microchip Technology 16F874 Datasheet HTML 13Page - Microchip Technology 16F874 Datasheet HTML 14Page - Microchip Technology 16F874 Datasheet HTML 15Page - Microchip Technology 16F874 Datasheet HTML 16Page - Microchip Technology 16F874 Datasheet HTML 17Page - Microchip Technology 16F874 Datasheet HTML 18Page - Microchip Technology 16F874 Datasheet HTML 19Page - Microchip Technology 16F874 Datasheet HTML 20Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 22 page
background image
PIC16F87X
DS39025F-page 16
 2002 Microchip Technology Inc.
5.0
CHECKSUM COMPUTATION
Checksum is calculated by reading the contents of the
PIC16F87X memory locations and adding up the
opcodes, up to the maximum user addressable loca-
tion, e.g., 0x1FF for the PIC16F87X. Any carry bits
exceeding 16-bits are neglected. Finally, the configura-
tion word (appropriately masked) is added to the
checksum. Checksum computation for each member of
the PIC16F87X devices is shown in Table 5-1.
The checksum is calculated by summing the following:
• The contents of all program memory locations
• The configuration word, appropriately masked
• Masked ID locations (when applicable)
The Least Significant 16 bits of this sum are the
checksum.
The following table describes how to calculate the
checksum for each device. Note that the checksum cal-
culation differs depending on the code protect setting.
Since the program memory locations read out differ-
ently depending on the code protect setting, the table
describes how to manipulate the actual program mem-
ory values to simulate the values that would be read
from a protected device. When calculating a checksum
by reading a device, the entire program memory can
simply be read and summed. The configuration word
and ID locations can always be read.
Note that some older devices have an additional value
added in the checksum. This is to maintain compatibil-
ity with older device programmer checksums.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


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