| Electronic Components Datasheet Search |
|
PIC16C83 Datasheet(PDF) 52 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16C83 Datasheet(HTML) 52 Page - Microchip Technology |
|
52 / 117 page ![]() PIC16C8X DS30081F-page 52 © 1995 Microchip Technology Inc. 8.9 Code Protection The code in the program memory and data EEPROM memory can be protected by programming the code protect bit (Figure 8-1, Figure 8-2, and Figure 8-3). 8.9.1 ROM DEVICES There are two protection configuration bits. One for the program memory, which is specified as part of the ROM code submittal. The second for the EEPROM data memory. When ROM devices complete testing, the EEPROM data memory code protect configuration bit will be programmed to the same state as the program memory code protect configuration bit. In applications where the device is code protected and the data EEPROM needs to be programmed before being placed in the application, the data EEPROM memory array needs to be erased and then the data memory code protect disabled. This will allow the desired data to be programmed into the device. The sequence to disable the data EEPROM memory protection is shown in the PIC16C84 Programming Specification (Literature number DS30189D) in Section 3.1.1. After programming the data EEPROM memory array, the data EEPROM memory code protect configuration bit should be programmed as desired. 8.10 ID Locations Four memory locations (2000h - 2003h) are designated as ID locations to store checksum or other code identification numbers. These locations are not accessible during normal execution but are readable and writable only during program/verify. Only the 4 least significant bits of ID location are usable. For ROM devices, these values are submitted along with the ROM code. 8.11 In-Circuit Serial Programming PIC16C8X microcontrollers can be serially programmed while in the end application circuit. This is simply done with two lines for clock and data, and three other lines for power, ground, and the programming voltage. Customers can manufacture boards with unprogrammed devices, and then program the microcontroller just before shipping the product, allowing the most recent firmware or custom firmware to be programmed. The device is placed into a program/verify mode by holding the RB6 and RB7 pins low, while raising the MCLR pin from VIL to VIHH (see programming specification). RB6 becomes the programming clock and RB7 becomes the programming data. Both RB6 and RB7 are Schmitt Trigger inputs in this mode. After reset, to place the device into programming/verify mode, the program counter (PC) points to location 00h. A 6-bit command is then supplied to the device, 14-bits of program data is then supplied to or from the device, using load or read-type instructions. For complete details of serial programming, please refer to the PIC16CXX Programming Specifications (Literature #DS30189). FIGURE 8-20: TYPICAL IN-SYSTEM SERIAL PROGRAMMING CONNECTION For ROM devices, both the program memory and Data EEPROM memory may be read, but only the Data EEPROM memory may be programmed. External Connector Signals To Normal Connections To Normal Connections PIC16CXX VDD VSS MCLR RB6 RB7 +5V 0V VPP CLK Data I/O |
|
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 |
| 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 |