Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

stm32-hid-bootloader

> 编程语言
Open source

Driverless USB HID bootloader and flashing tool for STM32F10X devices

183 stars0 likes1 views
WebsiteGitHub

About

Driverless USB HID bootloader and flashing tool for STM32F10X devices

stm32-hid-bootloader

This is a driverless (no USB drivers needed, even on Windows) USB HID bootloader for STM32F10X devices.

It doesn't use ST libraries since they are bloated and buggy. Only CMSIS and some required system files and macros have been used from ST provided SDK.

This allowed for a very small bootloader - less than 4KB!

Firmware .bin files can be flashed with the provided CLI tool like:

hid-flash MYFIRMWARE.BIN

Please check the cli directory for the hid-flash tool source code.

Bootloader will activate (i.e., enter USB HID mode) if B2 (BOOT1) pin is driven HIGH when bootloader starts. Otherwise, it will simply jump to the user program address.

If you have a Blue Pill board, setting jumper BOOT1 to the 1 position (and leaving BOOT0 at the 0 position), the bootloader will kick in.

Sample user application is provided in the blinker directory. On a Blue Pill board, it will make the LED blink. Changes were made to the Makefile and the .ld script in order to tell the compiler/linker where user FLASH begins and the interrupt vector resides (0x8001000).

Latest version of the GCC ARM toolchain is recommended for building the bootloader.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言