English
Language : 

PIC24FJ256DA210 Datasheet, PDF (358/408 Pages) Microchip Technology – 64/100-Pin, 16-Bit Flash Microcontrollers with Graphics Controller and USB On-The-Go (OTG)
PIC24FJ256DA210 FAMILY
27.4.3
CONFIGURATION REGISTER
PROTECTION
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 segment protection setting.
TABLE 27-2: CODE SEGMENT PROTECTION CONFIGURATION OPTIONS
Segment Configuration Bits
WPDIS WPEND WPCFG
Write/Erase Protection of Code Segment
1
X
x
No additional protection is enabled; all program memory protection is configured
by GCP and GWRP.
0
1
x
Addresses from the first address of the code page are defined by WPFP<7:0>
through the end of implemented program memory (inclusive), write/erase
protected, including Flash Configuration Words.
0
0
1
Address 000000h through the last address of the code page is defined by
WPFP<7:0> (inclusive), write/erase protected.
0
0
0
Address 000000h through the last address of code page is defined by
WPFP<7:0> (inclusive), write/erase protected and the last page, including Flash
Configuration Words are write/erase protected.
27.5 JTAG Interface
PIC24FJ256DA210 family devices implement a JTAG
interface, which supports boundary scan device
testing.
27.6 In-Circuit Serial Programming™
PIC24FJ256DA210 family microcontrollers can be seri-
ally programmed while in the end application circuit.
This is simply done with two lines for clock (PGECx)
and data (PGEDx), and three other lines for power
(VDD), ground (VSS) and MCLR. This allows customers
to manufacture boards with unprogrammed devices
and then program the microcontroller just before
shipping the product. This also allows the most recent
firmware or a custom firmware to be programmed.
27.7 In-Circuit Debugger
When MPLAB® ICD 3 is selected as a debugger, the
in-circuit debugging functionality is enabled. This func-
tion allows simple debugging functions when used with
MPLAB IDE. Debugging functionality is controlled
through the PGECx (Emulation/Debug Clock) and
PGEDx (Emulation/Debug Data) pins.
To use the in-circuit debugger function of the device,
the design must implement ICSP connections to
MCLR, VDD, VSS and the PGECx/PGEDx pin pair des-
ignated by the ICS Configuration bits. In addition, when
the feature is enabled, some of the resources are not
available for general use. These resources include the
first 80 bytes of data RAM and two I/O pins.
DS39969B-page 358
 2010 Microchip Technology Inc.