2020-12-03 09:52 PM
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).
My questions:
Thanks,
2020-12-04 02:20 PM
Hello @AShel.1 ,
Thanks for pointing out this difference. I am checking it and I will come back to you with update.
Imen
2020-12-07 03:46 AM
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.
All your feedback are welcome.
Imen
2020-12-07 04:05 AM
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,
2020-12-08 12:38 AM
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
2020-12-10 03:14 AM
Hello,
I've another observation, may be something wrong in board.
host controller is sTM32H573 which will update firmware of slave controllers interfaced on SPI one is sTM32G071 and is STM32G474, I'm using nucleo-g474re board
for sTM32g474 controller system memory boot configuration as per ref manual RM0440 Rev 4 pg no 89,
nBOOT1, nSWBOOT0 bits in option byte should be set to '1' and BOOT0 pin should be pulled high.
in reference manual RM0440 Rev 4 pg no 109 it is mentioned that default value of nSWBOOT0 bit is set to '1'. so no need to modify option byte to enable system memory boot.
I've tried reading option bytes of nucleo board(board is new) using STM32CubeProgrammer and it reads nSWBOOT0 as '0' if this is the case then again I'll have to modify option bytes to enable system memory boot. please check and provide your inputs.