How to Flash the miniSTM32F103V.
The simplest and most accessible way to flash an STM32 is with the bootloader; in this article we'll look at how to do it using the miniSTM32F103V board as an example.
First, let's figure out what a bootloader is. A bootloader is simply a program that is stored in a certain section of memory and can rewrite the microcontroller's flash. It is programmed during chip manufacturing and can't be changed in any way. To make the microcontroller enter this section of memory, the BOOT0 pin must be pulled up to the supply and the BOOT1 pin to ground. On the board these two pins are located next to the USB connector, and they are pulled up/down with jumpers.
Below is a table that determines which memory area the microcontroller will start from after a reset, depending on BOOT0 and BOOT1.

Suppose we've set the jumpers; now we need to send the bootloader the hex file with the firmware. We'll send it over uart, and for this we'll need a usb-uart converter.

My converter is based on the FT232RL chip, which is very easy to solder using a fine tip on a soldering station. The technique is as follows: first tack down one pin at each of two opposite corners; then, when the chip is fixed in place, solder the remaining pins with a soldering iron or hot air. And the final touch: resolder the pins you soldered first to relieve mechanical stress.
Connect the usb-uart adapter to the computer and, depending on which chip it's based on, CP2120 or FT232, install the corresponding drivers. After that it should be recognized by the system as a COM port.

Now let's connect our adapter to the board: connect the adapter's RX pin to the MCU_TxD pin, and the TX pin to the MCU_RxD pin. The layout of the board the seller sent differs slightly from the one in the picture above; the programming pins are brought out separately and marked with red arrows.

Next, download the program we'll use to communicate with the bootloader; it's called FLASH LOADER DEMONSTRATOR.

After installing the program, select the COM port our usb-uart adapter was assigned to and click NEXT; the baud rate is detected automatically. If the controller is read-protected, the protection can be removed by clicking the "Remove Protection" button, but the flash memory will be erased and all the data in it lost.

If the controller isn't protected, the window shown below will appear; click NEXT in it.

In the next window you need to choose what you want to do: read/write the microcontroller's flash, erase it, or disable read/write; we're interested in writing, so select the file you want to upload and click NEXT.

When writing is complete, if it was successful, the following window will appear.

The final step: set the jumpers to run the program from flash and press the RESET button; that's the end of flashing.
They're sold out where I bought mine, but the same board is sold here.
Schematic ministm32f103vxt6.pdf
First, let's figure out what a bootloader is. A bootloader is simply a program that is stored in a certain section of memory and can rewrite the microcontroller's flash. It is programmed during chip manufacturing and can't be changed in any way. To make the microcontroller enter this section of memory, the BOOT0 pin must be pulled up to the supply and the BOOT1 pin to ground. On the board these two pins are located next to the USB connector, and they are pulled up/down with jumpers.
Below is a table that determines which memory area the microcontroller will start from after a reset, depending on BOOT0 and BOOT1.

Suppose we've set the jumpers; now we need to send the bootloader the hex file with the firmware. We'll send it over uart, and for this we'll need a usb-uart converter.

My converter is based on the FT232RL chip, which is very easy to solder using a fine tip on a soldering station. The technique is as follows: first tack down one pin at each of two opposite corners; then, when the chip is fixed in place, solder the remaining pins with a soldering iron or hot air. And the final touch: resolder the pins you soldered first to relieve mechanical stress.
Connect the usb-uart adapter to the computer and, depending on which chip it's based on, CP2120 or FT232, install the corresponding drivers. After that it should be recognized by the system as a COM port.

Now let's connect our adapter to the board: connect the adapter's RX pin to the MCU_TxD pin, and the TX pin to the MCU_RxD pin. The layout of the board the seller sent differs slightly from the one in the picture above; the programming pins are brought out separately and marked with red arrows.

Next, download the program we'll use to communicate with the bootloader; it's called FLASH LOADER DEMONSTRATOR.

After installing the program, select the COM port our usb-uart adapter was assigned to and click NEXT; the baud rate is detected automatically. If the controller is read-protected, the protection can be removed by clicking the "Remove Protection" button, but the flash memory will be erased and all the data in it lost.

If the controller isn't protected, the window shown below will appear; click NEXT in it.

In the next window you need to choose what you want to do: read/write the microcontroller's flash, erase it, or disable read/write; we're interested in writing, so select the file you want to upload and click NEXT.

When writing is complete, if it was successful, the following window will appear.

The final step: set the jumpers to run the program from flash and press the RESET button; that's the end of flashing.
They're sold out where I bought mine, but the same board is sold here.
Schematic ministm32f103vxt6.pdf
