Load flash STM32 with internal bootloader with FTDI USB/Serial adapter using Python

Job ID: 32093465

Budget: $30 – $250 USD

NOTE: Windows 10 based software only.


The idea is that FTDI USB/Serial adapters have I/O output pins or DTR and RTS lines that can be programmed using an FTDI library in C or some other language.

I would like to connect two lines to RESET and BOOT0, then while BOOT0 is high, toggle RESET. The STM32 should now be in the bootloader. Now use the commandline version of STM32CubeProgrammer to download a flash program into the processor.

Ideally, I would like a simple GUI or command line that lists the available COM ports

Deliverables would be any source code and assistance in getting it compile and running on my Windows computer along with wiring diagrams for the hardware.

Hardware involved should be something like this:
https://www.amazon.com/HiLetgo-FT232RL-Converter-Adapter-Breakout/dp/B00IJXZQ7C
Any STM32 that is available to you.