Skip to main content
Associate
July 24, 2024
Solved

STM32 programming via USB

  • July 24, 2024
  • 3 replies
  • 1514 views

I am programming USB DFU in stm32f407g disc1 but i am not able to connect it in stm32cubeprogrammer as it is showing usb port as usb1. Can anyone tell me is it anything missing?

Best answer by mƎALLEm

Hello,

How did you proceed? Did you pull the BOOT0 pin to VDD then reset the MCU before to connect?

SofLit_0-1721808402492.png

By default SB18 is soldered pulling down Boot pin to the ground which don't allow you to enter the system bootloader.

You need to unsolder SB18 and and handle BOOT0 externally from the board's pin VDD (system bootloader) and GND (User application).

3 replies

AScha.3
Super User
July 24, 2024

And what happens, if using this usb1 ?

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate
July 24, 2024

if I connects usb1 and click on read , it is not connected and data also not reading. It is showing not connected at top right.

AScha.3
Super User
July 24, 2024

And BOOT0 is hi , at power up /reset ?

"If you feel a post has answered your question, please click ""Accept as Solution""."
mƎALLEm
mƎALLEmBest answer
Technical Moderator
July 24, 2024

Hello,

How did you proceed? Did you pull the BOOT0 pin to VDD then reset the MCU before to connect?

SofLit_0-1721808402492.png

By default SB18 is soldered pulling down Boot pin to the ground which don't allow you to enter the system bootloader.

You need to unsolder SB18 and and handle BOOT0 externally from the board's pin VDD (system bootloader) and GND (User application).

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."