2.1.10 Build and Program

The demo project will be compiled and programmed to both PIC32CXMTG-EK boards.

  1. Build the application

    1. Open the project Properties by Right Clicking on the project name (pic32cxmtg)

    2. Make sure that XC32 compiler toolchain is selected. Press OK
      Figure . Select Compiler
      Select_Compiler
  2. Build the application by clicking on the Build Main Project or Clean and Build Main Project menu command
    Figure . Build Project
    Build_Project
  3. Verify the build is SUCCESSFUL in Output window
    Figure . Successful Build
    Successful_Build
  4. Program the application

    1. Connect a micro-USB cable from computer to the USB port on the PIC32CXMTG-EK board

    2. Click on Make and Program Device Main Project menu command
      Figure . Make And Program Device
      Make_And_Program_Device
  5. If not already done, select the programming tool for the connected board
    Figure . Select Programming Tool
    Select_Programming_Tool
  6. Repeat steps 4 and 5 for the second PIC32CXMTG-EK board