Step 5: Build, Program and Observe the Output

Last modified by Microchip on 2026/06/26 07:37

Hardware Setup

Connect the PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit to the host PC using a Type-A male to Micro-B USB cable. Plug the cable into the Micro-B USB (Debug USB) port on the evaluation kit.

PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit

 

Open Project Properties. Under the Connected Hardware Tool section, select the PIC32CM LS00 Curiosity Nano + Touch Evaluation Kit as shown below 

Connected Hardware Tool section

Then click Apply and Ok

In the Project Properties window, go to xc32-gcc > Option categories > Optimization.

Project Properties window

 Select 0 as optimization- level as shown and then click Apply and OK.

Project Properties window


Building the Project

To build the project click the options indicated in the accompanying image. 

Clean and Build Main Project

Observe that the project has compiled and loaded successfully, as indicated by the BUILD SUCCESSFUL message in the Output window.

BUILD SUCCESSFUL message in the Output window


Programming and Observing the Output

Click the Make and Program Device Main Project button to program the project onto the PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit. (Please select the tool that need to be used in project properties window – refer Lab 1.)

​​​​

Make and Program Device Main Project button

 

Once the programming is completed, the user LED will toggle every 500 ms.

PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit

Back to Top