What does the STM32G474 do when powered on and it is erased?
I designed a product that uses the STM32G474 MCU and found that if the BOOT0 pin is left floating, the MCU randomly appears to be running wild code when power is first applied. In my design, this could cause serious damage to the hardware. Although, I can program the nSWBOOT0 options bit so that the external BOOT0 pin is ignored, the initial application of power will always observe this pin (i.e., this pin must be tied low to ensure that execution start from the main Flash memory).
When the STM32G474 is initially unprogrammed, if the external BOOT0 pin is tied low and execution starts from the main Flash memory, what will the MCU be doing (e.g., executing NOPs, continually jumping to address 0, etc.)?
