Microchip Technology ICD 3 In-Circuit Debugger DV164035 DV164035 User Manual
Product codes
DV164035
Tutorial
© 2008 Microchip Technology Inc.
DS51766A-page 39
5.8
SETTING UP THE DEMO BOARD
Before beginning to debug, make sure the Explorer 16 Demo Board is set up properly.
For more information, see the “Explorer 16 Development Board User’s Guide”
(DS51589).
For more information, see the “Explorer 16 Development Board User’s Guide”
(DS51589).
Settings for this tutorial should be as follows:
• PIC24FJ128GA010 PIM (Plug-In Module) plugged into the board.
• S2: “PIM” selected; “PIC” selection for devices soldered onto the board.
• J7: “PIC24” selected; the debugger will communicate directly with the
PIC24FJ128GA010 and not the on-board PIC18LF4550 USB device.
• JP2: LEDs have been enabled by connecting Jumper 2.
• D1 on: Power being supplied to board.
5.9
LOADING PROGRAM CODE FOR DEBUGGING
Select Debugger>Program to program RITut.hex into the PIC24FJ128GA010 on the
Explorer 16 demo board.
Explorer 16 demo board.
During programming, the ICD 3 tab of the Output dialog shows the current phase of
operation. When programming is complete, the dialog should look similar to
Figure 5-10.
operation. When programming is complete, the dialog should look similar to
Figure 5-10.
FIGURE 5-10:
OUTPUT WINDOW – MPLAB
®
ICD 3 TAB
Note:
The debug executive code is automatically programmed in upper program
memory for MPLAB ICD 3 debug functions. Debug code must be
programmed into the target device to use the in-circuit debugging
capabilities of the MPLAB ICD 3 in-circuit debugger.
memory for MPLAB ICD 3 debug functions. Debug code must be
programmed into the target device to use the in-circuit debugging
capabilities of the MPLAB ICD 3 in-circuit debugger.
Note:
If you have trouble programming your device or communicating with the
debugger, unplug the Explorer 16 board and use the self-test board
(Section 10.7 “ICD 3 Test Interface Board”) to verify communications.
For additional help, see Chapter 6. “Frequently Asked Questions
(FAQs)”.
debugger, unplug the Explorer 16 board and use the self-test board
(Section 10.7 “ICD 3 Test Interface Board”) to verify communications.
For additional help, see Chapter 6. “Frequently Asked Questions
(FAQs)”.