dsPICDEM? 1.1 PLUS
DEVELOPMENT BOARD
USER ’S GUIDE
Chapter 4. Using dsPIC33F and PIC24H/24F Devices
4.1
INTRODUCTION
This chapter is a self-paced tutorial to help you get started using the dsPICDEM? 1.1
Plus Development Board with dsPIC33F and PIC24H/24F devices. The tutorial dem-
onstrates the main features of MPLAB IDE Integrated Development Environment and
the MPLAB ICD 2 In-Circuit Debugger as they are used with the dsPICDEM? 1.1 Plus
Development Board. Upon completing this tutorial, you should be able to:
?
?
?
?
?
?
?
?
Create a project using the Project Wizard.
Assemble and link the code and set the Configuration bits.
Set up MPLAB IDE to use the MPLAB ICD 2 In-Circuit Debugger.
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.
4.2
HIGHLIGHTS
Items discussed in this chapter include:
?
?
?
?
?
?
Tutorial Overview
Creating the Project
Building the Code
Programming the Chip
Debugging the Code
Additional Code Examples
4.3
TUTORIAL OVERVIEW
The tutorial program in Tutorial.c displays text on the LCD and flashes an LED. The
source file is used with a linker script file ( p33FJ256GP710.gld ) to form a complete
project. The tutorial is a simple project that uses a single source code file. More
complex projects might use multiple assembler and compiler source files as well as
library files and precompiled object files. For simplicity, this tutorial uses only one
source file.
There are four steps to this tutorial:
1.
2.
3.
4.
Create a project in MPLAB IDE.
Compile and link the code.
Program the chip with the MPLAB ICD 2.
Debug the code with the MPLAB ICD 2.
? 2006 Microchip Technology Inc.
DS70099D-page 43
相关PDF资料
DM330012 KIT USB STARTER FOR DSPIC33E
DM330013 MICROSTICK DSPIC33F/PIC24H BOARD
DNET1 SURGE SUPPRESSOR ETHERNET RJ45
DR-8094 RACK DOUBLE 84"X20.25"X36" BLK
DR-IAC5E INPUT MODULE AC 5VDC
DRIDC24A INPUT MODULE DC 34MA 24VDC
DRODC24 OUTPUT MODULE DC 13MA 24VDC
DRR-40A MODULE REDUNDANCY 40A DIN RAIL
相关代理商/技术参数
DM300027 功能描述:开发板和工具包 - PIC / DSPIC 16-bit Starter Demo Board RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM-3-000-K 制造商:PacTec 功能描述:Case, Plastic; ABS; Black; 11.46 in.; 3.38 in.; 10.4 in.; UL 94-HB Rated 制造商:PacTec 功能描述:ENCLOSURE, DESKTOP, PLASTIC, BLACK; Enclosure Type:Desktop; Enclosure Material:Plastic; Body Color:Black; External Height - Imperial:3.38"; External Height - Metric:86mm; External Width - Imperial:10.4"; External Width - Metric:264mm;RoHS Compliant: Yes
DM-300-C 制造商:Greenlee Textron Inc 功能描述:DMM 1000V RMS
DM-301 制造商:Labfacility Limited 功能描述:SENSOR PT100 THIN FILM 2X2.3MM CL B 制造商:LABFACILITY 功能描述:SENSOR, PT100, THIN FILM, 2X2.3MM, CL B 制造商:LABFACILITY 功能描述:TEMPERATURE RTD SENSOR, -70C to +500C, 100 OHM; Sensing Temperature Min:-70C; Sensing Temperature Max:+500C; Resistance:100ohm; Sensor Terminals:Through Hole; Temperature Sensing Range:-70C to +500C ;RoHS Compliant: Yes
DM30103J 制造商:ELMCO 功能描述:
DM30113G 制造商:n/a 功能描述:DM30X311 S7C8B
DM30-113G 制造商:n/a 功能描述:DM30X311 S7C8B
DM30133J 制造商:n/a 功能描述:DM30X313 S7C8B