MPLAB® Harmony TCP/IP Stack Training

Description

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.

Class Abstract:

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


 Materials

Hardware Tools

Tool About Purchase
PIC32MZ-EF-50px.png
PIC32MZ Embedded Connectivity with FPU
Starter Kit

Software Tools

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.

 Materials

Hardware Tools

Tool About Purchase
PIC32MZ-EF-50px.png
PIC32MZ Embedded Connectivity with FPU
Starter Kit

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

Tool About Installers
Installation
Instructions
Windows Linux Mac OSX
MPLAB® X
Integrated Development Environment
MPLAB® XC32
C/C++ Compiler
MPLAB® Harmony
Integrated Software Framework
© 2016 Microchip Technology, Inc.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.