Update and Configure an Existing MHC-based MPLAB® Harmony v3 Project to MCC-based Project: Step 1
Contents
Step 1.1: Open MPLAB® Harmony v3 Project in MPLAB X IDE
Download the pre-developed project to your computer. The ZIP file contains the MHC project which will be updated and configured using the MPLAB® Code Configurator (MCC).
Launch MPLAB X IDE from the Windows® Start Menu. Close any projects and files that are currently open. Go to Files > Open Project.
You will get an Open Project pop-up window. Select the project pic32mz_ef_curiosity_v2.X from the project download path.
![open_existing_project.png](/xwiki/bin/download/software-tools/harmony/update-and-configure-existing-mhc-proj-to-mcc-proj/update-and-configure-existing-mhc-proj-to-mcc-proj1/WebHome/open_existing_project.png?rev=1.1)
![Set as main project window](/xwiki/bin/download/software-tools/harmony/update-and-configure-existing-mhc-proj-to-mcc-proj/update-and-configure-existing-mhc-proj-to-mcc-proj1/WebHome/set_as_main_project.png?width=402&height=652&rev=1.1)
Step 1.2: Migrate to MCC project
On MPLAB X IDE, go to Tools > Options. After opening the Options window, go to Plugins and set the proper Harmony Content Path.
![Tools options plugins window](/xwiki/bin/download/software-tools/harmony/update-and-configure-existing-mhc-proj-to-mcc-proj/update-and-configure-existing-mhc-proj-to-mcc-proj1/WebHome/harmony_content_path.png?width=415&height=358&rev=1.1)
Open MCC.
Click on the MCC icon in the IDE main toolbar, or go to Tools > MPLAB Code Configurator v4: Open/Close.
Import the MHC project to MCC by clicking the Yes button on the pop-up window.
MCC starts loading the existing MHC configuration database. Wait for this step to complete.
After successful loading, MCC opens the Project Graph, Resource Management, and Configuration Options windows.
Step 1.3: Verify the Clock Settings
![Open MCC clock configuration](/xwiki/bin/download/software-tools/harmony/update-and-configure-existing-mhc-proj-to-mcc-proj/update-and-configure-existing-mhc-proj-to-mcc-proj1/WebHome/open_clock_configuration.png?width=408&height=175&rev=1.1)
Click on the Clock Diagram tab, scroll to the right and verify that the SYSCLK is set to 200 MHz.
Tool Tip: Double-click on the Clock Diagram tab to maximize the window.