PIC24FJ128GB MICROCHIP [Microchip Technology], PIC24FJ128GB Datasheet - Page 280

no-image

PIC24FJ128GB

Manufacturer Part Number
PIC24FJ128GB
Description
64/80/100-Pin, 16-Bit Flash Microcontrollers with USB On-The-Go (OTG)
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC24FJ128GB106-I/MR
Manufacturer:
MICROCHIP
Quantity:
54 574
Part Number:
PIC24FJ128GB106-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24FJ128GB106-I/PT
0
Part Number:
PIC24FJ128GB106T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24FJ128GB106T-I/PT
0
Part Number:
PIC24FJ128GB108-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24FJ128GB108T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24FJ128GB110-I/PF
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24FJ128GB210-I/PT
Quantity:
119
memory, as well as the Flash Configuration Words.
PIC24FJ256GB110 FAMILY
The size and type of protection for the segmented code
range are configured by the WPFPx, WPEND, WPCFG
and WPDIS bits in Configuration Word 3. Code seg-
ment protection is enabled by programming the WPDIS
bit (= 0). The WPFP bits specify the size of the segment
to be protected, by specifying the 512-word code page
that is the start or end of the protected segment. The
specified region is inclusive, therefore, this page will
also be protected.
The WPEND bit determines if the protected segment
uses the top or bottom of the program space as a
boundary. Programming WPEND (= 0) sets the bottom
of program memory (000000h) as the lower boundary
of the protected segment. Leaving WPEND unpro-
grammed (= 1) protects the specified page through the
last page of implemented program memory, including
the Configuration Word locations.
A separate bit, WPCFG, is used to independently protect
the last page of program space, including the Flash Con-
figuration Words. Programming WPCFG (= 0) protects
the last page regardless of the other bit settings. This
may be useful in circumstances where write protection is
needed for both a code segment in the bottom of
The various options for segment code protection are
shown in Table 25-2.
TABLE 25-2:
DS39897B-page 278
WPDIS
Segment Configuration Bits
1
1
0
0
0
0
WPEND
X
X
1
0
1
0
SEGMENT CODE PROTECTION CONFIGURATION OPTIONS
WPCFG
1
0
0
0
1
1
No additional protection enabled; all program memory protection configured by
GCP and GWRP
Last code page protected, including Flash Configuration Words
Addresses from first address of code page defined by WPFP8:WPFP0 through
end of implemented program memory (inclusive) protected, including Flash
Configuration Words
Address 000000h through last address of code page defined by WPFP8:WPFP0
(inclusive) protected
Addresses from first address of code page defined by WPFP8:WPFP0 through
end of implemented program memory (inclusive) protected, including Flash
Configuration Words
Addresses from first address of code page defined by WPFP8:WPFP0 through
end of implemented program memory (inclusive) protected
Preliminary
Write/Erase Protection of Code Segment
25.4.3
The Configuration registers are protected against
inadvertent or unwanted changes or reads in two ways.
The primary protection method is the same as that of
the RP registers – shadow registers contain a compli-
mentary value which is constantly compared with the
actual value.
To safeguard against unpredictable events, Configura-
tion bit changes resulting from individual cell level
disruptions (such as ESD events) will cause a parity
error and trigger a device Reset.
The data for the Configuration registers is derived from
the Flash Configuration Words in program memory.
When the GCP bit is set, the source data for device
configuration is also protected as a consequence. Even
if General Segment protection is not enabled, the
device configuration can be protected by using the
appropriate code cement protection setting.
CONFIGURATION REGISTER
PROTECTION
© 2008 Microchip Technology Inc.

Related parts for PIC24FJ128GB