MPLAB® Harmony v3 Configurator (MHC) Overview
This page shows you how to download the MPLAB® Harmony framework and launch the MPLAB Harmony v3 Configurator. It also provides a brief overview of the MPLAB Harmony Configurator (MHC) user interface.
MPLAB Harmony Configurator is a graphical user interface for the MPLAB Harmony framework. It dramatically simplifies 32-bit (SAM and PIC32) core and peripheral configuration. It also allows you to enable and configure any of the specific Harmony framework libraries (e.g., device drivers, system services, USB, TCP/IP, graphics, etc.) you may need for your project.
Download MPLAB Harmony Framework
The first step is downloading the MPLAB Harmony Content Manager (MHCM) tool. This tool includes a downloader that reads the MPLAB Harmony GitHub repository to create a list of available packages. You choose which packages you want to download from this list. The MHCM is a standalone Java application in the “contentmanager” MPLAB Harmony package.
If you haven't yet downloaded the "contentmanager" Harmony package, download it by manually cloning it from GitHub. To manually clone a repository, follow the instructions available on the "Cloning a repository" page.
Extract the compressed jre to any location in your system and set the "PATH" variable to "/bin"
File/Folder | Description |
*.jar | Java libraries. |
harmony-content-manager.jar | Main Java executable (run: java -jar harmony-content-manager.jar) |
runme.bat | Windows shell script to run standalone MHCM GUI. |
runme.sh | non-Windows shell script to run standalone MHCM GUI |
Wait while the content manager tool queries the repository and generates a list of all available packages. If this is your first time using this tool, or if you've selected a new folder to download the framework into, the Content Manager window will look like the accompanying image.
Note the Local Packages list is empty (you haven't downloaded any yet), and the Remote Packages list shows all packages found on the MPLAB Harmony GitHub site. Also, note that the packages are selected for download by default as these are required for all Harmony projects. Add the "mhc" package.
Package Name | Description |
mhc | Contains the implementation of the MHC tool. |
dev_packs | Describes all peripherals, memory, etc… of each supported 32-bit device. |
csp | Chip support package: includes the Peripheral Libraries (PLIB). |
Check the boxes beside all packages you want to download, then click Download Selected (top left corner). You may want to check the Select All box (top left corner) so you can access all the demonstration applications included in the Harmony framework. After accepting the license agreements, the download will start.
Launch MPLAB Harmony Configurator
The MPLAB Harmony Configurator functionality is now integrated into the MPLAB Code Configurator (MCC). It is suggested to use MCC for new and improved features. However, for existing users who want to use MHC, MHC is available as a standalone Java application.
If you haven't yet downloaded the "mhc" Harmony package, download it using the MPLAB Harmony Content Manager tool by following the instructions mentioned in the "Download MPLAB Harmony Framework" section above.
MPLAB Harmony Configurator Overview
MHC window name | Description |
Active Components | Displays activated/instantiated components. |
Available Components | Components shown are based on the framework libraries you included in your project. The list of available peripherals is based on the target device you selected for the project. |
Project Graph | Shows the instantiated components. You can instantiate available components by double-clicking on the component. After successful component instantiation, you can see the instantiated components under the Active Components panel. |
MHC Plugins | Consists of AFEC, DMA, MPU, NVIC, Clock and Pin configuration plugins. To open any of these plugins, go to MHC > Tools and select above mentioned available plugins. |
Configuration Options | Displays the tree view of the selected component under the Project Graph area. You can do the component configuration from here. |
Console | Displays the MHC operation results. |
The MPLAB® Harmony 3 Configurator user's guide provides details on:
- The GUI
- How to use MHC to generate code
- How to merge this code with your project
- How to use these MHC tools:
- Clock Configuration
- DMA Configuration
- Nested Vectored Interrupts Configuration
- Pin Configuration
- Event System Configuration
- MPU Configuration