1.4 Building and Programming the Application
- The PIC32CM JH01 Curiosity Pro Evaluation Kit supports debugging using an Embedded Debugger (EDBG). Connect the Type-A male to micro-B USB cable to the micro-B debug USB port on the PIC32CM JH01 Curiosity Pro Evaluation Kit to power and debug the PIC32CM JH01 Curiosity Pro Evaluation Kit.
- Ensure that the compiler optimization
is set to 1, to check that follow these steps:
- Right-click on the project
getting_started_pic32cm_jh01_cpro, a shortcut menu appears. Click
Properties.
Figure 1-16. Project Properties - In the Project Properties window, for Option categores select Optimization and for the Optimation level from the item list select 1.
- Click OK to close the
Project Properties window.
Figure 1-17. Optimization level Figure 1-18. Hardware Setup
- Right-click on the project
getting_started_pic32cm_jh01_cpro, a shortcut menu appears. Click
Properties.
- Set
getting_started_pic32cm_jh01_cpro
as the main project, and from Project Properties, select the latest compiler version (v4.35). Clean and build your project by clicking the highlighted icon.Figure 1-19. Clean and Build - Program the application by clicking
the highlighted icon.
Figure 1-20. Program the Device