User manual
MPLAB
®
ICD 3 In-Circuit Debugger User’s Guide
DS51766A-page iv © 2008 Microchip Technology Inc.
Chapter 5. Tutorial
5.1 Introduction ................................................................................................... 29
5.2 Setting Up the Environment and Selecting the Device ................................. 30
5.3 Creating the Application Code ...................................................................... 30
5.4 Running the Project Wizard .......................................................................... 33
5.5 Viewing the Project ....................................................................................... 35
5.6 Viewing Debug Options ................................................................................ 36
5.7 Creating a Hex File ....................................................................................... 37
5.8 Setting Up the Demo Board ......................................................................... 39
5.9 Loading Program Code For Debugging ....................................................... 39
5.10 Running Debug Code ................................................................................. 40
5.11 Debugging Code Using Breakpoints .......................................................... 40
5.12 Programming the Application ..................................................................... 45
Part 2 –Troubleshooting
Chapter 6. Frequently Asked Questions (FAQs)
6.1 Introduction ................................................................................................... 49
6.2 How Does It Work ........................................................................................ 49
6.3 What’s Wrong ............................................................................................... 50
Chapter 7. Error Messages
7.1 Introduction ................................................................................................... 53
7.2 Specific Error Messages .............................................................................. 53
7.3 General Corrective Actions .......................................................................... 57
Part 3 –Reference
Chapter 8. Basic Debug Functions
8.1 Introduction ................................................................................................... 63
8.2 Breakpoints .................................................................................................. 63
8.3 Stopwatch ..................................................................................................... 63
Chapter 9. Debugger Function Summary
9.1 Introduction ................................................................................................... 65
9.2 Debugging Functions ................................................................................... 65
9.3 Debugging Dialogs/Windows ....................................................................... 68
9.4 Programming Functions ............................................................................... 73
9.5 Settings Dialog ............................................................................................. 74