English
Language : 

PIC16LF1507 Datasheet, PDF (98/266 Pages) Microchip Technology – 20-Pin Flash, 8-Bit Microcontrollers
PIC16(L)F1507
REGISTER 10-6: PMCON2: PROGRAM MEMORY CONTROL 2 REGISTER
W-0/0
bit 7
W-0/0
W-0/0
W-0/0
W-0/0
W-0/0
Program Memory Control Register 2
W-0/0
W-0/0
bit 0
Legend:
R = Readable bit
S = Bit can only be set
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-0
Flash memory Unlock Pattern bits
To unlock writes, a 55h must be written first, followed by an AAh, before setting the WR bit of the
PMCON1 register. The value written to this register is used to unlock the writes. There are specific
timing requirements on these writes.
TABLE 10-3: SUMMARY OF REGISTERS ASSOCIATED WITH FLASH PROGRAM MEMORY
Name
PMCON1
PMCON2
PMADRL
PMADRH
PMDATL
PMDATH
INTCON
Legend:
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
—
CFGS
LWLO
FREE
WRERR WREN
WR
RD
Program Memory Control Register 2
PMADRL<7:0>
—
PMADRH<6:0>
PMDATL<7:0>
—
—
PMDATH<5:0>
GIE
PEIE
TMR0IE
INTE
IOCIE
TMR0IF
INTF
IOCIF
— = unimplemented location, read as ‘0’. Shaded cells are not used by Flash program memory module.
Register on
Page
97
98
96
96
96
96
66
TABLE 10-4: SUMMARY OF CONFIGURATION WORD WITH FLASH PROGRAM MEMORY
Name Bits Bit -/7
Bit -/6
Bit 13/5
Bit 12/4
Bit 11/3 Bit 10/2
Bit 9/1
Bit 8/0
Register
on Page
13:8
—
—
—
—
CLKOUTEN
BOREN<1:0>
—
CONFIG1
40
7:0
CP
MCLRE PWRTE
WDTE<1:0>
—
FOSC<1:0>
13:8
—
CONFIG2
7:0
—
—
LVP
—
—
—
LPBOR
BORV STVREN
—
41
—
—
—
WRT<1:0>
Legend: — = unimplemented location, read as ‘0’. Shaded cells are not used by Flash program memory.
 2011 Microchip Technology Inc.
Preliminary
DS41586A-page 98