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

X  

PIC16F87X Datasheet(PDF) 46 Page - Microchip Technology

Part # PIC16F87X
Description  28/40-pin 8-Bit CMOS FLASH Microcontrollers
PDF  200 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F87X Datasheet(HTML) 46 Page - Microchip Technology

Back Button PIC16F87X Datasheet HTML 42Page - Microchip Technology PIC16F87X Datasheet HTML 43Page - Microchip Technology PIC16F87X Datasheet HTML 44Page - Microchip Technology PIC16F87X Datasheet HTML 45Page - Microchip Technology PIC16F87X Datasheet HTML 46Page - Microchip Technology PIC16F87X Datasheet HTML 47Page - Microchip Technology PIC16F87X Datasheet HTML 48Page - Microchip Technology PIC16F87X Datasheet HTML 49Page - Microchip Technology PIC16F87X Datasheet HTML 50Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 46 / 200 page
background image
PIC16F87X
DS30292A-page 46
Preliminary
© 1998 Microchip Technology Inc.
4.7
Write Verify
Depending on the application, good programming
practice may dictate that the value written to the mem-
ory should be verified against the original value. This
should be used in applications where excessive writes
can stress bits near the specification limit.
Generally a write failure will be a bit which was written
as a '1', but reads back as a '0' (due to leakage off the
bit).
4.8
Protection Against Spurious Write
4.8.1
EEPROM DATA MEMORY
There are conditions when the device may not want to
write to the data EEPROM memory. To protect against
spurious EEPROM writes, various mechanisms have
been built in. On power-up, the WREN bit is cleared.
Also, the Power-up Timer (72 ms duration) prevents
EEPROM write.
The write initiate sequence and the WREN bit together
help prevent an accidental write during brown-out,
power glitch, or software malfunction.
4.8.2
PROGRAM FLASH MEMORY
To protect against spurious writes to FLASH program
memory, the WRT bit in the configuration word may be
programmed to ‘0’ to prevent writes. WRT and the con-
figuration word cannot be programmed by user code,
only through the use of an external programmer.
4.9
Operation during Code Protect
Each reprogrammable memory block has its own code
protect mechanism. External Read and Write opera-
tions are disabled if either of these mechanisms are
enabled.
4.9.3
DATA EEPROM MEMORY
The microcontroller itself can both read and write to the
internal Data EEPROM regardless of the state of the
code protect configuration bit.
4.9.4
PROGRAM FLASH MEMORY
The microcontroller can read and execute instructions
out of the internal FLASH program memory regardless
of the state of the code protect configuration bits. How-
ever the WRT configuration bit and the code protect bits
have different effects on writing to program memory.
Table 7-1 shows the various configurations and status
of reads and writes. To erase the WRT or code protec-
tion bits in the configuration word requires that the
device be fully erased.
TABLE 7-1:
READ/WRITE STATE OF INTERNAL FLASH PROGRAM MEMORY
Configuration Bits
Memory Location
Internal
Read
Internal
Write
ICSP Read
ICSP Write
CP1
CP0
WRT
0
0
x
All program memory
Yes
No
No
No
0
1
0
Unprotected areas
Yes
No
Yes
No
0
1
0
Protected areas
Yes
No
No
No
0
1
1
Unprotected areas
Yes
Yes
Yes
No
0
1
1
Protected areas
Yes
No
No
No
1
0
0
Unprotected areas
Yes
No
Yes
No
1
0
0
Protected areas
Yes
No
No
No
1
0
1
Unprotected areas
Yes
Yes
Yes
No
1
0
1
Protected areas
Yes
No
No
No
1
1
0
All program memory
Yes
No
Yes
Yes
1
1
1
All program memory
Yes
Yes
Yes
Yes



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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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