I advise you to use the "STM32CubeProgrammer". It's a tool for programming the STM32 MCUs, it provides also an easy-to-use environment for reading, writing and verifying device memory through both the debug (JTAG and SWD) and the bootloader (UART and USB) interfaces.
I advise you to use the "STM32CubeProgrammer". It's a tool for programming the STM32 MCUs, it provides also an easy-to-use environment for reading, writing and verifying device memory through both the debug (JTAG and SWD) and the bootloader (UART and USB) interfaces.