Open XavierBerger opened 4 years ago
Let me answer to my second question: How to flash Weact HID Bootloader (using DFU)?
On Linux, download WeAct_HID_Bootloader_F4x1.hex from this repoitory and execute the following command:
objcopy -Iihex -j .sec1 -Obinary WeAct_HID_Bootloader_F4x1.hex WeAct_HID_Bootloader_F4x1.bin
dfu-suffix -a WeAct_HID_Bootloader_F4x1.bin
dfu-util -a 0 -s 0x08000000 -D WeAct_HID_Bootloader_F4x1.bin
A documentation explaining how to upload a simple blink program could be a great value for this board. Such example is very valuable for people starting using such a new board. I looked for such example but I didn't find it. After few tries, I manage to see the LED blinking, but I think I finally accidentally erase the bootloader.
A additional valuable documentation could be how to install WeACT_HID_Bootloader using USBtoSerial adapter.
To help you in doc writing, here is what I did. You may find some mistakes to be documented:
Running on Linux (Ubuntu Fosa) I plugged the F401 and saw WeAct_HID_bootloader with LED fading up and down. I press tke KEY and led turned OFF. I saw STM32_HID_bootloader. I did configure platformio to use
dfu
to upload the blink (framework adruino) example. The DFU gave ma an error (see bellow). After reboot, the LED is blinking but I cannot see anymore the boot loaders...