cancel
Showing results for 
Search instead for 
Did you mean: 

How to load a bootloader on stm32F405rg with FTDI programmer?

DCahi
Associate II

Perhaps using Arduino?

4 REPLIES 4
Uwe Bonnes
Principal II

Connect the FTDI UART to the bootloader UART. Eventuallly connect BOOT 0 to the FTDI to switch to UART bootloader mode. Use the STM tools or stm32flash. If the FTDI has MPSSE, you could do a variant of the Bl*ck M*gic debug probe with the libftdi platform https://github.com/blacksphere

DCahi
Associate II

Thanks Uwe, all looks too hard, I'm gonna get me a ST-Link V2 and use the ST-Link software. I was just trying to solve a problem on the spot, but now I'll just wait until the ST-Link V2 arrives. 🙂

The device can be programmed via USART1 PA9/PA10, reset the device with BOOT0 High, and it will enter the ROM based System Loader. Use STM32 Cube Programmer to connect to a COM port, from a FTDI USB-to-Serial adapter.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
DCahi
Associate II

Thanks Clive. I made up an adaptor for my FTDI to connect to my board, but it turns out I have a problem on my board preventing it going into DFU mode. I'm looking into that now.