Bootloader behavior
Hi,
I need some help to understand the behavior of the bootloader.
Currently I use STM32F746 but I will move to STM32F778AI next week.
I have several needs from bootloader:
- Load bootloader if there is no user application.
- Load user application on start ( if exist ).
- Jump from user application to bootloader.
- Jump from bootloader to user application.
I started working on it and 3 out of 4 issues working great...
When BOOT0 pin is 0 ( 0V ) user application load on start and I can jump to bootloader and back.
But I can't do #1 - this only works when BOOT0 is 1 ( 3.3V ).
Explanation:
I connect to bootloader and mass erase flash .
Reset STM32F746 .
Can't enter to bootloader when BOOT0 is 0 but automatically enter to bootloader when BOOT0 is 1.
Any ideas ?
Thanks!!
David