cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G bootloader questions

Daewoong
Associate II

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.

1 REPLY 1
TDK
Guru

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

If you feel a post has answered your question, please click "Accept as Solution".