This MPLAB® Harmony TCP/IP Stack class was taught at Microchip's Masters Conference in 2016. Some of the slides may not be easily understood because they are intended to be presented by an instructor. That said, you should still be able to learn a lot from it.
Welcome to the MPLAB® Harmony TCP/IP Stack! If you plan to use a PIC32 in an embedded TCP/IP application, you will need to know how to use the MPLAB Harmony TCP/IP stack. You will learn the parts of the stack fundamental to all TCP/IP applications, how to configure the stack, and how to interface your application to the stack. This class will show you the supported protocols, example demo code, and support utilities provided by the stack. We will describe the architecture of the stack and how it works and show some common stack APIs used to interface your application with the stack (socket programming). You will get hands on experience with configuring the stack using the MPLAB Harmony Configuration (MHC) Tool, and creating
a TCP/IP application using a "bare metal" implementation.
Note: This class is not relevant for Microchip’s stand-alone RN Wi-Fi® modules.
For the hands-on exercises, you will use the PIC32MZ EF Starter Kit. The lab manual provides step-by-step instructions for the following:
- Lab 1: Configuring a new MPLAB Harmony TCP/IP Project from Scratch.
- Lab 2: Developing a Network Application using the MPLAB Harmony TCP/IP Stack
TCP/IP Stack Library Training Slides, Lab Manual, Source Files and Solutions
|Tool|| About|| Purchase|
This project has been verified to work with the following versions of software tools:
MPLAB® X IDE v3.30, MPLAB® XC32 Compiler v1.40, MPLAB® Harmony v1.08
Because we regularly update our tools, occasionally you may discover an issue while using newer versions. If you suspect that to be the case, we recommend that you double check using the same versions that the project was tested with.
Archived versions of our tools can be found on the following Microchip websites:
MPLAB Harmony (see "Archived Downloads" tab)
MPLAB X IDE and XC32 Compiler (see "Downloads Archive" tab)
Note that multiple versions of all these tools can co-exist on the same computer.
|Tool|| About|| Purchase|
Note there are two different PIC32MZ EC Starter Kits. Demonstration application projects that come with Harmony will use one or the other starter kit. You may need to change the device number associated with the demo project to make it work for the starter kit you have.
- PIC32MZ Embedded Connectivity with FPU (EF) Starter Kit uses PIC32MZ2048EFH144
- PIC32MZ Embedded Connectivity with FPU (EF) Starter Kit with Crypto Engine uses PIC32MZ2048EFM144
Development Software Required for Labs
| Windows|| Linux|| Mac OSX|
Integrated Development Environment
MPLAB® Harmony 1.xx
Integrated Software Framework