12F629 Microchip Technology, Inc., 12F629 Datasheet - Page 52

no-image

12F629

Manufacturer Part Number
12F629
Description
8-pin Flash-based 8-bit CMOS Microcontrollers
Manufacturer
Microchip Technology, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
12F629-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
12F629-I/P003
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
12F629-I/P87G
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
12F629E/P
Manufacturer:
ON
Quantity:
34
PIC12F629/675
8.7
Data memory can be code protected by programming
the CPD bit to ‘0’.
When the data memory is code protected, the CPU is
able to read and write data to the Data EEPROM. It is
recommended to code protect the program memory
when code protecting data memory. This prevents
anyone from programming zeroes over the existing
code (which will execute as NOPs) to reach an added
routine, programmed in unused program memory,
which
Programming unused locations to ‘0’ will also help
prevent data memory code protection from becoming
breached.
TABLE 8-1:
DS41190C-page 50
0Ch
9Ah
9Bh
9Ch
9Dh
Legend: x = unknown, u = unchanged, - = unimplemented read as '0', q = value depends upon condition.
Note 1: EECON2 is not a physical register.
Address
outputs
DATA EEPROM OPERATION
DURING CODE PROTECT
Shaded cells are not used by Data EEPROM module.
PIR1
EEDATA
EEADR
EECON1
EECON2
Name
the
REGISTERS/BITS ASSOCIATED WITH DATA EEPROM
(1)
contents
EEPROM Data Register
EEPROM Control Register 2
Bit 7
EEIF
EEPROM Address Register
ADIF
of
Bit 6
data
Bit 5
memory.
Bit 4
WRERR WREN
CMIF
Bit 3
Bit 2
Bit 1
WR
TMR1IF 00-- 0--0 00-- 0--0
Bit 0
 2003 Microchip Technology Inc.
RD
0000 0000 0000 0000
-000 0000 -000 0000
---- x000 ---- q000
---- ---- ---- ----
POR, BOD
Value on
Value on all
RESETS
other

Related parts for 12F629