cancel
Showing results for 
Search instead for 
Did you mean: 

Bootloader activation STM32G0C1

Stefano Ugolini
Associate II

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. 

 

2 REPLIES 2
STTwo-32
ST Employee

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:

 

STTwo32_0-1726216840518.png

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.

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.

https://community.st.com/t5/stm32-mcus-embedded-software/stm32g070-entering-system-bootloader-mode-with-the-boot-pin/td-p/78972

 

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