PICDEM.net? 1 and dsPICDEM.net 2 Connectivity Dev Board User’s Guide
A red stop sign should appear in the gutter (grey bar on the left) of the source
code window, as shown in Figure 2-25.
2. Press <F9> to run the code. The program will halt on the instruction following the
breakpoint.
In this example, every time <F9> is pressed to run the code, the program runs
through the timing delay loop once before reaching the breakpoint. It toggles
LED2 each time.
FIGURE 2-25:
SETTING BREAKPOINT
2.8
SUMMARY
This tutorial has demonstrated several features of the MPLAB IDE programmer and the
MPLAB C30 compiler. It also demonstrated the use of the MPLAB ICD 2 debugger with
the dsPICDEM.net board. After completing this tutorial you should be able to:
?
?
?
?
?
?
?
?
Create a project using the project Wizard.
Compile and link the code and set the configuration bits.
Set up MPLAB to use the MPLAB ICD 2.
Program the chip with the MPLAB ICD 2.
View the code execution in program memory and source code.
View registers in a Watch Window.
Set a breakpoint and make the code halt at a chosen location.
Use the function keys to Reset, Run, Halt and Single Step the code.
You can now add functionality to this simple project to create your own application.
To familiarize yourself with several dsPIC peripherals and associated board functions
proceed to Chapter 3. “Quick Start Program” . The quick start sample project in
Chapter 3 provides several code module building blocks to help you accelerate your
proficiency with the dsPICDEM.net board.
DS51471A-page 30
? 2004 Microchip Technology Inc.
相关PDF资料
DM300014 BOARD DEMO DSPICDEM 1.1 GEN PURP
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
相关代理商/技术参数
DM300014 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM 1.1 GP RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
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 接口类型: 工作电源电压: