®
MPLAB
ICD 3 In-Circuit Debugger User's Guide
5.6
VIEWING DEBUG OPTIONS
Before you begin debugging your code, review the default settings of several items. In
your own projects, you may need to set these items differently.
5.6.1
In this tutorial, the relevant device Configuration bits are set in the counter.c code
using the _CONFIG1 and _CONFIG2 directives. For information on the function of these
PIC24FJ128GA010 configuration register bits, see the "PIC24FJ128GA Family Data
Sheet" (DS39747).
Configuration bits also may be set by selecting Configure>Configuration Bits and
unchecking "Configuration bits set in code". Do not change any values for this tutorial.
FIGURE 5-6:
5.6.2
To select MPLAB ICD 3 in-circuit debugger as a debugger, select Debugger>Select
Tool>ICD 3. Then:
1. The Output window will open to display connection information. Depending on
the version of MPLAB IDE or the device selected, a message box may appear
indicating that the firmware needs to be updated. Select OK in the message box
to allow MPLAB IDE to install the new firmware. Also, since different MPLAB ICD
3 firmware is used for different families of devices, this message box may appear
when switching to a different device.
2. The Output window will display information about the firmware update and will
shen when the MPLAB ICD 3 is connected to the target.
3. The Debugger menu will show available debugger debug options.
4. A Debug toolbar will appear. Mouse over a button to see a pop-up of its function.
5.6.3
To set program options, select Debugger>Settings and click on the Program Memory
tab.
DS51766A-page 36
Configuration Bits
CONFIGURATION BITS WINDOW
Selecting the Debugger as a Debugger
Programming Options
© 2008 Microchip Technology Inc.
Need help?
Do you have a question about the MPLAB ICD 3 and is the answer not in the manual?