PIC32CM JH01 Curiosity Pro

Overview

The PIC32CM JH01 Curiosity Pro evaluation kit is a hardware platform to evaluate the Microchip PIC32CM JH01 microcontroller, and the evaluation kit part number is EV81X90A. The evaluation kit offers a set of features that enables the PIC32CM JH01 users to get started with the PIC32CM JH01 peripherals, and to obtain an understanding of how to integrate the device in their own design.

Hardware

  • 100-pin TQFP PIC32CM5164 JH01 microcontroller

  • 32.768 kHz crystal oscillator

  • 32 MHz crystal oscillator

  • 512 KiB flash memory and 64 KiB of RAM

  • One yellow user LED

  • One green board power LED

  • One mechanical user push button

  • One reset button

  • One driven shield Touch button

  • Trust Anchor (TA100) Secure Element

  • Virtual COM port (CDC)

  • Programming and debugging of on-board PIC32CM JH01 through Serial Wire Debug (SWD)

  • Arduino uno connector

Supported Features

The pic32cm_jh01_cpro board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

pic32cm_jh01_cpro/pic32cm5164jh01100 target

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M0+ CPU1

arm,cortex-m0+

GPIO & Headers

on-chip

Microchip Port G1 GPIO3

microchip,port-g1-gpio

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv6-M NVIC (Nested Vectored Interrupt Controller) controller1

arm,v6m-nvic

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

MMU / MPU

on-chip

ARMv6-M Memory Protection Unit (MPU)1

arm,armv6m-mpu

MTD

on-chip

Flash node1

soc-nv-flash

on-board

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

Pin control

on-chip

Microchip PORT Pinctrl container node1

microchip,port-g1-pinctrl

SRAM

on-chip

Generic on-chip SRAM1

mmio-sram

Timer

on-chip

ARMv6-M System Tick1

arm,armv6m-systick

Connections and IOs

The PIC32CM JH01 Curiosity Pro User Guide has detailed information about board connections.

Programming & Debugging

The pic32cm_jh01_cpro board supports the runners and associated west commands listed below.

flash debug rtt debugserver attach
jlink
pyocd ✅ (default) ✅ (default)

Setting Up the Debug Interface

PyOCD Setup

  1. Install Device Pack

    • Add support for the PIC32CM family devices using the following command:

    pyocd pack install pic32cm
    
  2. Verify Device Support

    • Confirm that the target is recognized:

    pyocd list --targets
    
    • You should see an entry similar to:

    pic32cm5164jh01100        Microchip                PIC32CM5164JH01100           PIC32CM-JH   pack
    
  3. Connect the Board

    • Connect the DEBUG USB port on the board to your host machine.

    • This connection power up the board and provides access to the on-board Embedded Debugger (EDBG), which enables programming and debugging of the target microcontroller through PyOCD.

Building and Flashing the Application

  1. Build the Application

    You can build a sample Zephyr application, such as Blinky, using the west tool. Run the following commands from your Zephyr workspace:

    west build -b pic32cm_jh01_cpro -p -s samples/basic/blinky
    

    This will build the Blinky application for the pic32cm_jh01_cpro board.

  2. Flash the Device

    Once the build completes, flash the firmware using:

    west flash
    

    By default, this command uses the PyOCD runner to program the device.

    If both the J-Link probe (connected via the CORTEX DEBUG header) and the PyOCD supported debug interface (connected through the DEBUG USB port) are available, you can explicitly select the desired runner as shown below:

    west flash --runner jlink
    

    or

    west flash --runner pyocd
    

    This ensures the application is flashed using the respective connected interface.

  3. Observe the Result

    After flashing, LED0 on the board should start blinking, indicating that the application is running successfully.

References

PIC32CM JH01 Product Page:

https://www.microchip.com/en-us/product/PIC32CM5164JH01100

PIC32CM JH01 Curiosity Pro evaluation kit Page:

https://www.microchip.com/en-us/development-tool/ev81x90a