You get the MCU in bootloader mode (with boot 0 and reset, or however you want)
Make sure you have connected your uart adapter to the correct pins (see AN2606 and your device's datasheet/reference manual, I don't remember which one)
Make sure you read AN2606 for setting uart parameters in the next step
Start stm32cubeprogrammer, select uart, fill the parameters, select the correct COM port
You get the MCU in bootloader mode (with boot 0 and reset, or however you want)
Make sure you have connected your uart adapter to the correct pins (see AN2606 and your device's datasheet/reference manual, I don't remember which one)
Make sure you read AN2606 for setting uart parameters in the next step
Start stm32cubeprogrammer, select uart, fill the parameters, select the correct COM port
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.