PIC16F MICROCHIP [Microchip Technology], PIC16F Datasheet - Page 30

no-image

PIC16F

Manufacturer Part Number
PIC16F
Description
PIC16F/LF182X/PIC12F/LF1822 Memory Programming Specification
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F1454-I/JQ
Manufacturer:
MICROCHIP
Quantity:
1 000
Part Number:
PIC16F1454-I/ML
0
Part Number:
PIC16F1454-I/SL
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F1455-I/ML
Manufacturer:
MICROCHIP
Quantity:
1 020
Part Number:
PIC16F1455-I/SL
Manufacturer:
AD
Quantity:
182
Part Number:
PIC16F1455-I/SL
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F1455-I/ST
Manufacturer:
MICROCHIP
Quantity:
1 670
Part Number:
PIC16F1455T-I/ML
Manufacturer:
MICROCHIP
Quantity:
1 020
Part Number:
PIC16F1459-I/SS
Manufacturer:
MICROCHI
Quantity:
20 000
Part Number:
PIC16F1459T-I/SS
0
Part Number:
PIC16F1503-E/ST
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F1503-E/ST
0
Part Number:
PIC16F1503-E/STVAO
0
Part Number:
PIC16F1503-I/SL
Manufacturer:
MICROHIP
Quantity:
20 000
PIC16F/LF182X/PIC12F/LF1822
7.4
The checksum is calculated by two different methods
dependent on the setting of the CP Configuration bit.
TABLE 7-1:
EXAMPLE 7-1:
EXAMPLE 7-2:
DS41390C-page 30
PIC16F1826
PIC16F1827
PIC16LF1826
PIC16LF1827
PIC12F1822
PIC12LF1822
PIC16F1823
PIC16LF1823
PIC16F1824
PIC16LF1824
PIC16F1825
PIC16LF1825
PIC16F1828
PIC16LF1828
PIC16F1829
PIC16LF1829
PIC16F1827
PIC16LF1827 Sum of Memory addresses 0000h-0FFFh
Device
Checksum Computation
CONFIGURATION WORD
MASK VALUES
Configuration Word 2 mask
Checksum = 7156h + (3FFFh and 3FFFh) + (3FFFh and 3703h)
Sum of Memory addresses 0000h-0FFFh
Configuration Word 1
Configuration Word 1 mask
Configuration Word 2
Configuration Word 2 mask
Checksum
Configuration Word 1
Configuration Word 1 mask
Configuration Word 2
Config. Word 1
CHECKSUM COMPUTED WITH PROGRAM CODE PROTECTION DISABLED
PIC16F1827, BLANK DEVICE
CHECKSUM COMPUTED WITH PROGRAM CODE PROTECTION DISABLED
PIC16LF1827, 00AAh AT FIRST AND LAST ADDRESS
3FFFh
3FFFh
3FFFh
3FFFh
3FFFh
3FFFh
3FFFh
3FFFh
3FFFh
3FFFh
3FFFh
3FFFh
3FFFh
3FFFh
3FFFh
3FFFh
Mask
Config. Word 2
= F000h + (3FFFh and 3FFFh) + (3FFFh and 3713h)
= F000h + 3FFFh + 3713h
= 6712h
= 7156h + 3FFFh + 3703h
= E858h
3713h
3713h
3703h
3703h
3713h
3713h
3713h
3713h
3713h
3713h
3713h
3713h
3713h
3713h
3713h
3713h
Mask
Advance Information
7.4.1
With the program code protection disabled, the
checksum is computed by reading the contents of the
PIC16F/LF182X and PIC12F/LF1822 program memory
locations and adding up the program memory data
starting at address 0000h, up to the maximum user
addressable location. Any Carry bit exceeding 16 bits
are ignored. Additionally, the relevant bits of the
Configuration Words are added to the checksum. All
unimplemented Configuration bits are masked to ‘0’.
Note:
F000h
3FFFh
3FFFh
3FFFh
3713h
7156h
3FFFh
3FFFh
3FFFh
3703h
PROGRAM CODE PROTECTION
DISABLED
Data
checksum.
memory
 2010 Microchip Technology Inc.
does
not
effect
the

Related parts for PIC16F