STM32 Bootloader: Upgrade Firmware from Web Browser via USB

Published 4/2025
Created by Georgy Moshkin
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Level: Intermediate | Genre: eLearning | Language: English | Duration: 28 Lectures ( 2h 16m ) | Size: 1.54 GB

Build a minimalistic secure bootloader with AES encryption, CRC-32 checksums & web-based flasher using Web Serial API

What you’ll learn
Develop an HTML-based firmware updater
Protect firmware update files from hacking
Build a custom communication protocol
Add CRC-32 checksums for data integrity
Perform erase, read and write operations
Configure and use USB CDC on STM32F103

Requirements
You need to have significant STM32 development experience using HAL with STM32CubeIDE on Windows
You need basic HTML/JavaScript experience or willingness to learn independently
Required Hardware: STM32 Blue Pill board with authentic STM32F103C8T6 microcontroller (no clones)
System Requirements: Windows 10/11 with Microsoft Edge browser

Description
Note: This course currently only supports the STM32F1 series (Blue Pill boards with STM32F103C8T6). This course focuses on USB-based firmware upgrades (wired connection) using Web Serial API – not internet/Wi-Fi updates.This course is for developers who want to watch code being written line-by-line. I explain concepts slowly and clearly, but the screen recordings are intentionally sped up 2x to save time. If you want to code along with every example (great for learning!), you’ll need to pause and rewind frequently.That’s it – no diagrams or deep dives into flash memory theory. We’ll modify STM32 and HTML code bit by bit and immediately test how it works. The screen is always split:• Left side: Web browser + IDE (live coding)• Right side: Slides (key concepts)Take this course if you’re into STM32 HAL and want to build a reliable, production-ready bootloader. While we focus on USB CDC and Web Serial API, the core concepts can easily adapt to UART-based bootloaders or EXE flasher utilities.To simplify things, I’ve prepared helper functions for Web Serial API and STM32 USB-CDC (see myserial.js and usb_serial.c).The course won’t explain the internals – experienced developers will quickly grasp how they work (the code is minimal)Beginners: Try using them as-is first, but ask me if you get stuck adapting them to your projects

资源下载此资源仅限VIP下载,请先
本站资源仅限VIP会员下载点击购买VIP会员

原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/53900.html

赞 (0)
steven的头像steven
上一篇 2025年4月15日
下一篇 2025年4月15日

相关推荐

发表回复

登录后才能评论
分享本页
返回顶部