USB driver for STM32

Uploading code to a Black pill STM32F401 does not work.
I bought the board from az-delivery and configured it like described in their documentation:

I started with the blink sketch (Arduino IDE 2.3.3).
After connecting the board to my PC (Win10, 64bit) the Tools menue offers COM15 which I selected.
I followed the proposed procedure for uploading:

Use the onboard BOOT0 and NRST button to put the board into bootloader > mode:
● press and hold the BOOT0 button
● press and release NRST (reset) button to power cycle the processor
● release BOOT0 button

But uploading ends with the message

Error: Target device not found.
Establishing connection with the device failed.

Does the STM32 need a special USB driver, or what is wrong with my upload procedure?

Buy a $2 St-Link programmer, it makes the uploading much easy.

https://aliexpress.com/item/32887597480.html

I guess programming with ST-Link works without bootloader and then there is no Serial Monitor available for debugging?
Can ST-Link also be used for debugging?

Serial monitor has nothing to do with bootloader, you still able to use Serial if you upload the code via St- link

Hi @SupArdu.

I have successfully used one of these ST-LINK/V2 as a debug probe with the GIGA R1 WiFi and Nano 33 BLE boards. I haven't tried it with any other STM32 boards, but I think there is a good chance it will work because I know the "STM32 MCU based boards" platform (AKA "STM32duino") does have support for use with the Arduino IDE 2.x integrated sketch debugger.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.