STM32 Blackpill usb_bootlader upload issue

STM32duino bootloader aka Maple bootloader
Post Reply
ardu_copter
Posts: 2
Joined: Tue Sep 14, 2021 4:03 pm

STM32 Blackpill usb_bootlader upload issue

Post by ardu_copter »

Hi !
I just upgraded to a new stm32f401 black_pill board. Previously i had stm32f103 blue_pill board to which i uploaded usb_bootlader using STM32cubeprogrammer over UART (using FTDI module).
I've been trying for a while but unlike my previous experience with blue_pill, uploading usb bootloader to black_pill is'nt that simple. Whenever i connect the black_pill over UART, it breaks connection saying: "STM32 read protection is enabled, disable RDP to continue"

I do not have any ST-LINK device (nor available at any approachable seller) to do it that way.
Is there any way to do it using FTDI or atleast disable the Read Protection on the board ?

Thanks,
ag123
Posts: 1653
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: STM32 Blackpill usb_bootlader upload issue

Post by ag123 »

for stm32F401 try using a usb cable and use DFU upload.

finger dance is:
- press both reset and boot 0
- release reset and hold boot 0
- release reset 1 sec later

and you can upload via usb-dfu
ardu_copter
Posts: 2
Joined: Tue Sep 14, 2021 4:03 pm

Re: STM32 Blackpill usb_bootlader upload issue

Post by ardu_copter »

Hi thank you, i was able to break the protection using Dfuse, all good, but the thing is, i can not get the Blackpill recognized by the COM port.
Arduino IDE never shows anything in the port when Blackpill is connected (in simple or in DFU mode).
I'm new to stm32s, can you please little guide me how to program it (Black-pill) over usb through Arduino IDE ?
GonzoG
Posts: 403
Joined: Wed Jan 15, 2020 11:30 am
Answers: 26
Location: Prudnik, Poland

Re: STM32 Blackpill usb_bootlader upload issue

Post by GonzoG »

There is no COM port with DFU. It is identified as different device and COM port isn't needed.
Post Reply

Return to “USB bootloader”