DM180021 Microchip Technology, DM180021 Datasheet - Page 22

KIT STARTER MPLAB FOR PIC18F MCU

DM180021

Manufacturer Part Number
DM180021
Description
KIT STARTER MPLAB FOR PIC18F MCU
Manufacturer
Microchip Technology
Series
MPLAB®r
Type
MCUr
Datasheets

Specifications of DM180021

Contents
Board, Cable, CD
Processor To Be Evaluated
PIC18F46J50
Processor Series
PIC18F
Interface Type
SPI
Operating Supply Voltage
3.3 V
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC18
Silicon Core Number
PIC18F
Silicon Family Name
PIC18F4xxx
Kit Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC18Fxxxx
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM180021
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DM180021
Manufacturer:
MICROCHIP
Quantity:
12 000
MPLAB Starter Kit for PIC18F User’s Guide
3.2
3.3
DS51852A-page 18
RUNNING THE EXAMPLE APPLICATION
DEBUGGING THE EXAMPLE APPLICATION
The starter kit executes in either real time (Run) or steps (Step Into, Step Over,
Animate). Real-time execution occurs when you select Run in MPLAB IDE. Once the
device code is halted, either by a Halt or a breakpoint, you can step.
The following toolbar buttons can be used for quick access to commonly used debug
operations:
TABLE 3-1:
To see how these options function, do the following:
1. Select Debugger>Reset>Processor Reset or click the Reset button to reset the
2. Select Debugger>Run or click the Run button. Observe how the application
3. Select Debugger>Halt or click the Halt button to stop the program execution. A
4. Select Debugger>Step Into or click the Step Into button to step the program
5. Select Debugger>Reset>Processor Reset and click the Reset button to reset the
For the example code given, everything works fine. However, when you are developing
code, it will likely not work the first time and need to be debugged. MPLAB IDE provides
an editor and several debug features, such as breakpoints and Watch windows, to aid
in application code debugging.
This section includes:
• Editing Application Code
• Using Breakpoints and Mouseovers
• Using Watch Windows
program.
operates.
green solid arrow marks the line of code in the File window where the program
Halted.
execution once. The green solid arrow will move down one line of code in the File
window. Click the button several times to step through some code.
program again. The arrow disappears, meaning the device is Reset.
Debugger Menu
PIC18F STARTER KIT DEBUGGER TOOLBAR
Step Over
Step Into
Animate
Reset
Run
Halt
Toolbar Buttons
© 2009 Microchip Technology Inc.

Related parts for DM180021