User manual

MPLAB
®
ICD 3 IN-CIRCUIT
DEBUGGER USERS GUIDE
© 2008 Microchip Technology Inc. DS51766A-page 29
Chapter 5. Tutorial
5.1 INTRODUCTION
This tutorial walks you through the process of developing a simple project using the
sample programs counter.c and timer.c. This is an implementation of the
PIC24FJ128GA010 device using the Explorer 16 Demo Board (DM240001). The
program counter.c is a simple counting program. The incremental count, delayed by
using Timer 1 (timer.c), is displayed via Port A on the demo board’s LEDs.
Topics covered in this chapter:
Setting Up the Environment and Selecting the Device
Creating the Application Code
Running the Project Wizard
Viewing the Project
Viewing Debug Options
Setting Up the Demo Board
Setting Up the Demo Board
Loading Program Code For Debugging
Running Debug Code
Debugging Code Using Breakpoints
Programming the Application