AnsweredAssumed Answered

Programing two different STM32F4 using the same usb conexion

Question asked by Gregorio Vidal on Jun 9, 2017
Latest reply on Jun 14, 2017 by Zhitai Liu

Hi all,


I designed a electronic board with two microcontrollers (STM32F401 and STM32F407), for my project.At the moment, I am using an external ST-link and the SWD to program them in the prototype. Every MCU has a SWD header to be programmed. My supervisor told me that they want to have a USB connector in the board, to program both microcontrollers and with not external hardware like ST-LINK or similar, so the debugger/programmer interface should be built-in the board for the final version of the board. I thought of two possible options:

Using the FT2232H ( Dual High Speed USB to Multipurpose UART) which has two different serial outputs a program every micro using the UART bootloader. But additional actions are required to do that as the BOOT pin should be connected to 3.3V and the MCU needs to be reset. Is it right?

The other option would be the same but using the serial port of the FT2232H as SWD. Would it be possible?


I don't know if these solution are right or if it will take long to develop them. And I you know better solutions please, let me know


Thank you