PIC24FJ256DA210 Development Board User’s Guide
3.6
RUNNING THE CODE
The example application can either execute in real time (Run) or steps (Step Into, Step
Over, and Animate.) Real-time execution occurs when you select Run in MPLAB IDE.
Once the device code is halted, either by Halt or a breakpoint, you can step. The toolbar
buttons (Figure 3-9) can be used for quick access to commonly used debug operations:
?
?
?
?
?
?
?
Run
Halt
Animate
Step Into
Step Over
Step Out
Reset
FIGURE 3-9:
DEBUGGING MENU OPTIONS
To see how these options function, do the following:
? Select Debugger > Reset > Processor Reset or click the Reset button to reset the
program.
? Select Debugger > Run , or click the Run button. Observe how the application
operates.
? Select Debugger > Halt , or click the Halt button to stop the program execution. A
green solid arrow will mark the line of code in the File window where the program
halted.
? 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.
? Select Debugger > Reset > Processor Reset . Click the Reset button to reset the
program again. The arrow will disappear, meaning the device is reset.
DS51911A-page 26
? 2010 Microchip Technology Inc.
相关PDF资料
DV164101 KIT DEV PICKIT1 FLASH 8/14PIN
DV164120 KIT STARTER PICKIT 2
DV164121 KIT PICKIT 2 DEBUG EXPRESS
DV164122 ANALYZER SRL PICKIT W/DEMO BOARD
DV164131 KIT STARTER PICKIT 3
DV164132 KIT EVAL F1 FOR PIC12F1/PIC16F1
DV243003 KIT STARTER FOR SRL MEM PRODUCTS
DVA1001 ADAPTER FOR PIC16F716 18DIP
相关代理商/技术参数
DV164101 功能描述:开发板和工具包 - PIC / DSPIC PICkit 1 8/14P Flash RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DV164101 制造商:Microchip Technology Inc 功能描述:TOOLS: FLASH MICROCONTROLLER (
DV164102 功能描述:开发板和工具包 - 无线 rfPICkit RoHS:否 制造商:Arduino 产品:Evaluation Boards 工具用于评估:AT32UC3L 核心:AVR32 频率: 接口类型:USB 工作电源电压:5 V
DV164120 功能描述:电路内置调试器 PICkit 2 8/14/20P Flash RoHS:否 制造商:Microchip Technology 产品:In-Circuit Debugger Kits 工具用于评估:PIC MCUs, dsPIC DSCs 用于:07-00024, AC164113 核心:dsPIC, PIC 接口类型:USB 工作电源电压:3 V to 5 V
DV164121 功能描述:电路内置调试器 PICkit 2 Debug Express RoHS:否 制造商:Microchip Technology 产品:In-Circuit Debugger Kits 工具用于评估:PIC MCUs, dsPIC DSCs 用于:07-00024, AC164113 核心:dsPIC, PIC 接口类型:USB 工作电源电压:3 V to 5 V
DV164121 制造商:Microchip Technology Inc 功能描述:ICPICKIT2 PROGRAMMER/DEBUGGER ((NW))
DV164121+TEFLCST3 制造商:Microchip Technology Inc 功能描述:KIT PICKIT2+FLOWCODE-HOME BUNDLE 制造商:Microchip Technology Inc 功能描述:ICD, PICKIT 2, FLOW CODE, PIC, DSPIC 制造商:Microchip Technology Inc 功能描述:ICD, PICKIT 2, DEBUG EXP, FLOW CODE, PIC, DSPIC; Silicon Family Name:PIC12F6xx, PIC16F5xx; Core Architecture:PIC; Core Sub-Architecture:PIC12, PIC18, PIC24; IC Product Type:Debugger / Programmer; Series:PICkit 2 ;RoHS Compliant: Yes
DV164122 功能描述:界面开发工具 PICkit Ser Analyzer RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V