2023-04-10 10:27 PM
Hello All,
We are using STM32G041F8P6 in our project. This IC will be programmed through I2C/USART and we will be using System Memory for booting(internal flash).
As per the datasheet:
At startup, the boot pin and boot selector option bit are used to select one of the three boot
options:
• boot from User Flash memory
• boot from System memory
• boot from embedded SRAM
Can you please let me know where I can find the info about Boot0 pin and Boot bit setting to boot from internal flash memory?
Thank you
Solved! Go to Solution.
2023-04-11 01:58 AM - edited 2023-11-20 08:34 AM
Hello @sagar_bn ,
Yes indeed on STM32G0x1 devices there are three different boot mode which can be selected through the BOOT0 pin (PA14) and the boot configuration bits nBOOT1, BOOT_SEL and nBOOT0in the User option byte.
Here is the different configurations, you can find them in the Reference Manual (attached) "section 2.5 Boot configuration"
In summary, if you want to boot from the internal flash, you can :
Best Regards,
A.MVE
2023-04-11 01:58 AM - edited 2023-11-20 08:34 AM
Hello @sagar_bn ,
Yes indeed on STM32G0x1 devices there are three different boot mode which can be selected through the BOOT0 pin (PA14) and the boot configuration bits nBOOT1, BOOT_SEL and nBOOT0in the User option byte.
Here is the different configurations, you can find them in the Reference Manual (attached) "section 2.5 Boot configuration"
In summary, if you want to boot from the internal flash, you can :
Best Regards,
A.MVE
2023-04-13 12:44 AM
Hi @sagar_bn ,
Do you need any additional support on this topic?
Please let me know ;)
BR
A.MVE
2023-04-13 12:46 AM
HI @Aime
Thank you for the support.