Video thumbnail for STM32 Custom Bootloader (Part 7): Wireless OTA Update Using ESP8266 and External Flash Memory

STM32 Custom Bootloader (Part 7): Wireless OTA Update Using ESP8266 and External Flash Memory

Feb 7, 2026
ControllersTech Logo

ControllersTech

Build a *wireless STM32 OTA bootloader* using an ESP8266 WiFi module and W25Q external Flash memory to download and install firmware updates without a wired network connection. In this tutorial, we continue the STM32 OTA bootloader series and implement a *WiFi-based firmware update system*. The ESP8266 connects to a WiFi network, establishes a TCP connection to the OTA server, downloads the firmware in chunks, and transfers the data to the STM32 over UART. The firmware is stored in W25Q external Flash before the update begins. After the firmware download is complete, the application sets the OTA flag and resets the MCU. The bootloader reads the OTA image from external Flash, validates the firmware, programs it into the internal application region, and finally jumps to the updated application. This approach is especially useful for STM32 devices with limited internal Flash memory. #STM32 #STM32Bootloader #EmbeddedSystems #Bootloader šŸ“ *Download Project Files & Full Article:* https://controllerstech.com/stm32-wireless-ota-bootloader-esp8266-external-flash/ šŸ“ *STM32 Tutorials:* https://controllerstech.com/stm32-tutorials/ šŸ“ *ControllersTech Home:* https://controllerstech.com/ ### ā–¶ļøŽ Related Videos 1ļøāƒ£ *OTA Update from TCP Server:* https://youtu.be/1RzCtTO1kl8 2ļøāƒ£ *STM32 IoT with ESP8266 Playlist:* https://www.youtube.com/playlist?list=PLXv4V8GOVZB8
#Science