Stm32blackpill

USB cable length
Plug the STM32 V2 Link utility directly into the laptop serial port, an extension cable has power losses.

https://github.com/WeActTC/MiniSTM32F4x1 purchase orignal and copies as well as STM32F7 series

update firmware
https://os.mbed.com/teams/ST/wiki/Nucleo-Firmware update st-link utility

linux install
https://arduino.stackexchange.com/questions/77426/stm32-st-link-not-working-on-linux sudo apt install libusb-dev libusb-1.0-0-dev -y sudo udevadm control --reload-rules && udevadm trigger mkdir -p ~/bin sudo ln -s ~/STM32CubeIDE/stbootloader/bin/STM32_Programmer_CLI  ~/bin/stm32prg execute the hex file created by Arduino with stm32prg -c port=SWD -w my_hex_file.hex 0x8000000 -v

get hexfile from arduino
https://www.instructables.com/HOW-TO-GET-HEX-FILE-FROM-ARDUINO-/

win10 and FTDI
https://electronics.stackexchange.com/questions/515810/ftdi-and-st-link-devices-together-to-stm32

stm32 install notes
https://www.youtube.com/watch?v=wGbiT6IxGP0 (https://youtu.be/Myon8H111PQ new versoin) use FTDI to flash bootloader for USB usage. discorder server https://discord.gg/wrMcmXA by Caleb Marting

https://stm32duinoforum.com/forum/wiki_subdomain/index_title_RobotDyn_Black_Pill.html boot0 is closest to usb port.

https://www.youtube.com/watch?v=JqrUAzjJ0tw&t=3s In this video I will explain hot to enable the SWO pin so that to use the ITM functions and SWV functions offered by the STM32Boards.

https://programmersought.com/article/33331860367/ each stm32 has boot0 and boot1

https://www.youtube.com/watch?v=saolJ_7E7hc STM32 link loader

https://www.youtube.com/watch?v=YZjnCOun1wU hung 2017

https://blog.hobbycomponents.com/?p=758

https://innovatorsguru.com/stm32-black-pill/

http://stefanfrings.de/stm32/stm32f3.html PINOUt and stefan translated In this tutorial I collect information on the application of STM32 microcontrollers, series F3. In other words, technical data, notes and programming examples based on the CMSIS that could help you get started. My code snippets should help with the first steps to get to know the microcontroller and to learn how to work with the reference manual. They are therefore intentionally kept minimalist, but are all the better commented on.

https://www.microsoft.com/en-us/download/details.aspx?id=52685 MISSING MFC140.DLL download the stm32 link utility for windows.

links
arduino code