STM32 ROM bootloader, initial state and when erased
Hi,
On the STM32 F4 products, there is a hardware/ROM bootloader, that can be activated through the BOOT0 pin. It works great, no issues with that.
In a production environment, I would like to flash the board automatically, without manually pressing buttons on a board.
My question is related to the "initial condition" of an STM32 F4 MCU. I was hoping the bootloader would be activated on boot, if there is no application to run. E.g if the flash memory is erased and all FF's.
I tried doing a full chip erase and reset, but it does not enable the USB DFU options.
Is the default behavior, from the factory, that the ROM bootloader is active? Without activating the BOOT0 pin.
Any recommendations on how to flash an STM32 MCU in a fairly low volume production environment? Preferably, using the USB connection and not the SWD connectivity.
