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,
STM32 Blackpill usb_bootlader upload issue
-
- Posts: 2
- Joined: Tue Sep 14, 2021 4:03 pm
Re: STM32 Blackpill usb_bootlader upload issue
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
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
-
- Posts: 2
- Joined: Tue Sep 14, 2021 4:03 pm
Re: STM32 Blackpill usb_bootlader upload issue
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 ?
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 ?
Re: STM32 Blackpill usb_bootlader upload issue
There is no COM port with DFU. It is identified as different device and COM port isn't needed.