Microchip Technology Starter Kit for PIC24F DM240011 DM240011 User Manual
Product codes
DM240011
MPLAB Starter Kit for PIC24F User’s Guide
DS51725A-page 20
© 2008 Microchip Technology Inc.
4.1
SETTING UP AN EXAMPLE APPLICATION FOR DEBUG
The MPLAB IDE software that is installed on your PC by the starter kit CD-ROM auto-
matically opens an example application that you may use to examine debug features
of the starter kit. To prepare the application for debug:
1. Launch MPLAB IDE. The example application project and related workspace will
matically opens an example application that you may use to examine debug features
of the starter kit. To prepare the application for debug:
1. Launch MPLAB IDE. The example application project and related workspace will
open. For information on projects and workspaces, see the MPLAB IDE
documentation mentioned at the beginning of this chapter.
documentation mentioned at the beginning of this chapter.
2. Select Project>Build All to build the application code. The build’s progress will be
visible in the Build tab of the Output window.
3. Select Debugger>Select Tool>Starter Kits. MPLAB IDE will change to add starter
kit debug features (Figure 4-1):
(1) the status bar will show Starter Kits as the debug tool
(2) a Starter Kit debug toolbar will be added
(3) the Debugger menu will change to add Starter Kit debug functions
(4) the Output window will display communication status between MPLAB IDE
and the starter kit on the Starter Kit Debugger tab.
Also, several device resources are used for debug. For details, see
Section 4.6 “Determining Device Support and Reserved Resources”.
(1) the status bar will show Starter Kits as the debug tool
(2) a Starter Kit debug toolbar will be added
(3) the Debugger menu will change to add Starter Kit debug functions
(4) the Output window will display communication status between MPLAB IDE
and the starter kit on the Starter Kit Debugger tab.
Also, several device resources are used for debug. For details, see
Section 4.6 “Determining Device Support and Reserved Resources”.
FIGURE 4-1:
STARTER KIT AS DEBUG TOOL
4. Select Debugger>Program to program the application code into the
PIC24FJ256GB106 device on the starter kit. The debug programming progress
will be visible in the Starter Kit tab of the Output window.
will be visible in the Starter Kit tab of the Output window.
1
3
4
2
Note: Debug executive code is automatically programmed in the upper program
memory of the starter kit device when the starter kit is selected as a debug-
ger. Debug code must be programmed into the target device to use the
in-circuit debugging capabilities of the starter kit.
ger. Debug code must be programmed into the target device to use the
in-circuit debugging capabilities of the starter kit.