cancel
Showing results for 
Search instead for 
Did you mean: 

Using pre-programmed bootloader on STM32G0B0RE

Tiboww
Visitor

hello

I am developping on a STM32G0B0RE, I've learned after finishing my board and everything that boot pin can be used by default.

It is not a problem since I have ST-Link for production but I would like to be able to do firmware update through bootloader.

 

The issue is, since nBOOT_SEL is set to '1' by default I need to change it to 0 so I go in bootloader if my pin PA14-BOOT0 is tied up at startup. I find how to change it in STM32CubeProgrammer but I would like to do it in my firmware so the flashing process is not too complicated in factory.

 

I've tried this but it does not have any effect : 

Tiboww_0-1729088556950.png

Best Regards

Thibaud HABRAND

1 REPLY 1
SofLit
ST Employee

Hello @Tiboww and welcome to the community,

Using user option byte:

SofLit_0-1729094824462.png

Refer to the RM0444 / 2.5 Boot configuration

 

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.