Course M304 - A Comprehensive Introduction to Embedded TCP/IP and Ethernet Programming Using PIC32 Microcontrollers
Duration: 5 Days
Intended Audience
This course is for engineers who have a good knowledge of C programming and also a sound appreciation of TCP/IP networking. It is aimed specifically at developers who will be implementing socket based, embedded web server based and embedded SNMP based applications on embedded targets
Synopsis
'C' programming of TCP/IP applications requires a good understanding of the TCP/IP protocol and how to use the API functions supplied with Protocol Stack implementation. Where the Protocol Stack has been optimized for use in embedded systems configuration and building of the protocol stack to include just those features that need to be included in a given application need also to be taken into account. This course will lead to
Course Outline
- Overview of MPLAB Harmony in connection with ethernet and TCP/IP Project Setup
- Overview of TCP/IP
- IP addressing and subnet masking - and how they are represented in the Protocol Stack
- IP, TCP and UDP headers and their underlying data structures
- The TCP and UDP protocols
- TCP/IP - client-server implementation strategies
- Principles of sockets API based programming
- Implementing higher layer protocols in TCP/IP
- Case studies exploring uses of:
- DHCP
- TFTP
- FTP
- HTTP
- Using and configuring the Microchip TCP/IP Protocol stack on standalone (without an OS) systems using MPLAB Harmony
- MAC and PHY functions and components
- Understansing how the interface with the underlying hardware works
- Integrating the Microchip TCP/IP stack into a FreeRTOS based application
- Implementing simple data acquisition and control applications on top of UDP
- Designing GUI-based control applications running on Windows or Linux workstations to control TCP/IP enabled embedded systems (the GUIs will be Qt based for portability). This part of the course can be tailored to use Microsoft Forms or Microsoft WPF and XAML if required.