2020-09-25 09:06 AM
New to STM32Cube and STM and my hardware seems to be trying to boot from the UART. I did not try to set this up but it seems to be happening. I simply want to boot to FLASH. Is there a way to define boot mode in STM32Cube I am missing?
2020-09-25 10:37 AM
By default, if BOOT0 is low, the device will boot to flash. Perhaps yours is floating or high.
There are also option bytes which will override the inputs on BOOT0/BOOT1.
2020-09-28 05:43 AM
Boot0 is tied low. What setting can cause the system to boot to UART instead of flash?
2020-09-28 05:51 AM
There is no "Boot to UART" mode. It can boot to the system bootloader, which can use the UART peripheral. Not sure if that's what you mean.
Look up "Boot configuration" in the reference manual. Specifically the nBOOT_SEL bit and similar.
2020-09-28 06:14 AM
The "boot configuration" should be only to flash if boot tied to 0. Hence my confusion.