4 Getting Started with Software Development

This section gives a detailed information on the steps to install IDE, compiler, tool chain, wireless stacks and application examples on the PC. Prior to each release, the wireless stack and application examples are thoroughly tested against a snapshot of tool versions and other software dependencies. This guide provides information on setting up the development environment with all the required dependency versions and provide detailed steps to fulfill all the dependencies.

If the user is already familiar with Microchip Tools, then the following table summarizes the dependencies.

Tools and Harmony Component Versions

Tool Chain

Tool Chain

Version

Location

MPLAB X IDE

6.25

MPALB X IDE 6.25

XC32 Compiler

4.60

Web

Microchip Code Configurator(MCC)

5.6.2

MPLAB X IDE > Tools >Plugins

Device Family Pack (DFP)

1.3.38

Microchip Packs Repository
Tool PacksLatest provided in MPLABXMPLABX IDE > Tools > Packs > Tool Packs
CMSIS Packs

6.2.0

Project Properties > Confg > Packs > CMSIS. For more details, refer to the Opening, Building and Programming an Existing Application Example

Harmony Components

Use Content Manager (CM) to download the following Harmony components.

It will download the Harmony components to C:\Users\XXX\.mcc\harmony\content.

Harmony Components

Version

csp

v3.22.7

core

v3.15.5

bsp

v3.22.0
FreeRTOS-KernelV11.1.0
CMSIS_55.9.0

wireless_ble

v1.5.0

wireless_pic32cxbz_wbz

v1.6.0

wireless_system_pic32cxbz_wbz

v1.8.0

wireless_thread

v1.3.0
openthreadmchp_harmony_wireless_thread_v1.3.0
wireless_15_4_macv1.2.0
wireless_15_4_phyv1.4.0
net v3.14.2
usbv3.16.0
gfxv3.16.2
Touchv3.19.0
For example, input “wireless_ble” in Content Manager and press Enter. Then choose the version specified in the above table. Finally, press “Apply” to download it. Please download all the required components specified in the above table.
The downloaded components will be under .mcc/harmony/content/. For example, the wireless_ble v1.5.0 will be in the following directory.

Application Example

Use Microchip Discover to download the following example code.

The application code can be downloaded to any folder and no requirement to be reside in C:\Users\XXX.mcc\harmony\content. Therefore, users can decide on their own folder and download the code. There are different categories of application code. This user guide only describes wireless_apps_pic32_bz6. Users can find the user guide of other application code when they click the link provided in the table.
Table 4-1. Application Example
NameVersionApplications

wireless_apps_pic32_bz6

v1.1.0Wireless with below applications
core_apps_pic32cxbz6_wmbz6(1)v3.0.1Peripheral driver
csp_apps_pic32cxbz6_wmbz6(1)v3.0.1System middleware
net_apps_pic32_bz6(1)v1.0.0TCPIP
usb_apps_device(1)v3.10.0 USB device
usb_apps_host(1)v3.10.0USB host
Note:
  1. To migrate into latest environment, refer Upgrading MPLABX Projects to MCC v5.6.2 and Harmony Components.

Insert the above “Name” in the search field to find the example in Microchip Discover.

For more details, refer Download Application Example from Discover in Running a Precompiled Application Example from Related Links. For usb_apps_host and usb_apps_device, ensure to include “pic32wm_bz6204” in the search field.

Another way is to download the application code directly from Microchip-MPLAB-Harmony Github. Insert the above “Name” in the repository field and download the example code.
Choose the version and the download method. As mentioned before, the application code can be downloaded to any folder.