dsPICDEM? 1.1 Development Board User’s Guide
2.6.4
Program the dsPIC30F6014 Device
1. From the Debugger menu, select Program . The Output window (Figure 2-14)
displays the program steps as they occur.
2. Observe the process in the Output window. When “MPLAB ICD 2 Ready”
displays, the device is programmed and ready to run.
FIGURE 2-14:
PROGRAMMING THE dsPIC30F6014 DEVICE
3. Use the Debugger>Reset menu to reset the code, then Debugger>Run to run the
code. LED1 should start blinking and the LCD display should show the text in
FIGURE 2-15:
TUTORIAL LCD DISPLAY
dsPICDEM 1.1
D EVELOPMENT B OARD
T UTORIAL
2.7
DEBUGGING THE CODE
The MPLAB ICD 2 In-Circuit Debugger can be used to run, halt and step the code. A
breakpoint can be set to halt the program after the code has executed the instruction
at the breakpoint. The contents of the RAM and registers can be viewed whenever the
processor has been halted.
The MPLAB ICD 2 In-Circuit Debugger uses the following function keys to access the
main debugging functions:
<F5>
<F6>
<F7>
<F9>
Halt
Reset
Single Step
Run
In addition, there are more functions available by right clicking on a line of source code.
The most important of these are “Set Breakpoint” and “Run to Cursor.”
DS70099B-page 22
Advance Information
? 2003 Microchip Technology Inc.
相关PDF资料
DM300016 BOARD DEMO DSPICDEM STARTER
DM300017 BOARD DEMO DSPICDEM STARTER
DM300020 BOARD DEV DSPICDEM MC1 MOTORCTRL
DM300021 MODULE PWR DSPICDEM MC1H HV 3PHS
DM300022 MODULE PWR DSPICDEM MC1L LV 3PHS
DM320002 BOARD EXPANSION PIC32 I/O
DM320003-2 KIT EVAL PIC32 USB II STARTER
DM320003 BOARD DEMO USB PIC32 OTG
相关代理商/技术参数
DM300015 功能描述:KIT DESIGN W/DM300014 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:*
DM300016 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM Starter RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300017 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM 28P Starter RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300017 制造商:Microchip Technology Inc 功能描述:Microcontroller Development To
DM300018 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM 2 Demo Brd RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300018 制造商:Microchip Technology Inc 功能描述:DEMO BOARD ((NW))
DM300019 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM 80L Starter Demo Board RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300019 制造商:Microchip Technology Inc 功能描述:DEMO BOARD STARTER ((NW))