This software refers to the following source code STM32_HID_bootloader https://github.com/Serasidis/STM32_HID_Bootloader.git
ROM Addr |
---|
0x8000000 Bootloader |
16KB |
0x8004000 APP |
..... |
END |
Both STM32F401CC and STM32F411CE core boards can be used If the HID device appears when the core board is connected to the computer via USB, the bootloader has been programmed and can be downloaded directly without serial port, STLink, or J-link.
Core board There is no HID device when USB is connected to the computer, there is no bootloader,.Please flash the bootloader to 0x8000000
The APP program can be debugged by the debugger without any impact.
- Hold down the , power on or reset again, and the C13 LED will blink to release
- APP enters the bootloader reference stm32f401_test_APP 0x8004000.zip project
- Click to turn on or off the C13 LED
- The SW debug port is open and can be programmed by the debugger without entering DFU mode
- Long press the , the C13 LED flashes and you can release it,MCU will enter Embedded bootloader
- Reset MCU, reset key / upper computer click
- Long press the , the C13 LED flashes and you can release it
- Fix Bugs,
- Long press the , MCU will enter Embedded bootloader,ISP Mode
- Remove double-click function
- Reduce the size of bootloader firmware
Note: Bootloader and APP programming software are not open source