Setting Up The Demo Board; Loading Program Code For Debugging - Microchip Technology MPLAB ICD 3 User Manual

In-circuit debugger
Hide thumbs Also See for MPLAB ICD 3:
Table of Contents

Advertisement

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).
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.
Note:
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.
FIGURE 5-10:
Note:
© 2008 Microchip Technology Inc.
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.
OUTPUT WINDOW – MPLAB
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)".
Tutorial
®
ICD 3 TAB
DS51766A-page 39

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MPLAB ICD 3 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents