Datasheet

Operation
2013 Microchip Technology Inc. DS52085A-page 41
3.9 PROGRAMMING WITH THE EMULATOR
Use the MPLAB REAL ICE in-circuit emulator as a programmer to program a produc-
tion device, i.e., a device not on a debug header. Set the MPLAB REAL ICE in-circuit
emulator as the current tool (File>Project Properties
, Advanced, MPLAB Environment)
to perform these actions:
When Run>Run Project
is selected, the application code is programmed into the
device’s memory via the ICSP protocol as described above. No target oscillator
clock is required while programming, and all modes of the processor can be pro-
grammed, including code protect, Watchdog Timer enabled and table read pro-
tect.
A small “program executive” program may be loaded into the high area of
program memory for some target device. This increases programming speeds for
devices with large memories.
Special “in-circuit debug” registers in the target device are disabled by MPLAB
IDE, along with all debug features. This means that a breakpoint cannot be set,
and register contents cannot be seen or altered.
The target device is run in release mode. As a programmer, the emulator can only
toggle the MCLR
line to reset and start the target.
3.10 RESOURCES USED BY THE EMULATOR
For a complete list of resources used by the emulator for your device, please see the
online help file in MPLAB IDE for the MPLAB REAL ICE in-circuit emulator.