Datasheet
dsPICDEM
™
80-PIN STARTER
DEVELOPMENT BOARD USER’S GUIDE
© 2006 Microchip Technology Inc. DS51584B-page 11
Chapter 2. Tutorial
2.1 INTRODUCTION
This chapter is a self-paced tutorial to get you started using the dsPICDEM 80-Pin
Starter Development Board.
2.2 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 Eg1_BlinkLed.s is written in assembly code. This program
blinks an LED when a key is pressed. The source file is used with a linker script file
(p30f6014a.gld) and an include file (p30f6014a.inc) to form a complete project.
This simple project uses a single source code file; however, more complex projects
might use multiple assembler and compiler source files as well as library files and
precompiled object files.
There are four steps to this tutorial:
1. Creating a project in MPLAB IDE.
2. Assembling and linking the code.
3. Programming the chip with the MPLAB ICD 2.
4. Debugging the code with the MPLAB ICD 2.
Note: The following tutorial instructions assume the use of the dsPIC30F6014A
device, which is supplied with the dsPICDEM 80-Pin Starter Development
Board. However, this information applies to any of the dsPIC30F,
dsPIC33F, PIC24F and PIC24H devices supported by the board.