1 Creating the First Application on the PIC32CM JH01 MCU
The following software and hardware tools are used for this demonstration:
- MPLAB X IDE v6.20
- MPLAB Code Configurator Plug-in v5.5.0
- MPLAB XC32 Compiler v4.35
- MPLAB Harmony v3 repository: csp v3.18.2
- PIC32CM JH01 Curiosity Pro Evaluation Kit
Note: The latest versions of these tools can also be used to develop
the application.
To create an MPLAB Harmony v3-based project, follow these steps:
- On the Start menu, launch MPLAB X IDE.
- On the File menu, click New Project or click the New Project icon.
- In the New Project window, in the
left Navigation bar, under Steps click Choose Project.
Figure 1-1. Choose Project - In the Choose Project property page:
- Categories: Selelct Micorchip Embedded.
- Project: Select Application Project(s).
- Click Next.
- In the left Navigation bar, under
Steps click Select Device.
Figure 1-2. Selecting the Device - In the Select Device property page, in the Device box, type or select the device PIC32CM5164JH01100.
- Click Next.
- In the left Navigation bar, under Steps click Select Compiler.
- In the Select Compiler property page,
expand XC32 list of options, and then select XC32 (v4.35).
Figure 1-3. Compiler Selection - Click Next.
- In the left Navigation bar, click Select Project Name and Folder.
- In the Select Project Name and Folder
property page:
- Project Name: Enter
getting_started_pic32cm_jh01_cpro
. - Project Location: Click the Browse button and choose C:\microchip\h3\Tech_Brief.
Figure 1-4. Project Creation - Project Name: Enter
- Click Finish.
- Before launching the MCC, the Configuration Database Setup window will be displayed, where the Device Family Pack (DFP) and Cortex® Microcontroller Software Interface Standard (CMSIS) path can be changed if required. For this demonstration, the default settings are used.
- The MCC plug-in will open in a new
window as shown in the following figure.
Figure 1-5. MPLAB Code Configurator Window