Electronic – Can the firmware on STM32F4 be updated through USB without toggling Boot0

bootloadermicrocontrollerstm32f4

I've designed a device using a STM32F439 and would like to have a PC application where the user can update the firmware of the device.

My firmware developer has told me the we would need to give the user access to the Boot0 pin.

By default Boot0&1 are pulled low but can the MCU be reset into Bootloader mode through software without having to touch any jumpers etc?

Best Answer

You can jump from the firmware to the bootloader on the STM32F4. The STM32F4 has a built in bootloader at address 0x01ff000. Here is a tutorial on how to jump https://stm32f4-discovery.net/2017/04/tutorial-jump-system-memory-software-stm32/. Once in bootloader mode you can use DfuSe form ST(free) to flash the new firmware.