Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Serasidis committed Aug 30, 2019
2 parents 161fb7d + d69d0bb commit 2ab7927
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,13 @@ For your convenience, you can find [here](https://github.com/Serasidis/STM32_HID
1. Download the [latest HID Bootloader](https://github.com/Serasidis/STM32_HID_Bootloader/releases) release
2. Download the [texane stlink](https://github.com/texane/stlink/releases/tag/1.3.0) according to your operating system (Windows, MacOSX, Linux)
3. Extract the texane stlink to your hard disk. You will need the file ```st-flash``` (it is into the bin folder).
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.
4. Copy into that folder the HID Bootloader file (xxx.bin) according to your board. e.g. ```hid_generic_pc13.bin``` file is for **BluePill** board, ```hid_maple_mini.bin``` is for **Maple Mini** board etc. The on-board LED is connectet to the PC13 pin.
5. Connect ```BOOT-0``` and ```BOOT-1``` pins (or on-board jumpers) to GND ('0' on BluePill board)
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.
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).
8. ***STM Official Core will be supported soon***.
9. Select from Arduino IDE ```Tools > Board > [your_stm32_board]```
10. Select ```Tools > Upload method > HID Bootloader 2.1``` or newer
11. You are ready !
8. Select from Arduino IDE ```Tools > Board > [your_stm32_board]```
9. Select ```Tools > Upload method > HID Bootloader 2.1``` or newer
10. You are ready !

Normally, both ```BOOT-0``` and ```BOOT-1``` must be connected to '0'. If you connect ```BOOT-1``` pin to 3.3V (or '1' on BluePill boards), the board will stay in HID Bootloader mode.

Expand All @@ -47,14 +46,13 @@ Normally, both ```BOOT-0``` and ```BOOT-1``` must be connected to '0'. If you co
1. Download the [latest HID Bootloader](https://github.com/Serasidis/STM32_HID_Bootloader/releases) release
2. Download the [stm32flash](https://github.com/rogerclarkmelbourne/Arduino_STM32/tree/master/tools) from Roger's Clark Github repo.
3. Extract the stm32flash to your hard disk.
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.
4. Copy into that folder the HID Bootloader file (xxx.bin) according to your board. e.g. ```hid_generic_pc13.bin``` file is for **BluePill** board, ```hid_maple_mini.bin``` is for **Maple Mini** board etc The on-board LED is connectet to the PC13 pin.
5. Set ```BOOT-0``` pin to '1' (3.3V) and reset the board
6. Type on Windows CMD (or Linux terminal) ```stm32flash.exe -g 0x8000000 -b 115200 -w hid_generic_pc13.bin COM2 ``` or ```stm32flash -g 0x8000000 -b 115200 -w hid_generic_pc13.bin /dev/ttyS0``` for programming the HID Bootloader firmware to a **BluePill** board.
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).
8. ***STM Official Core will be supported soon***.
9. Select from Arduino IDE ```Tools > Board > [your_stm32_board]```
10. Select ```Tools > Upload method > HID Bootloader 2.1``` or newer
11. You are ready !
8. Select from Arduino IDE ```Tools > Board > [your_stm32_board]```
9. Select ```Tools > Upload method > HID Bootloader 2.1``` or newer
10. You are ready !

## CLI folder

Expand Down

0 comments on commit 2ab7927

Please sign in to comment.