Microchip Technology Microstick for the 3V PIC24F K-series DM240013-1 DM240013-1 Data Sheet
Product codes
DM240013-1
PIC24F16KL402 FAMILY
DS31037B-page 176
2011 Microchip Technology Inc.
REGISTER 23-1:
FBS: BOOT SEGMENT CONFIGURATION REGISTER
REGISTER 23-2:
FGS: GENERAL SEGMENT CONFIGURATION REGISTER
U-0
U-0
U-0
U-0
R/C-1
(
)
R/C-1
R/C-1
R/C-1
(
)
—
—
—
—
BSS2
BSS1
BSS0
BWRP
bit 7
bit 0
Legend:
R = Readable bit
R = Readable bit
C = Clearable Only bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-4
Unimplemented:
Read as ‘0’
bit 3-1
BSS<2:0>:
Boot Segment Program Flash Code Protection bits
111
= No boot segment; all program memory space is General Segment
110
= Standard security boot segment starts at 0200h, ends at 0AFEh
101
= Standard security boot segment starts at 0200h, ends at 15FEh
(
)
100
= Reserved
011
= Reserved
010
= High-security boot segment starts at 0200h, ends at 0AFEh
001
= High-security boot segment starts at 0200h, ends at 15FEh
000
= Reserved
bit 0
BWRP:
Boot Segment Program Flash Write Protection bit
(
)
1
= Boot segment may be written
0
= Boot segment is write-protected
Note 1:
Code protection bits can only be programmed by clearing them. They can be reset to their default factory
state (‘1’), but only by performing a bulk erase and reprogramming the entire device.
state (‘1’), but only by performing a bulk erase and reprogramming the entire device.
2:
This selection is available only on PIC24F16KL40X devices.
U-0
U-0
U-0
U-0
U-0
U-0
R/C-1
R/C-1
(
)
—
—
—
—
—
—
GSS0
GWRP
bit 7
bit 0
Legend:
R = Readable bit
R = Readable bit
C = Clearable Only bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-2
Unimplemented:
Read as ‘0’
bit 1
GSS0:
General Segment Code Flash Code Protection bit
1
= No protection
0
= Standard security is enabled
bit 0
GWRP:
General Segment Code Flash Write Protection bit
1
= General segment may be written
0
= General segment is write-protected
Note 1:
Code protection bits can only be programmed by clearing them. They can be reset to their default factory
state (‘1’), but only by performing a bulk erase and reprogramming the entire device.
state (‘1’), but only by performing a bulk erase and reprogramming the entire device.