Hi @xsong
most likely, the SRAM is not initialized. These are typical symptoms.
From reference manual:
lukaszadrapa_0-1730957530912.png
You can find something like this in startup code:
lukaszadrapa_1-1730957548309.png
And the same for ITCM and DTCM memories... So, check how it is done in your bootloader.
Regards,
Lukas