- Take every jumper off except JP1. Take both jumpers off CN3. Take the jumpers JP2 and JP3 off from the bottom of the board.
- Put a jumper between
BOOT0
andVDD
. - Connect with a wire PA9 to 5V.
- Connect the device using the micro USB port, not the mini-USB port.
sudo dfu-util -d 0483:df11 -a 0 -s 0x08000000 -D build/Example_Project.bin
- Unplug the device.
- Disconnect the BOOT0 jumper.
- Plug the device in.
Last active
August 28, 2024 17:30
-
-
Save brandonros/cbefabcc9c99e6f1c868f65b2cfc9129 to your computer and use it in GitHub Desktop.
STM32F407G-DISC1/STM32F4DISCOVERY DFU mode
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I managed to load firmware with DFU to my Discovery board from STM32CubeProgrammer on my Linux machine after following commands:
sudo apt-get install libusb-1.0-0
cd /usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/Drivers/rules (I guess, path can be different)
sudo cp . /etc/udev/rules.d/