dsPICDEM? 1.1
DEVELOPMENT BOARD
USER ’S GUIDE
Chapter 2. Tutorial
2.1
2.2
INTRODUCTION
This chapter is a self-paced tutorial to get you started using the dsPICDEM 1.1
Development Board.
HIGHLIGHTS
Items discussed in this chapter include:
?
?
?
?
?
?
Tutorial Overview
Creating the Project
Building the Code
Programming the Chip
Debugging the Code
Summary
2.3
TUTORIAL OVERVIEW
The tutorial program in Tut6014.s is written in assembly code. This program displays
text on the LCD and flashes an LED. The source file is used with a linker script file
( p30f6014.gld ) and an include file ( p30f6014.inc ) 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.
Assemble and link the code.
Program the chip with the MPLAB ICD 2.
Debug the code with the MPLAB ICD 2.
2.4
CREATING THE PROJECT
The first step is to create a project and a workspace in MPLAB IDE. Usually, you will
have one project in one workspace.
Note:
These instructions presume the use of MPLAB 6.31 or newer.
A project contains the files needed to build an application (source code, linker script
files, etc.) along with their associations to various build tools and build options.
A workspace contains one or more projects and information on the selected device,
debug tool and/or programmer, open windows and their location, and other IDE
configuration settings.
? 2003 Microchip Technology Inc.
Advance Information
DS70099B-page 11
相关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))