Microchip Technology Microstick for the 5V PIC24F K-series DM240013-2 DM240013-2 데이터 시트

제품 코드
DM240013-2
다운로드
페이지 338
 2013 Microchip Technology Inc.
 
DS30003030B-page 259
PIC24FV16KM204 FAMILY
25.4
Program Verification and 
Code Protection
For all devices in the PIC24FXXXXX family, code
protection for the Boot Segment is controlled by the
Configuration bit, BSS0, and the General Segment by
the Configuration bit, GCP. These bits inhibit external
reads and writes to the program memory space This
has no direct effect in normal execution mode. 
Write protection is controlled by bit, BWRP, for the Boot
Segment and bit, GWRP, for the General Segment in
the Configuration Word. When these bits are pro-
grammed to ‘0’, internal write and erase operations to
program memory are blocked.
25.5
In-Circuit Serial Programming
PIC24FXXXXX family microcontrollers can be serially
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, ground and
the programming voltage. 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.
25.6
In-Circuit Debugger
When MPLAB
®
 ICD 3, MPLAB REAL ICE™ or PICkit™ 3
is selected as a debugger, the in-circuit debugging
functionality is enabled. This function allows simple
debugging functions when used with MPLAB IDE.
Debugging functionality is controlled through the
PGECx and PGEDx pins. 
To use the in-circuit debugger function of the device,
the design must implement ICSP connections to
MCLR, V
DD
, V
SS
, PGECx, PGEDx and the pin pair. 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.