- 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
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/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I am trying your steps:
I have taken all jumps off except JP1.
I have 5V coming in from a power supply (red and black cables).
I am connecting the 5V to PA9 (red jumper)
I am connecting BOOT0 to VDD (brown jumper). Verified VDD has 3.3 volts.
LD7 is on - USB LD7: green LED indicates when VBUS is present on CN5 and is connected to PA9
of the STM32F407VGT6.
Here is the bottom showing no jumpers.
Not sure what I am missing? Or could check?
Thanks for any suggestions.
Brent