参数资料
型号: DM240021
厂商: Microchip Technology
文件页数: 23/44页
文件大小: 0K
描述: KIT STARTER MPLAB FOR PIC24H
视频文件: Introduction to the PIC24H Starter Kit
标准包装: 1
系列: MPLAB®
类型: MCU
适用于相关产品: PIC24H
所含物品: 板,线缆,CD
产品目录页面: 659 (CN2011-ZH PDF)
相关产品: 828-1001-6-ND - 3-AXIS ACCELEROMETER ANALOG I/F
828-1001-1-ND - 3-AXIS ACCELEROMETER ANALOG I/F
828-1010-ND - BMA140 SHUTTLE BOARD FOR DEV KIT
828-1001-2-ND - 3-AXIS ACCELEROMETER ANALOG I/F
Develop an Application
3.3
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 Halt or a breakpoint, you can step.
The toolbar buttons shown in Table 3-1 can be used for quick access to commonly
used debug operations:
TABLE 3-1:
TOOLBAR BUTTONS
Debugger Menu
Run
Halt
Debug Toolbar
Debugger Menu
Program
Read
DSK Toolbar
Animate
Step Into
Step Over
Reset
Breakpoints
To see how these options function, do the following:
1. Select Debugger>Reset>Processor Reset or click Reset to reset the program.
2. Select Debugger>Run or click Run . Observe how the application operates.
3. Select Debugger>Halt or click Halt to stop the program execution. A green solid
arrow will mark the line of code in the File window where the program halted.
4. Select Debugger>Step Into or click Step Into 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 click Reset to reset the program
again. The arrow will disappear, meaning the device is reset.
3.4
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 may 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:
? 2008 Microchip Technology Inc.
DS51780A-page 19
相关PDF资料
PDF描述
DM240311 BOARD DEV PIC24F16KA102 XLP
DM300018 BOARD DEMO DSPICDEM 2
DM300019 BOARD DEMO DSPICDEM 80L STARTER
DM300024 KIT DEMO DSPICDEM 1.1
DM330012 KIT USB STARTER FOR DSPIC33E
相关代理商/技术参数
参数描述
DM240311 功能描述:开发板和工具包 - PIC / DSPIC XLP 16-bit Dev Board RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM240312 功能描述:开发板和工具包 - PIC / DSPIC PIC24FJ256DA210 Dev Board RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM240313 功能描述:开发板和工具包 - PIC / DSPIC XLP 8-BIT Dev Board RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM240314 功能描述:显示开发工具 LCD Explorer Dev Brd RoHS:否 制造商:4D Systems 产品:4Display Shields 工具用于评估:?OLED-160-G1, ?OLED-160-G2 接口类型:Serial 工作电源电压:5 V
DM240315-2 功能描述:射频开发工具 Remote Control Demo Board RoHS:否 制造商:Taiyo Yuden 产品:Wireless Modules 类型:Wireless Audio 工具用于评估:WYSAAVDX7 频率: 工作电源电压:3.4 V to 5.5 V