Beginner Lab 1: MPLAB® X IDE Setup and Project Creation
Objective
The objective of this lab is to provide hands-on experience with the MPLAB® X IDE environment and the complete development workflow for PIC32CM devices. The lab covers the following objectives:
- Gain familiarity with MPLAB X IDE, its plugins, and the associated project workflow.
- Install MPLAB X IDE and MPLAB XC32 Compiler.
- Develop a new project using MPLAB X IDE and MPLAB Code Configurator for the PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit from the beginning and explore the debugging features.
Overview
This lab provides step-by-step instructions for setting up MPLAB X IDE and creating an MPLAB Harmony v3 project from the beginning, specifically for the PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit. The content covers installation of the IDE, configuration of essential plugins, and an overview of the project workflow within MPLAB X IDE. Additionally, the lab demonstrates the use of debugging features to monitor and troubleshoot applications effectively.
Lab Activities
- Installation of MPLAB X IDE and required plugins
- Creation of a new project using MPLAB X IDE and MPLAB Code Configurator
- Configuration of project settings and peripheral libraries relevant to the PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit
Expected Outcomes
Upon completing this lab, you will be able to:
- Successfully install MPLAB X IDE and the necessary plugins.
- Create a new project using MPLAB X IDE and MPLAB Code Configurator for the PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit.
- Navigate the MPLAB X IDE interface and understand the project workflow.
- Utilization of debugging features within MPLAB X IDE to monitor program execution, set breakpoints, and troubleshoot applications.
- Demonstrate a basic understanding of embedded project development using MPLAB X IDE and MPLAB Code Configurator.
Lab Source Files and Solutions
This ZIP file contains the completed solution project for this lab. It also contains the source files needed to perform the lab as per the following step-by-step instructions (see the "Lab Index" section on this page).
for this lab.
Lab Index
The following steps outline the procedure for Lab 1:
- Step 1: Download and Installation
- Step 1.1 - Download and install MPLAB X IDE
- Step 1.2 - Install the MPLAB XC32 Compiler
- Step 2: Create and Generate a New Project
- Step 2.1 - Creating and generating a new project
- Step 3: Building and Programming of the Project
- Step 3.1 - Building and Programming of the project
- Step 4: Debug Mode
- Step 4.1 - Debug mode
- Step 5: Tips and Best Practices
- Step 5.1 - Tips and tricks that can be used in MPLAB X IDE
Reference Links
- PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit
- MPLAB X Integrated Development Environment (IDE)
- MPLAB XC32 Compiler
- Install MPLAB X IDE Walkthrough
- Learn Software and Hardware Tools at Microchip