We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X

MPLAB® X Integrated Development Environment (IDE)

MPLAB® X Integrated Development Environment (IDE) is an expandable, highly configurable software program that incorporates powerful tools to help you discover, configure, develop, debug and qualify embedded designs for most of Microchip’s microcontrollers and digital signal controllers. MPLAB X IDE works seamlessly with the MPLAB development ecosystem of software and tools, many of which are completely free. 

MPLAB X IDE brings a host of features to help you quickly debug your projects and minimize your development time. Some newer features include:

  • Data Visualizer:  No need to purchase extra visualizations tools since real-time streaming data can be viewed in Data Visualizer
  • I/O View: Pin states can be verified and manipulated with I/O View for fast hardware verification
  • Helpful Design Resources: Save time with useful links to software libraries, datasheets and user guides that are provided automatically
  • Easy to Use: Register and bit definitions are now just a click away
  • Includes the MPLAB Integrated Programming Environment (IPE) for production-level programming

Develop Fast Prototypes with Microchip's Powerful, Easy-to-Use Ecosystem


  • Get your code off to a head start with MPLAB Code Configurator
  • Graphically configure peripherals and software libraries with MPLAB Harmony (32-bit PIC® MCUs and SAM MCUs and MPUs only)
  • Download a free MPLAB XC Compiler, or unlock the full potential of code size savings and code execution speed with PRO licenses
  • Take advantage of MPLAB X IDE’s support for the open-source AVR® and SAM GCC compiler
  • Select the best debugger for your project:

Our 32-bit MPUs are now supported by MPLAB X IDE, MPLAB XC32 Compiler, MPLAB Harmony v3 and our latest debuggers. Learn more on our 32-bit MPUs product page.

All of Microchip’s tools can run on Windows®, macOS®, and Linux® operating systems for maximum workstation flexibility. To view a complete listing of supported products, see the MPLAB X IDE Device Support List found in the documentation tab below.

Looking for an Easy Way to Get Started with MPLAB X IDE? Meet the Cloud-Based MPLAB Xpress IDE

Now supporting AVR MCUs along with PIC MCUs and dsPIC DSCs, the award-winning MPLAB Development Environment is more portable than ever. Simply navigate to mplabxpress.microchip.com from any compatible Internet browser and enjoy the streamlined MPLAB Xpress IDE without any downloads or installation.

 

Microchip Studio

Get all the great features and functionality of Atmel Studio along with our well-supported portfolio of development tools when you download Microchip Studio for AVR® and SAM Devices.

Development Tool Deals

Every month of the year, we offer special savings on a selection of development tools. Visit our Dev Tool Deals page to explore the products that are on sale this month and to take advantage of these special discounts.

Microchip University

Get free training on our products 24 hours a day, every day. We offer on-demand courses and live sessions on general embedded control topics as well as Microchip, Atmel and Microsemi products. Learn how to improve your business by using our products to their full advantage.

MPLAB Code Coverage


Measure how well your code is tested using MPLAB Code Coverage. This licensed feature is available in all MPLAB XC Compilers and is fully integrated into MPLAB X IDE to provide analytical and navigational tools, dashboards, summaries and reports. Learn more

Java® Platform and Operating System Direction


In order to align with industry standards and to continue to provide you the best experience when using MPLAB X IDE, we will be making the following changes to the IDE:

  • A license-free version of Java will be distributed with MPLAB X IDE starting in version 5.40
    • MPLAB X IDE versions up to and including 5.35 will use the last free JRE version 8 from Oracle®

No Oracle JRE license will be required to use any version of MPLAB X IDE

  • Operating system support for Windows, Mac OS and Linux will move to 64-bit only starting with MPLAB X IDE version 5.40
    • Product support releases will be delivered independently from MPLAB X IDE starting in version 5.30 by moving to a Device Family Pack (DFP) system
    • A DFP can be applied to MPLAB X IDE version 5.30 or 5.35 to extend the life of the IDE for 32-bit operating systems
      • Not all new devices added by a Device File Pack are guaranteed to work in these versions of the IDE

Important Note for macOS® Users: The latest version of macOS, 10.15 Catalina, removes support for 32-bit applications. This means that current versions of MPLAB X IDE (up to version 5.40) will not run on this operating system without a patch. All current versions of MPLAB XC compilers are now compatible with this latest version of macOS. Download macOS patch here.

Downloads, Documentation and Other Resources


MPLAB X IDE only supports computers with processors designed with the Intel® 64 architecture.

If you have a problem with the links below, please use these links instead:  MPLAB X IDE Windows 5.45  MPLAB X IDE Linux 5.45  MPLAB X IDE OSX 5.45

Archives are located here.

Title Date Download
MPLABX-v5.45-windows-installer.exe 22 Jan 2021 Download
mplabx-v5.45-linux-installer.tar 22 Jan 2021 Download
MPLABX-v5.45-osx-installer.dmg 12 Feb 2021 Download
MPLAB X IDE Release Notes 22 Jan 2021 Download
Title Download
MDB User's Guide Download
MPASMX/MPLINK User's Guide Download
MPLAB X IDE Device Support List Download
MPLAB X IDE User’s Guide Download

MPLAB X IDE supports "One-Click"

"One Click" Make, Program, Debug / Execute operation. Unlike other IDEs where you build, have to connect to the hardware tool, program the target and then start your debug session. 

Under MPLAB X it is all compiled into one action button. Run, Program, or Debug Run starts ‘Make’ which will check for changes and build any relevant updates, connect to the tool program the images and either start a debug session or start an execution of the programmed image. (There is also the option of doing these individually if the customer prefers).

Provides a new Call Graph for navigating complex codes

In order to navigate your code or understand a colleague’s code in addition to documentation the Call Graph provides a static call tree of all functions called from other functions. It can also be exported to a Portable Network Graphics (PNG) image.

Supports Multiple Configurations within your projects

A single project can now build the same set of source files in many different ways. Each “configuration” has its own compiler options, compiler, hardware tool, and target device.

Supports Multiple Versions of the same compiler

You can have as many versions of a compiler installed as you wish to work with. Each is identified by its own version. For any project, you can select the specific version of your choice. This enables you to use more than one instance of a compiler within the IDE at the same time. 

Project configurations can be set to use an older version while trying a new release.

Support for multiple Debug Tools of the same type

MPLAB X IDE now allows you to have multiple debug tools connected to the computer at the same time. You can select which ever tool you desire for a specific project or configuration within a project (example: Programmer and Simulator in their own configurations). It provides the ability to debug more than one target at the same time using just one installation of MPLAB X IDE.

Supports Live Parsing

Live parsing means while you type in code if you enter something the C parser does not recognize it will flag it. Many times this allows you to fix code before even compiling.

Import existing MPLAB 8 IDE projects and use either IDE for the same source

You can import an existing MPLAB 8 project and develop the code from within either IDE. The same compiler and same debug tools are used so the code is still as production worthy as always. This flexibility allows you to use the MPLAB® X IDE without affecting your MPLAB 8 project.

Supports hyperlinks for fast navigation to declarations and includes

Using the CTRL key and mouse over a function, variable, macro, or include statement allows you to view its declaration. Clicking on the hyperlink will take you right to the source of declaration. Alternatively, you can right click on it and choose Navigate → Go to Declaration from the context menu to jump to its declaration.

Supports Live Code Templates

Within the IDE there are many existing code templates that can be accessed using a couple of letters then tab (or specified key). You can create your own templates, (even live templates) such that when you enter values into the template area, other areas of code are also populated. For example the 'func' active code template shown here. As you enter parameters in the comments, to document the function, the real function is also populated.

Supports the ability to enter File Code Templates with license headers or template code

The developer can select from a template file whenever he creates a new file to add source code to.

MPLAB X IDE can Track Changes within your own system using local history

Unsure of what changes you made to the software since the last version control update? Use the Local History utility to visualize changes made. Very useful for backtracking

Within MPLAB X IDE a user can configure their own Code Format Style

Either an individual or a company can set up a code format standard to be used within the editor. Just select the file to format the code in and menu Source>/Format to reapply the template to your source code.

Provides a Tasks Window which is a great way to keep track of those "loose ends" in your code


The Tasks operation, automatically scans your code and lists commented lines containing words such as "TODO" or "FIXME", (the words can be customized under options). Tasks provide a convenient way to keep track of important items you feel need addressing.

Shows Macro Expansions

Macros are incredible useful but sometimes they can have unexpected values if they are conditionally defined. This window allows you to see what the compiler will consume after the preprocessor is done. With the expansion view you see exactly what value they expand to. Also, blocks of code not to be compiled are omitted in the view. Also, in the editor window, MPLAB X shows you all the #ifdef/#endif blocks. It uses the comment color (grey by default) to show you sections that will not be included.

Now supports Configurable Memory views

You can change any memory view to look at any type of memory. Formats for those views are also selectable from the dropdowns. This allows a quick view change without going thru the menus.

Has a new "Project Status" window

Need one place to summarize you project? For convenience there is a single window that gathers all the relevant project information and its environment. Device name, Debug Tool, Language Build Tool, and Connection state are presented. The Memory section shows Total, Used and Reserved by Debug Tool for RAM and Flash memory. Checksum and Breakpoint (silicon resource) status is also shown. The Debug tool provides additional status for Device ID, firmware versions and voltages.

Allows you to attach a specific debugger tool firmware version to a project

With this feature you’ll never have to worry about which firmware version you were using. MPLAB will remember it and automatically restore it to the correct version when you connect to the debugger.

Just set it and forget it.

Now has two types of Disassembly Windows

Available only during a debug session and accessed through the Window>/ Debugging menu, this new Disassembly window shows the disassembled memory of the high-level language function in the scope of the current execution point of the debugger. It is extremely useful for debugging program execution at the assembly level.

In addition is the Disassembly listing window which is similar to the one provided in MPLAB IDE v8.x. It is available under the Window>/ Output menu. This window shows the disassembled code generated by the compiler for the current project. It interleaves the disassembled code with the original high-level language source code so it is possible to see what the compiler generates for each line of source code in the project. A project must be built with debugging information, since the display depends upon the debugging line table within the built project, in order to display data.

Provides a Software Call Stack window with function arguments

Use the Variables and Call Stack windows together to browse local variable history of each function in the call chain. Hint: The Variables window is docked at the bottom of the output pane to allow simultaneous interaction and display of the local variables with the selected function in the Call Stack window

Provides Focused Modes of the variables display

The variables window configured to show only variables used near the program counter location (cursor position). In this mode note that global variables used in the scope of the function can be displayed as well as local variables.

Provides Auto-Completion

Save time entering programs, and ensure correctness using the MPLAB®X editor’s auto-completion features.

Provides Source Code Control built in

There are three flavors of configuration management source control already built into the new IDE. In addition others are provided through the NetBeans community.

Provides a Navigation Window which allows fast easy access to code

Save time navigating to particular locations in large code bases using the Navigation window. Use the context menu to filter out undesired types.

Supports a fully customizable workspace, and Multiple Screen support

You can customize the actions in the toolbars, minimize the windows to have them on side bars which will pop out. Undock any editor tab by dragging and dropping it outside the IDE. This will turn into an independent window that will allow moving onto a second screen.

Extend the IDE functionality with the MPLAB IDE Plug-in manager

 

You can use the plug-in manager from the tools menu to add, remove or update sets of features for embedded programming, including a wide variety of NetBeans plug-ins (Change Case, Rectangular Edit Tools, Adobe reader, Clear Case Revision Control, plus many more. plugins.netbeans.org/PluginPortal). In addition Microchip hosts a plug-in portal for Microchip specifically developed plug-ins.

Title Download
HWToolDebugFeatures_v5.45.pdf Download
HWToolDebugFeatures_v5.45.zip Download
SimDebugFeatures_v5.45.pdf Download
SimDebugFeatures_v5.45.zip Download
SimPeripheralSupport_v5.45.pdf Download
SimPeripheralSupport_v5.45.zip Download

Migrating SAM Studio Projects into MPLAB® X IDE

This webinar shows you how to migrate an Atmel Studio using a SAM device and Atmel Debugger interface (EDBG) into the MPLAB® X IDE, where development of the project can continue on a number of different host platforms.

For more information, visit: https://www.microchip.com/design-centers/32-bit