PIC18F24J10-E/ML MICROCHIP [Microchip Technology], PIC18F24J10-E/ML Datasheet - Page 242

no-image

PIC18F24J10-E/ML

Manufacturer Part Number
PIC18F24J10-E/ML
Description
28/40/44-Pin High-Performance RISC Microcontrollers with nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC18F45J10 FAMILY
20.6
For all devices in the PIC18F45J10 family of devices,
the on-chip program memory space is treated as a
single block. Code protection for this block is controlled
by one configuration bit, CP0. This bit inhibits external
reads and writes to the program memory space. It has
no direct effect in normal execution mode.
20.6.1
The Configuration registers are protected against
untoward changes or reads in two ways. The primary
protection is the write-once feature of the configuration
bits which prevents reconfiguration once the bit has
been programmed during a power cycle. To safeguard
against unpredictable events, configuration 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 CP0 bit is set, the source data for device
configuration is also protected as a consequence.
DS39682C-page 240
Program Verification and
Code Protection
CONFIGURATION REGISTER
PROTECTION
Preliminary
20.7
PIC18F45J10 family microcontrollers can be serially
programmed while in the end application circuit. This is
simply done with two lines for clock and data 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.
20.8
When the DEBUG configuration bit is programmed to a
‘0’, the In-Circuit Debugger functionality is enabled.
This function allows simple debugging functions when
used with MPLAB
this feature enabled, some resources are not available
for general use. Table 20-3 shows which resources are
required by the background debugger.
TABLE 20-3:
I/O pins:
Stack:
Program Memory:
Data Memory:
In-Circuit Debugger
In-Circuit Serial Programming
®
DEBUGGER RESOURCES
IDE. When the microcontroller has
© 2007 Microchip Technology Inc.
RB6, RB7
2 levels
512 bytes
32 bytes

Related parts for PIC18F24J10-E/ML