Datenblatt-pdf.com


TB026 Schematic ( PDF Datasheet ) - Microchip Technology

Teilenummer TB026
Beschreibung Calculating Program Memory Checksums Using a PIC16F87X
Hersteller Microchip Technology
Logo Microchip Technology Logo 




Gesamt 6 Seiten
TB026 Datasheet, Funktion
M
TB026
Calculating Program Memory Checksums Using a PIC16F87X
Author: Rodger Richey
Microchip Technology Inc.
www.DataSheet4U.comINTRODUCTION
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
Feature
PIC16C7X
Pins
28 or 40
Timers
3
Interrupts
11 or 12
Communica-
tion
PSP, USART,
SSP (SPI or I2C
Slave)
Frequency
20 MHz
A/D 8-bit
CCP
2
Program Mem. 4K or 8K EPROM
RAM
192 or 368 bytes
Data EEPROM None
Other
---
PIC16C87X
28 or 40
3
13 or 14
PSP, USART,
SSP( SPI or I2C
Master/Slave)
20 MHz
10-bit
2
4K or 8K FLASH
192 or 368 bytes
128 or 256 bytes
In-Circuit Debugger
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.
© 1998 Microchip Technology Inc.
DS91026A-page 1






TB026 Datasheet, Funktion
WORLDWIDE SALES AND SERVICE
AMERICAS
Corporate Office
Microchip Technology Inc.
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-786-7200 Fax: 480-786-7277
Technical Support: 480-786-7627
Web Address: http://www.microchip.com
www.DataSheet4U.com
Atlanta
Microchip Technology Inc.
500 Sugar Mill Road, Suite 200B
Atlanta, GA 30350
Tel: 770-640-0034 Fax: 770-640-0307
Boston
Microchip Technology Inc.
5 Mount Royal Avenue
Marlborough, MA 01752
Tel: 508-480-9990 Fax: 508-480-8575
Chicago
Microchip Technology Inc.
333 Pierce Road, Suite 180
Itasca, IL 60143
Tel: 630-285-0071 Fax: 630-285-0075
Dallas
Microchip Technology Inc.
4570 Westgrove Drive, Suite 160
Addison, TX 75248
Tel: 972-818-7423 Fax: 972-818-2924
Dayton
Microchip Technology Inc.
Two Prestige Place, Suite 150
Miamisburg, OH 45342
Tel: 937-291-1654 Fax: 937-291-9175
Detroit
Microchip Technology Inc.
Tri-Atria Office Building
32255 Northwestern Highway, Suite 190
Farmington Hills, MI 48334
Tel: 248-538-2250 Fax: 248-538-2260
Los Angeles
Microchip Technology Inc.
18201 Von Karman, Suite 1090
Irvine, CA 92612
Tel: 949-263-1888 Fax: 949-263-1338
New York
Microchip Technology Inc.
150 Motor Parkway, Suite 202
Hauppauge, NY 11788
Tel: 631-273-5305 Fax: 631-273-5335
San Jose
Microchip Technology Inc.
2107 North First Street, Suite 590
San Jose, CA 95131
Tel: 408-436-7950 Fax: 408-436-7955
AMERICAS (continued)
Toronto
Microchip Technology Inc.
5925 Airport Road, Suite 200
Mississauga, Ontario L4V 1W1, Canada
Tel: 905-405-6279 Fax: 905-405-6253
ASIA/PACIFIC
Hong Kong
Microchip Asia Pacific
Unit 2101, Tower 2
Metroplaza
223 Hing Fong Road
Kwai Fong, N.T., Hong Kong
Tel: 852-2-401-1200 Fax: 852-2-401-3431
Beijing
Microchip Technology, Beijing
Unit 915, 6 Chaoyangmen Bei Dajie
Dong Erhuan Road, Dongcheng District
New China Hong Kong Manhattan Building
Beijing 100027 PRC
Tel: 86-10-85282100 Fax: 86-10-85282104
India
Microchip Technology Inc.
India Liaison Office
No. 6, Legacy, Convent Road
Bangalore 560 025, India
Tel: 91-80-229-0061 Fax: 91-80-229-0062
Japan
Microchip Technology Intl. Inc.
Benex S-1 6F
3-18-20, Shinyokohama
Kohoku-Ku, Yokohama-shi
Kanagawa 222-0033 Japan
Tel: 81-45-471- 6166 Fax: 81-45-471-6122
Korea
Microchip Technology Korea
168-1, Youngbo Bldg. 3 Floor
Samsung-Dong, Kangnam-Ku
Seoul, Korea
Tel: 82-2-554-7200 Fax: 82-2-558-5934
Shanghai
Microchip Technology
RM 406 Shanghai Golden Bridge Bldg.
2077 Yan’an Road West, Hong Qiao District
Shanghai, PRC 200335
Tel: 86-21-6275-5700 Fax: 86 21-6275-5060
ASIA/PACIFIC (continued)
Singapore
Microchip Technology Singapore Pte Ltd.
200 Middle Road
#07-02 Prime Centre
Singapore 188980
Tel: 65-334-8870 Fax: 65-334-8850
Taiwan
Microchip Technology Taiwan
10F-1C 207
Tung Hua North Road
Taipei, Taiwan
Tel: 886-2-2717-7175 Fax: 886-2-2545-0139
EUROPE
United Kingdom
Arizona Microchip Technology Ltd.
505 Eskdale Road
Winnersh Triangle
Wokingham
Berkshire, England RG41 5TU
Tel: 44 118 921 5858 Fax: 44-118 921-5835
Denmark
Microchip Technology Denmark ApS
Regus Business Centre
Lautrup hoj 1-3
Ballerup DK-2750 Denmark
Tel: 45 4420 9895 Fax: 45 4420 9910
France
Arizona Microchip Technology SARL
Parc d’Activite du Moulin de Massy
43 Rue du Saule Trapu
Batiment A - ler Etage
91300 Massy, France
Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79
Germany
Arizona Microchip Technology GmbH
Gustav-Heinemann-Ring 125
D-81739 München, Germany
Tel: 49-89-627-144 0 Fax: 49-89-627-144-44
Italy
Arizona Microchip Technology SRL
Centro Direzionale Colleoni
Palazzo Taurus 1 V. Le Colleoni 1
20041 Agrate Brianza
Milan, Italy
Tel: 39-039-65791-1 Fax: 39-039-6899883
11/15/99
Microchip received QS-9000 quality system
certification for its worldwide headquarters,
design and wafer fabrication facilities in
Chandler and Tempe, Arizona in July 1999. The
Company’s quality system processes and
procedures are QS-9000 compliant for its
PICmicro® 8-bit MCUs, KEELOQ® code hopping
devices, Serial EEPROMs and microperipheral
products. In addition, Microchips quality
system for the design and manufacture of
development systems is ISO 9001 certified.
All rights reserved. © 1999 Microchip Technology Incorporated. Printed in the USA. 11/99
Printed on recycled paper.
Information contained in this publication regarding device applications and the like is intended for suggestion only and may be superseded by updates. No representation or warranty is given and no liability is assumed
by Microchip Technology Incorporated with respect to the accuracy or use of such information, or infringement of patents or other intellectual property rights arising from such use or otherwise. Use of Microchip’s products
as critical components in life support systems is not authorized except with express written approval by Microchip. No licenses are conveyed, implicitly or otherwise, under any intellectual property rights. The Microchip
logo and name are registered trademarks of Microchip Technology Inc. in the U.S.A. and other countries. All rights reserved. All other trademarks mentioned herein are the property of their respective companies.
1999 Microchip Technology Inc.

6 Page







SeitenGesamt 6 Seiten
PDF Download[ TB026 Schematic.PDF ]

Link teilen




Besondere Datenblatt

TeilenummerBeschreibungHersteller
TB0213AIF SAW Filter Low Loss 70MHzGolledge
Golledge
TB0213A(TB0xxxA) SAW FiltersGSIF
GSIF
TB0213ALow Loss 70MHz IF SAW FilterTAI-SAW Technology
TAI-SAW Technology
TB025MicrocontrollersMicrochip Technology
Microchip Technology
TB026Calculating Program Memory Checksums Using a PIC16F87XMicrochip Technology
Microchip Technology

TeilenummerBeschreibungHersteller
CD40175BC

Hex D-Type Flip-Flop / Quad D-Type Flip-Flop.

Fairchild Semiconductor
Fairchild Semiconductor
KTD1146

EPITAXIAL PLANAR NPN TRANSISTOR.

KEC
KEC


www.Datenblatt-PDF.com       |      2020       |      Kontakt     |      Suche