Knowledge base

STM32 Blue Pill HID Bootloader

  1. sudo apt-get install stlink-tools stlink-gui (upstream: https://github.com/stlink-org/stlink https://github.com/stlink-org/stlink/blob/develop/doc/tutorial.md)
  2. Install STM32 HID bootloader https://github.com/Serasidis/STM32_HID_Bootloader . Doing it via STLink v2 dongle is the easiest way. All jumpers stay in 0 position all the time
  3. For initial blinky, install Arduino IDE from https://www.arduino.cc/en/software . Ubuntu packages are really outdated.
  4. https://github.com/stm32duino/wiki/wiki/Getting-Started
  5. After HID bootloader installed: https://youtu.be/Myon8H111PQ?t=376