công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

PIC16F bảng dữ liệu(PDF) 31 Page - Microchip Technology

tên linh kiện PIC16F
Giải thích chi tiết về linh kiện  PIC16F/LF182X/PIC12F/LF1822 Memory Programming Specification
PDF  40 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  MICROCHIP [Microchip Technology]
Trang chủ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F bảng dữ liệu(HTML) 31 Page - Microchip Technology

Back Button PIC16F Datasheet HTML 27Page - Microchip Technology PIC16F Datasheet HTML 28Page - Microchip Technology PIC16F Datasheet HTML 29Page - Microchip Technology PIC16F Datasheet HTML 30Page - Microchip Technology PIC16F Datasheet HTML 31Page - Microchip Technology PIC16F Datasheet HTML 32Page - Microchip Technology PIC16F Datasheet HTML 33Page - Microchip Technology PIC16F Datasheet HTML 34Page - Microchip Technology PIC16F Datasheet HTML 35Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 40 page
background image
 2010 Microchip Technology Inc.
Advance Information
DS41390C-page 31
PIC16F/LF182X/PIC12F/LF1822
7.4.2
PROGRAM CODE PROTECTION
ENABLED
With the program code protection enabled, the
checksum is computed in the following manner: The
Least Significant nibble of each User ID is used to
create a 16-bit value. The masked value of User ID
location 8000h is the Most Significant nibble. This Sum
of User IDs is summed with the Configuration Words
(all unimplemented Configuration bits are masked to
‘0’).
EXAMPLE 7-3:
CHECKSUM COMPUTED WITH PROGRAM CODE PROTECTION ENABLED
PIC16F1827, BLANK DEVICE
EXAMPLE 7-4:
CHECKSUM COMPUTED WITH PROGRAM CODE PROTECTION ENABLED
PIC16LF1827, 00AAh AT FIRST AND LAST ADDRESS
Note:
Data memory does not effect the
checksum.
PIC16F1827
Configuration Word 1
3F7Fh
Configuration Word 1 mask
3FFFh
Configuration Word 2
3FFFh
Configuration Word 2 mask
3713h
User ID (8000h)
0006h
User ID (8001h)
0007h
User ID (8002h)
0001h
User ID (8003h)
0002h
Sum of User IDs = (0006h and 000Fh) << 12 + (0007h and 000Fh) << 8 +
(0001h and 000Fh) << 4 + (0002h and 000Fh)
= 6000h + 0700h + 0010h + 0002h
= 6712h
Checksum
= (3F7Fh and 3FFFh) + (3FFFh and 3713h) + Sum of User IDs
= 3F7Fh +3713h + 6712h
= DDA4h
PIC16LF1827
Configuration Word 1
3F7Fh
Configuration Word 1 mask
3FFFh
Configuration Word 2
3FFFh
Configuration Word 2 mask
3703h
User ID (8000h)
000Eh
User ID (8001h)
0008h
User ID (8002h)
0005h
User ID (8003h)
0008h
Sum of User IDs
= (000Eh and 000Fh) << 12 + (0008h and 000Fh) << 8 +
(0005h and 000Fh) << 4 + (0008h and 000Fh)
= E000h + 0800h + 0050h + 0008h
= E858h
Checksum
= (3F7Fh and 3FFFh) + (3FFFh and 3703h) + Sum of User IDs
= 3F7Fh +3703h + E858h
= 5EDAh



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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