MPLAB® X IDE is a software program that runs on a PC (Windows®, Mac OS®, Linux®) to develop applications for Microchip microcontrollers and digital signal controllers. It is called an Integrated Development Environment, or IDE, because it provides a single integrated “environment” to develop code for embedded microcontrollers.
MPLAB X Integrated Development Environment brings many changes to the PIC® microcontroller development tool chain. Unlike previous versions (8.xx and earlier) of MPLAB which were developed completely in-house, MPLAB X is based on the open source NetBeans IDE from Oracle. Taking this path has allowed us to add many frequently requested features very quickly and easily while also providing us with a much more extensible architecture to bring you even more new features in the future. It also provides many new features that will be especially beneficial to users of our 16-bit and 32-bit families where programs can grow to be extremely complex.
MPLAB X IDE provides an extensive list of features to help enhance your productivity while developing and debugging applications on any device from the PIC microcontroller product family. However, as with any feature-rich program, it can be a challenge to learn to use all of its capabilities or even to find out what all of those capabilities are. The goal of this site is to help you to discover and learn how to use the many available features that are sure to simplify and enhance your development activities.
Table of Contents
Installation and Configuration
Java Runtime Environment
MPLAB X IDE
Hardware Tools and USB Drivers
- How to swap USB drivers between MPLAB 8 and MPLAB X (Windows® Only)
- MPLAB REAL ICE
- MPLAB ICD 3
- MPLAB PICkit 3
- MPLAB PM3
- MPLAB Simulator
- Starter Kits
Other Project Types
These link to topic headings below
Debugger and Programmer Settings
- How to configure a project's programming options Under Construction
Building for Debugging
Building for Production
Viewing Build Results
- How to display a program's memory usage ⟳ Duplicate Topic - Merge in Progress
- How to view an application's memory usage ⟳ Duplicate Topic - Merge in Progress
- How to display a program's checksum ⟳ Duplicate Topic - Merge in Progress
- How to display a program's memory usage
- How to display a program's checksum
Displaying Project Information
Opening, Closing, Copying, Renaming, and Saving
Adding and Removing Files
Key Editor Features at a Glance
Configuring Editor Options
- How to customize editor options ⟳
- How to change the font
- How to change the font size
- How to change the syntax highlighting colors
- How to change automatic code formatting rules
- How to add or remap keyboard shortcuts
- How to turn on/off line numbers
- How to hide the right margin (red vertical line)
- How to configure the tab key
Find / Search and Replace
Building and Running for Debugging
Working with a Debugger
Embedded Memory Views
Watches and Variables Windows
- How to work with the call stack Under Construction
- How to work with the stopwatch Under Construction
Working with hex files
Customizing the IDE
Working with Projects
Linker and Linker Scripts
Make and Makefiles
Creating and Working with Bootloaders
- How to work with Bugzilla Under Construction
Migrating Projects to Different Platforms
Useful Features You Didn't Know You Need
Frequently Asked Questions
- Which features from MPLAB 8 have not yet been implemented in MPLAB X?
- When I try to build or debug my code, I get an error stating "No rule to make target" ⟳
- Can I install MPLAB 8 and MPLAB X at the same time on the same computer?
- How to share a project between MPLAB 8 and MPLAB X
- Where is the USB driver switcher installed on my computer? ⟳
- Can MPLAB X projects be opened from Windows Explorer as with MPLAB 8?
- Why is everything in the MPLAB X editor underlined in red and marked as an error?
- Issue with MPLABX “Tools->Options” window not appearing
General Troubleshooting Techniques
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Windows is a registered trademark of Microsoft Corporation in the United States and other countries.
Mac OS is a trademark of Apple Inc., registered in the U.S. and other countries.