2024-09-13 01:25 AM
I cannot enter the bootloader with the BOOT0 pin in the STM32G0C1 while I can with the NUCLEO-G0B1RE.
I already checked the option bytes, and tried with nBOOT_SEL = 0 and nBOOT_SEL = 1.
In the Nucleo board, it seems this nBOOT_SEL has no effect at all, Nucleo always stays in bootloader if BOOT0 pin is HIGH after reset.
In the STM32G0C1, the only way to enter bootloader is when the flash if fully erased.
How can I force the bootloader at booting, using the external BOOT0 pin?
Also nBOOT_SEL seems to configured to 1 as factory default.
Solved! Go to Solution.
2024-09-13 04:53 AM - edited 2024-09-13 04:54 AM
The issue was caused by the debugger as stated in the Errata sheet document.
2024-09-13 01:41 AM
Hello @Stefano Ugolini
To activate bootloader on your MCU, you have to follow one of the 4 configurations mentioned on the Pattern 11 of the AN2606:
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-09-13 03:11 AM
Hi @STTwo-32 ,
thank you for the reply,
I am applying pattern 11, second raw, but the bootloader is not activated.
Other users reported a similar issue on the same family.
Could you please check internally if there is an issue with the activation of the bootloader for the STM32G0C1 family?
Could you please tell me what are the factory value for the option bytes?
Thank you
Stefano
2024-09-13 04:53 AM - edited 2024-09-13 04:54 AM
The issue was caused by the debugger as stated in the Errata sheet document.