Skip to main content
Visitor II
October 1, 2020
Question

STM32G bootloader questions

  • October 1, 2020
  • 1 reply
  • 655 views

I'm trying bootloader of nucleo STM32G474RE and faced several issues :

  1. It seems only 8bytes alignment is working for flash writing while AN2606 table.7 says it requires 4bytes alignment.
  2. In an2606 table.141, valid RAM area is from 0x20000000 to 0x20004000. I failed to write in this area while I succeeded to write from 0x20004000 to upper area.
  3. General question not limited to STM32G474RE. In an2606 table 141, there is a valid RAM area depending on PID. Is this not dependent to actual SRAM size ?

With 1 and 2, I think this is a typo of the manual.

Please kindly advise. Thanks in advance.

    This topic has been closed for replies.

    1 reply

    Super User
    October 1, 2020

    The bootloader needs some RAM to work with. Writing over that at 0x20000000 isn't going to work well. AN2606 should have details on how much RAM is used.

    0693W000004IOyCQAW.png