You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,14 @@ This allowed for a very small bootloader ~~4 KB~~ **2 KB** on STM32F10x devices.
21
21
This repo is based on **bootsector's**[stm32-hid-bootloader](https://github.com/bootsector/stm32-hid-bootloader) repository but is customized to follows the [STM32duino](https://github.com/rogerclarkmelbourne/Arduino_STM32) ecosystem requirements. The source files (Bootloader and CLI) can be compiled on ***Windows***, ***Linux*** or ***Mac***
22
22
23
23
## Installing the HID bootloader to STM32 devices
24
-
###(ST-Link version)
24
+
25
+
### (ST-Link version)
25
26
26
27
1. Download the HID binaries. [STM32F103 binaries](https://github.com/Serasidis/STM32_HID_Bootloader/tree/master/bootloader_F1/bootloader_only_binaries) , [STM32F4xx binaries](https://github.com/Serasidis/STM32_HID_Bootloader/tree/master/bootloader_F4/bootloader_only_binaries)
27
28
2. Download the [texane stlink](https://github.com/texane/stlink/releases/tag/1.3.0) according to your operating system (Windows, MacOSX, Linux)
28
29
3. Extract the texane stlink to your hard disk. You will need the file ```st-flash``` (it is into the bin folder).
29
30
4. Copy into that folder the HID Bootloader file (xxx.bin) according to your board. ``` hid_generic_pc13.bin``` The on-board LED is connectet to the PC13 pin.
30
-
5. Connect ```BOOT-0``` and ```BOOT-1``` pins or (on-board jumpers) to GND ('0' on BluePill board)
31
+
5. Connect ```BOOT-0``` and ```BOOT-1``` pins (or on-board jumpers) to GND ('0' on BluePill board)
31
32
6. Type on Windows CMD (or Linux terminal) ```st-flash.exe write hid_generic_pc13.bin 0x8000000``` for programming the HID Bootloader firmware to a **BluePill** board.
32
33
7. Apply the ```Arduino_STM32_patch``` from [here](https://github.com/Serasidis/STM32_HID_Bootloader) in case of using Roger's Core (select the zip file according to your Operating System).
0 commit comments