cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 programming via USB

jrupesh90_
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

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.

View solution in original post

4 REPLIES 4
AScha.3
Chief II

And what happens, if using this usb1 ?

If you feel a post has answered your question, please click "Accept as Solution".
jrupesh90_
Associate II

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.

And BOOT0 is hi , at power up /reset ?

If you feel a post has answered your question, please click "Accept as Solution".
SofLit
ST Employee

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.