Skip to main content
AShel.1
Associate III
December 4, 2020
Question

Boot configuration for STM32G071

  • December 4, 2020
  • 5 replies
  • 3018 views

For STM32G071 controller, I see difference in information provided in Ref manual (RM0444 Rev4) and STM32 microcontroller system memory boot mode applicate note(AN2606 Rev44).

  1. In Ref manual on Pg 60 section 2.5 it is mentioned that for selecting boot from system memory we’ve 2 options.
  2. Option Byte from Ref Manual, pg no 73 section 3.4.1 says that all nBOOT0, nBOOT1, nBOOT_SEL bits are 1
  3. so any of the option to select system memory boot will not work unless I change the option byte value in user application or using tools like STCubeProgrammer or DFuseDemo
  4. In Application note(AN2606), on pg no 206 section 40.1 it is mentioned to refer pattern 11 from table 2 for STM32G07 controllers.
  5. Pattern 11 from table 2 pg no 24 section 4.1, 2nd option does not check nBOOT0 bit in option byte. So this option does not require any change in option byte as rest fields nBoot1 and nBOOT0_SEL bits are already set to 1 as in default value.

My questions:

  1. Is there error in documentation wherein this difference is just an error?
  2. If there is error in documentation, can I get correct document?
  3. If Application note(AN2606) is correct then can I enable boot from system memory? 

Thanks,

 0693W000006EagAQAS.jpg0693W000006Eag5QAC.jpg0693W000006Eag0QAC.jpg

This topic has been closed for replies.

5 replies

ST Technical Moderator
December 4, 2020

Hello @AShel.1​ ,

Thanks for pointing out this difference. I am checking it and I will come back to you with update.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
ST Technical Moderator
December 7, 2020

Hi @AShel.1​ ,

Please refer to the latest revision of RM0444 (Rev 5) and  AN2606 (Rev 46) which are available in the ST web site and contains update and correction.

0693W000006EpiGQAS.jpg 

All your feedback are welcome.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
AShel.1
AShel.1Author
Associate III
December 7, 2020

Thanks for taking prompt action, so with these options one cannot enter into system memory without modifying option bytes.

as default values in option byte does not fit into any of the above config combinations

I wanted to just control BOOT pin to enter into system memory and leave option bytes as default setting. please let me know if I can still achieve it some other way.

thanks,

ST Technical Moderator
December 8, 2020

The pattern is built depending on the boot table of the STM32. You can check on the Table 8. Boot modes (page 66) on the RM0444: It seems the scenario needed is not possible.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks