2020-01-10 05:28 PM
Is it possible to use the DTR/RTS pins of a UART bridge (such as FT232RL) to automate entering the bootloader in system memory for flashing firmware using STM32CubeProgrammer? Has anybody achieved this?
Solved! Go to Solution.
2020-01-15 04:28 PM
As it turns out, I discovered DTR (if inverted) can be used for BOOT0, and RTS for NRST. This didn't work properly in the GUI version, but in the command line interface it did in fact work.
2020-01-15 04:28 PM
As it turns out, I discovered DTR (if inverted) can be used for BOOT0, and RTS for NRST. This didn't work properly in the GUI version, but in the command line interface it did in fact work.
2020-01-15 11:32 PM
Thanks for the information.
This really ought to go into the documentation ( @Imen DAHMEN can you please have a look at this); and also ought to work in the GUI.
JW
2020-01-16 02:30 AM
Hello,
I will raise this issue internally for check. We will come back to you soon with update.
Best Regards,
Imen
2020-03-29 11:44 AM
@Imen DAHMEN any answer yet how to do this and with what tool? So auto reset and auto bootloader with dtr and rts?
2020-03-29 12:57 PM
For example, the H750 board from this thread has USB to RS232 adapter wired to NRST and BOOT0.
The schema is posted in the thread.
-- pa
2020-03-30 01:38 AM
Dear
This is DTR and DTS, my FT234XD doesn't have those. Only RTS and DTR.
Does this method work without any special software?
Greetings
Thomas Van Aken
2020-04-03 11:54 AM
I was able to find a solution by writing a program which uses the FT232R GPIO to control NRST and BOOT0, calling STM32CubeProgrammerCLI. Pretty good software independent solution to me.
2021-11-26 06:46 AM
I know this is an old thread, but could somebody tell me if this works now in STM32CubeProgrammer? Or if the FT232R GPIO control program is available somewhere?
2021-11-26 08:46 AM
Hi,
Not sure if this works in STM32CubeProgrammer yet, but I was able to come up with a workaround, see here: https://github.com/jefflongo/stm32handsfree