STM32G030, Does not enter bootloader when boot0 is 3.3V. What is boot selector option bit. Thank you
..
..
RM0454 contains the Flash Option Bytes in section 3.4.1 and lists an ST production value of 0xDFFF'E1AA for the User and read protection option bytes.
That means nBoot0 = nBoot1 = nBOOT_SEL = 1, which meets pattern 11, condidtion 3 in AN2606, if the Flash is empty:
nBoot0(bit) = 1, nBOOT0_SEL(bit) = 1, BOOT_LOCK(bit) = 0 and main Flash memory empty
(please note that BOOT_LOCK(bit) is only available in the STM32G0x1 and is read as 0 in STM32G0x0)
This also means that you have to reset nBOOT_SEL (bit) to 0 during programming via the bootloader, otherwise the device cannot be accessed later via Boot0 (pin) = 1 after programming.
Good luck!
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
/Peter
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.