| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
PIC16F87X bảng dữ liệu(PDF) 46 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F87X bảng dữ liệu(HTML) 46 Page - Microchip Technology |
|
46 / 200 page ![]() 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 |
|
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 |
| 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 |