Datasheet

PIC32MX STARTER KIT
USERS GUIDE
© 2009 Microchip Technology Inc. DS61144D-page 23
Chapter 3. Create a New Project
3.1 INTRODUCTION
This chapter explains how to create a new project.
3.2 HIGHLIGHTS
Items discussed in this chapter include:
Creating a New Project
Building the Project
Programming the Device
Running the Program
After completing this chapter, you should be able to accomplish the following tasks:
Create a project using the Project Wizard
Assemble and link the code, and set the Configuration bits
Set up the MPLAB IDE to use the PIC32MX Starter Kit
Program the chip, and run the program
3.3 CREATING A NEW PROJECT
The first step is to create a project and a workspace in the MPLAB IDE. Typically, there
is a single project per workspace.
A project contains the files needed to build an application (i.e., source code, header
files, library, etc.), and their corresponding build options.
A workspace contains one or more projects, information on the selected device,
debug/programmer tool, and MPLAB IDE configuration settings.
MPLAB IDE contains a Project Wizard to help create a new project.
You will perform the following tasks as you create a new project:
Task 1, Select a Device ..................................................... page 24
Task 2, Select the Language Toolsuite ............................ page 25
Task 3, Name Your Project ................................................ page 26
Task 4, Add Files to Your Project ..................................... page 27
Task 5, Confirm the Configuration Settings .................... page 30
Task 6, Build the Project .................................................. page 31
Task 7, Program the Device .............................................. page 32
Task 8, Run the Program................................................... page 33