MPLAB Starter Kit for PIC18F User’s Guide
3.2
RUNNING 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:
PIC18F STARTER KIT DEBUGGER TOOLBAR
Debugger Menu
Toolbar Buttons
Run
Halt
Animate
Step Into
Step Over
Reset
To see how these options function, do the following:
1. Select Debugger>Reset>Processor Reset or click the Reset button to reset the
program.
2. Select Debugger>Run or click the Run button. Observe how the application
operates.
3. Select Debugger>Halt or click the Halt button to stop the program execution. A
green solid arrow marks the line of code in the File window where the program
Halted.
4. Select Debugger>Step Into or click the Step Into button to step the program
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.
5. Select Debugger>Reset>Processor Reset and click the Reset button to reset the
program again. The arrow disappears, meaning the device is Reset.
3.3
DEBUGGING THE EXAMPLE APPLICATION
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
DS51852A-page 18
? 2009 Microchip Technology Inc.
相关PDF资料
DM183022 BOARD DEMO PIC18FXX22 64/80TQFP
DM183032 BOARD EXPLORER PICDEM PIC18
DM240001 BOARD DEMO PIC24/DSPIC33/PIC32
DM240002 BOARD DEV EXPLORER 16 44-PIN
DM240011 KIT STARTER MPLAB FOR PIC24F MCU
DM240021 KIT STARTER MPLAB FOR PIC24H
DM240311 BOARD DEV PIC24F16KA102 XLP
DM300018 BOARD DEMO DSPICDEM 2
相关代理商/技术参数
DM1800-434MB 功能描述:射频模块 DM1800 Base Station 433.92 MHz RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MN 功能描述:射频模块 DM1800 Field Node 433.92 MHz RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MN-V 功能描述:射频模块 Field Node w/ Host Ser Intr 433.92 MHz RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MR 功能描述:射频模块 DM1800 Network Router 433.92 MHz RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MR-PAH 功能描述:射频模块 DM1800 Pkg Router 433.92 MHz Horzt Mnt RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MR-PAV 功能描述:射频模块 DM1800 Pkg Router 433.92 MHz Vert Mnt RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MR-PBH 功能描述:射频模块 DM1800 Pkg Router 433.92 MHz Horzt Mnt RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MR-PBV 功能描述:射频模块 DM1800 Pkg Router 433.92 MHz Vert Mnt RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm