Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Ethernet Web Server | STM32 Tutorial #92

463 views on YouTube

This video continues our last video and add a HTTP server, serving files from a Micro-SD card

Buy Streamline here: https://currentmakers.com/products/streamline/

First video: https://www.youtube.com/watch?v=XIFEgap8k3Y
SDIO and FatFS video: https://www.youtube.com/watch?v=S78q6SuwnrM
Streamline Storage: https://www.youtube.com/watch?v=SudYqHV1OrM

STM32World wiki: https://stm32world.com/wiki

#STM32 #GettingStarted #Tutorial #HAL #Ethernet #LWIP #SDIO #FatFS #STM32World #CurrentMakers #Streamline

00:00 Intro
00:45 Welcome
01:21 Providing file storage – adding a Micro-SD Streamline blade
02:26 Adding necessary files to the SD-Card
03:42 Complete setup, debugger, mcu, ethernet and sd
03:56 STM32CubeMX project setup
04:18 SDIO setup and DMA for SD Card
05:07 FATFS setup
06:00 LWIP enabling HTTPD
07:20 The code in STM32CubeIDE
09:00 SDIO and FatFS setup
11:33 Updating files in the super loop
12:33 Wrapper for LWIP HTTPD to read files from FatFS
13:49 Running the project – IP provided – Web Server is working
15:06 Trying in a browser – also working
16:42 Final thoughts and outtro

Corrections:
05:48 I definitely got this wrong – SD_DETECT is pulled high and will go low when there’s an SD Card
17:15 I am wrong – we do not have a H563 board, only a H562 without Ethernet