|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/embedded-ethernet-programming-with-hal/
课程评论:没有评论
**课程名称:** 使用HAL库进行嵌入式以太网编程 **课程概述:** 本课程是“嵌入式以太网编程”系列学习路径中的进阶课程,旨在教授您如何编写以太网外设驱动以及针对HTTP、DHCP等不同网络协议的嵌入式以太网固件。课程目标是帮助您构建真实的嵌入式以太网应用。 **进阶之处:** * **自写驱动:** 本课程将使用STM32 HAL API亲手编写全部以太网驱动。 * **LwIP集成:** 我们将自行实现以太网接口文件,将以太网模块与LwIP库(一个专为嵌入式系统设计的TCP/IP协议栈实现)进行连接。 * **丰富示例:** 课程将提供更多嵌入式以太网应用的实例。 **课程内容结构:** 本课程主要分为四个部分: 1. **第一部分:** 介绍网络基础知识,并深入探讨STM32F7微控制器的以太网功能。 2. **第二部分:** 编写课程将使用的所有外设驱动,包括ADC、UART、RCC和GPIO。 3. **第三部分:** 编写配置以太网模块所需的所有驱动,如配置以太网GPIO引脚(RMII模式)、数据包发送和接收驱动等。在此部分,我们将决定以太网参数(速度、双工模式、是否自动协商等)。最后,我们将实现一个将以太网模块与LwIP库对接的函数。 4. **第四部分:** 介绍LwIP,并构建嵌入式以太网应用。具体应用包括: * 检查网线连接状态 * 通过DHCP获取IP地址 * 托管网页(HTTPD) * 通过SSI在网页上显示实时数据 * 处理多个SSI标签 * 通过CGI从Web服务器控制硬件 * 通过SSI和CGI向网页注入HTML代码 **目标听众:** 对嵌入式系统开发有一定基础,希望深入学习以太网通信和网络协议的开发者。
Welcome to Embedded Ethernet Programming with HAL Training.This course is the intermediate level course of a 3 course learning path teaching you how to write drivers for the ethernet peripheral as well as write embedded ethernet firmware for different networking protocols such as http, dhcp etc.The goal of this course is to teach you how to build real world embedded ethernet applications. What make this course different from the beginner course ? In this course we write all the ethernet drivers ourselves using the the STM32 HAL APIs. Unlike the beginner course, in this course we also implement the ethernet interface files linking our ethernet module to the LwIP library ourselves. The STM32 Hardware Abstraction Layer (HAL) provides a simple, generic multi-instance set of APIs (application programming interfaces) to interact with the upper layers like the user application, libraries and stacks.In this intermediate course we also implement more examples of embedded ethernet applications.So with that understood, let me tell you… Exactly What You're GettingThis intermediate course can be divided into 4 major sections. First SectionIn the first section we give a short introduction to networking and then explore the ethernet capabilities of the STM32F7 microcontroller. Second SectionIn this section we write drivers for all the peripherals we will be using in the course. We write drivers for the ADC, UART, RCC and GPIO. Third SectionIn the third section we write all the drivers required to fully configure the ethernet module. We will implement a driver for configuring the ethernet gpio pins to operate in RMII mode, we will implement a driver for transmitting packets, another one for receiving packets etc.It is in this section that we decide on the ethernet parameters such the speed, the duplex, whether to use auto-negotiation or not etc. After configuring the ethernet module we conclude this section by implementing a function that interfaces our ethernet module to the Light Weight IP (LwIP) library. LwIP is a small independent open-source implementation of the TCP/IP protocol stack designed for embedded systems. Last SectionThe final section begins by giving an introduction to Light Weight IP (LwIP) and then goes on to build embedded ethernet applications. Here are some the applications we shall build:Programming: Checking if the cable is connectedProgramming: Getting an IP address from DHCPProgramming: Hosting Webpages with httpdProgramming: Displaying Realtime Data on Webpages with SSIProgramming: Working with Multiple SSI TagsProgramming: Controlling Hardware from WebServers using CGIProgramming: Injecting HTML code into a Webpage using SSI and CGI